Hash generator
Generate MD5, SHA-1, SHA-256 and SHA-512 hashes from any text. Free, private — nothing leaves your browser.
Everything you need to hash text
Four algorithms at once
MD5, SHA-1, SHA-256 and SHA-512 side by side, no dropdown to switch.
Live as you type
Hashes update on every keystroke, with no button to press.
100% private
Hashing runs in your browser. Your text is never uploaded.
One-click copy
Copy any hash on its own, in lowercase or uppercase.
Generate a hash in three steps
- 1
Type or paste your text
Enter any text in the box. There is no length limit beyond what your browser can hold.
- 2
Read the hashes
MD5, SHA-1, SHA-256 and SHA-512 all appear at once and update as you type.
- 3
Copy the one you need
Use the copy button next to a hash, or toggle Uppercase first if your system expects capital letters.
Built for developers and anyone checking a value
A hash turns any text into a fixed-length fingerprint. The same input always gives the same hash, and a tiny change gives a completely different one.
Checking a known value
Compare a string's hash against the one in documentation, a config or a test fixture.
Cache and dedupe keys
Generate a short, stable key from a longer string for caches and lookups.
Debugging an integration
Confirm what your code should be producing when a hash or signature doesn't match.
API signing checks
Sanity-check the digest step of a signing scheme before you wire up the rest.
Frequently asked questions
Which hash algorithms does this support?
+
MD5, SHA-1, SHA-256 and SHA-512. SHA-1, SHA-256 and SHA-512 use your browser's built-in crypto.subtle API. MD5 is not part of that API, so it is computed by a small built-in routine.
Is my text uploaded anywhere?
+
No. Every hash is calculated in your browser. Nothing you type is sent to a server or logged.
Is MD5 still safe to use?
+
Not for security. MD5 and SHA-1 have known collision attacks, so don't use them for passwords or signatures. They are still fine for checksums and cache keys where nobody is trying to forge a match. Use SHA-256 or SHA-512 when security matters.
Can a hash be reversed back to the original text?
+
No. A hash is one-way. Short or common inputs can be guessed by hashing candidates and comparing, which is why passwords need a salted, slow hash such as bcrypt or Argon2 rather than a plain SHA or MD5.
Why does my hash differ from another tool's?
+
Usually a hidden difference in the input: a trailing newline, different line endings (CRLF vs LF), or a different text encoding. This tool hashes your text as UTF-8 exactly as typed.
How long is each hash?
+
MD5 is 32 hex characters, SHA-1 is 40, SHA-256 is 64 and SHA-512 is 128.
Generate a hash now
Free, no account needed.