JSON Formatter
JSON Formatter for developers — instant, offline-style and privacy-safe.
Hash any text with five algorithms at once — MD5, SHA-1, SHA-256, SHA-384 and SHA-512 — computed live in your browser, with honest notes on which are safe for what.
Your browser is preparing the tool. It runs 100% locally.
Type text and the tool shows its MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes at once, as hexadecimal, updating live. Hashing is one-way — you cannot turn a hash back into the text. One honest caveat: MD5 and SHA-1 are cryptographically broken and should not be used for security; the SHA-256 family is fine for integrity checks. None of these are suitable for storing passwords. It runs entirely in your browser.
Paste or type a string and you get five hashes side by side — a short MD5, a SHA-1, and the longer SHA-256, SHA-384 and SHA-512 — each a fixed-length hexadecimal fingerprint of your input. Change one character and every hash changes completely.
A hash is a one-way fingerprint: the same input always gives the same output, but you cannot reverse it to recover the text. That makes hashes useful for checking that data has not changed, comparing files, or deduplicating — not for hiding data, which is what encryption does.
The SHA hashes are computed with the browser's built-in Web Crypto digest function; the MD5 is computed by a small bundled implementation, since browsers no longer offer MD5 natively. Your text is read as UTF-8 bytes first, so accented and non-Latin characters hash consistently.
Each algorithm produces a fixed length regardless of input size: MD5 is 32 hex digits, SHA-1 is 40, SHA-256 is 64, SHA-384 is 96 and SHA-512 is 128. The output is deterministic — identical input always yields identical hashes — which is exactly what lets two parties compare a hash to confirm they hold the same data.
MD5 → 32
SHA-1 → 40
SHA-256 → 64
SHA-384 → 96
SHA-512 → 128Each algorithm always outputs the same length, whatever the input size. The same input always gives the same hash.
All hashing happens in your browser; the text you type is never uploaded. You can hash sensitive values without them leaving your device.
A hash is one-way, but it is not a secret store. Identical inputs produce identical hashes, so a short or common input can be matched against precomputed tables — never treat a plain hash of a password or secret as protection.
| Algorithms | MD5, SHA-1, SHA-256, SHA-384, SHA-512 |
|---|---|
| SHA method | Web Crypto (browser built-in) |
| MD5 method | bundled implementation |
| Input | read as UTF-8 |
| Output | lowercase hexadecimal, fixed length |
| Direction | one-way (cannot be reversed) |
| Where it runs | In your browser — nothing uploaded |
MD5 and SHA-1 are cryptographically broken. Attackers can craft two different inputs with the same MD5 or SHA-1 hash, so do not use them for digital signatures, certificates or anything security-sensitive. They are still fine for non-security uses like a quick checksum or cache key.
Do not use any of these to store passwords. They are fast by design, so a leaked database of fast hashes can be cracked at billions of guesses per second. Passwords need a deliberately slow, salted algorithm — bcrypt, scrypt or Argon2.
Hashing is not encryption. There is no key and no way to reverse a hash back to the text; if you need to recover the original, you need encryption, not hashing.
These are plain hashes, not keyed (HMAC) or salted. For verifying a message came from a known party you would use HMAC; for passwords you would add a unique salt. This tool gives the raw digest only.
The result is deterministic and sensitive to the exact input. Even an invisible difference — a trailing space or a different line ending — changes every hash, which is the point: it makes tampering obvious, but also means inputs must match exactly to match hashes.
Compare a hash to confirm data downloaded or copied without changing.
Use a hash as a fingerprint to spot identical content.
Turn a long input into a fixed-length key for caching or lookup.
Verify a value against a published MD5 or SHA checksum.
Storing passwords? Use bcrypt, scrypt or Argon2 with a unique salt. Need to hide data so it can be recovered? Use encryption. Verifying a message's sender? Use an HMAC with a shared key.
Computes MD5 (bundled) and SHA-1/256/384/512 (Web Crypto) over your UTF-8 text, in your browser; it states plainly that MD5 and SHA-1 are broken for security, that none of these fast hashes should store passwords (use bcrypt/scrypt/Argon2), and that hashing is one-way, not encryption.
JSON Formatter for developers — instant, offline-style and privacy-safe.
JSON Validator for developers — instant, offline-style and privacy-safe.
Base64 Encoder for developers — instant, offline-style and privacy-safe.
Fast, free UUID Generator that runs entirely client-side in your browser.
Fast, free CSS Minifier that runs entirely client-side in your browser.
Regex Tester online: paste, process and copy without your data hitting a server.
It is free, private and runs entirely in your browser — no sign-up, no uploads, no limits.