Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-512 hashes from text. Batch multiple inputs, copy results, history of last 10. 100% offline via Web Crypto + custom MD5.
About this tool
A focused hash generator that turns any text into a digest across four algorithms: MD5, SHA-1, SHA-256, and SHA-512. Type or paste into the input, tap Hash, and the four digests appear instantly. The first three (SHA family) run through the browser Web Crypto API, MD5 uses an inline RFC 1321 implementation (~50 lines of pure JS) so the whole tool needs zero network access. The Batch tab takes one input per line and hashes each independently — paste a list of tokens, secrets, or filenames and copy the entire set as `input<TAB>hash` rows. The History card keeps the last 10 single-mode runs with a one-tap reload. Each hash block has its own copy button and is also click-to-copy. Uppercase toggle applies to all four outputs. Works fully offline, no CDN.
Details
- Category
- developer
- Version
- 1.0.0
- Size
- 15 KB
- Updated
- Jun 2026
Frequently Asked Questions
Which algorithms are supported?
MD5 (128-bit, 32 hex chars), SHA-1 (160-bit, 40 hex chars), SHA-256 (256-bit, 64 hex chars), and SHA-512 (512-bit, 128 hex chars). The three SHA-family digests use the browser Web Crypto API, so they are cryptographically identical to openssl/openssl dgst, sha1sum, sha256sum, and shasum. MD5 uses a custom pure-JS RFC 1321 implementation and produces bit-identical output to the PHP md5() function and the Linux md5sum binary.
Is this cryptographically secure?
SHA-256 and SHA-512 are secure and recommended for password storage, file integrity verification, and digital signatures. SHA-1 is no longer collision-resistant and should not be used for new cryptographic designs. MD5 is broken for collision resistance and should be used only for legacy compatibility, file deduplication, or non-security checksums. The tool itself runs locally — your input is never sent to any server.
Why does the tool run offline?
SHA-1/256/512 use the browser SubtleCrypto API which is built into the JS runtime. MD5 is not part of Web Crypto (because it is considered insecure), so a compact ~50-line RFC 1321 implementation is bundled inline in the HTML. Together this means the page does a single static file fetch and then works forever, even on a plane or behind a firewall.
How do I hash a file?
Open the file in any text editor, select all, copy, paste into the input. For binary files, use the SHA-256/512 mode via SubtleCrypto in your own script — the tool is designed for text. The Batch tab accepts one string per line; for file lists, paste one path per line and hash each path string (it is a hash of the path, not of the file content).
Is my data private?
Yes. Hash generation is fully client-side JavaScript. There are no network calls, no telemetry, no logs. The history of last 10 hashes is kept in memory only — refresh the page and it is gone. Use it for production tokens and passwords without worry.