Hash & Checksum Generator (MD5, SHA-256, SHA-512) — Free Online
Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes for text or local files 100% in your browser. Includes case toggle and instant checksum verification.
Hash Generator
How to Use This Tool
- 01 Choose Text Input to hash live UTF-8 text as you type, or switch to File Checksum to drag-and-drop or browse any local file from your device.
- 02 Select your preferred hexadecimal casing using the lowercase / UPPERCASE toggle in the top toolbar.
- 03 Review all five computed digests at once: MD5 (128-bit), SHA-1 (160-bit), SHA-256 (256-bit), SHA-384 (384-bit), and SHA-512 (512-bit).
- 04 Click Copy beside any individual algorithm or click the Royal Violet Copy All button in the output header to copy the full summary to your clipboard.
- 05 To verify file integrity, paste the official checksum from a release page into the Verify / Compare Expected Hash field—spaces, line breaks, and letter casing are normalized automatically.
- 06 Look for the emerald Match indicator showing exactly which algorithm matched, or the rose Mismatch warning if the bytes differ by even a single bit.
How It Works
Practical Examples
Empty String Standard Test Vector (0 Bytes)
"" (empty UTF-8 string, 0 B)
MD5: d41d8cd98f00b204e9800998ecf8427e | SHA-256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Even zero bytes produce well-known canonical checksums defined in RFC 1321 and FIPS 180-4, commonly used to verify tool correctness and detect empty files.
Hashing a Classic Pangram String
The quick brown fox jumps over the lazy dog
MD5: 9e107d9d372bb6826bd81d3542a419d6 | SHA-256: d7a8fbb307d7809469ca9abcb0082e4f8d5651e46d3cdb762d02d0bf37c9e592
Changing even the trailing punctuation (such as adding a period) completely alters every character of the resulting digests.
Verifying a Downloaded Software Checksum
Drop installer.zip + paste published SHA-256 in UPPERCASE with spaces
Match — Verified against SHA-256
The built-in verifier strips accidental whitespace and ignores uppercase/lowercase differences before comparing against all five computed algorithms.
Tips & Best Practices
- Use SHA-256 or SHA-512 for security integrity verification; keep MD5 and SHA-1 strictly for legacy compatibility or non-adversarial corruption checks because practical collision attacks exist against both.
- Never store user passwords using plain MD5 or bare SHA-256—always use dedicated slow, salted password-hashing functions such as Argon2id, scrypt, or bcrypt.
- Watch out for trailing newlines when hashing text: echo "hello" in a terminal appends a newline byte (\n) that changes the hash compared to the raw 5-byte string "hello".
- Use the built-in Verify / Compare field instead of eyeballing 64-character SHA-256 strings manually, as human eyes easily miss a single swapped hex digit.
- Remember that hashing is one-way—a checksum cannot be reversed back into the original file or message.
Frequently Asked Questions
Are my files or text ever uploaded to a server?
No. Every byte is hashed 100% locally in your browser using pure client-side MD5 and the native Web Crypto API. Even sensitive documents or private configuration files never leave your device.
Why does the tool compute both MD5/SHA-1 and SHA-256/SHA-512?
SHA-256 and SHA-512 are the modern cryptographic standards recommended for verifying downloads and data integrity, while MD5 and SHA-1 remain widely used in legacy software mirrors, S3 ETags, and older build pipelines.
Why is my text hash different from the sha256sum command in Linux/macOS?
Commands like echo "text" | sha256sum include a trailing newline character (\n). Use printf "%s" "text" | sha256sum to hash the exact characters without an extra line break.
Can I decrypt or reverse an MD5 or SHA-256 hash back to the original text?
No. Cryptographic hash functions are mathematically one-way compression functions. You can verify whether a candidate input produces the same digest, but you cannot mathematically invert a digest.
Does uppercase vs lowercase matter when comparing checksums?
No. Hexadecimal digests represent the exact same underlying bytes regardless of casing. Our verifier automatically ignores letter case and stray whitespace.
Is there a file size limit for File Checksum mode?
Because files are read into browser RAM locally, files up to 150 MB hash immediately, while files larger than 150 MB display a confirmation warning so you can decide whether to proceed on your device.
Related Tools
Password Generator
Generate cryptographically secure random passwords and memorable passphrases locally in your browser with real-time entropy bits, strength meter, and batch copy.
Video Metadata Remover
Remove GPS location, device model, timestamps and XMP from MP4, MOV and M4V videos with zero quality loss, instantly and privately in your browser.
Age Calculator
Calculate exact chronological age in years, months, days, weeks, and hours from any date of birth, with next birthday countdown, leap-year support, and calendar facts.
Base64 Encoder
Encode and decode UTF-8 text, JWT-ready URL-safe Base64, and files to Data URIs instantly in your browser with live validation and zero server uploads.