Hash Generator
Generate MD5, SHA-1, SHA-256 and SHA-512 hashes, in hex or Base64, with a compare mode.
Processed locally in your browser. Nothing you enter is uploaded or stored.
- MD5, SHA-1, SHA-256 and SHA-512 side by side from one input.
- SHA family via the browser's Web Crypto — real, spec-correct digests.
- Switch the output between hex and Base64 — some tools and package managers publish checksums in Base64.
- Paste a hash you were given and it's checked against all four digests at once, so you don't have to eyeball long hex strings.
- Runs in your browser; the text you hash is never uploaded.
Why this is private
- Processed locally in your browser. Nothing you enter is uploaded or stored.
- Open your browser's DevTools → Network tab while using this tool — you won't see a request carrying your input, because it never leaves your device.
- Nothing you enter is uploaded to a server or shared with us — the processing happens entirely on your device.
Overview
Computes common cryptographic hash digests of text — useful for checksums, cache keys and verifying data integrity. Display digests in hex or Base64, and paste a published hash to check it against every algorithm at once.
How to use it
- 1Type or paste text.
- 2MD5, SHA-1, SHA-256 and SHA-512 digests are computed and shown together.
- 3Toggle Hex/Base64 to change how digests are displayed.
- 4Paste a hash into the compare field to see which algorithm (if any) it matches — works with either hex or Base64 form, and tolerates a common sha256:/md5:/0x prefix.
- 5Click any digest to copy it.
Tips
- MD5 and SHA-1 are broken for security purposes (collisions are practical to generate) — use SHA-256 or SHA-512 for anything security-sensitive.
Frequently asked questions
What people use it for
Verify a download's checksumHash a text manifest, or paste a published checksum into the compare field to confirm it matches (use the File Hash Generator for files).
Build a stable cache keyHash a request's parameters into a fixed-length key.
Detect whether text changedCompare digests of two versions instead of diffing.
Generate a non-reversible identifierHash an email or ID for a lookup key that doesn't expose the value.
Related guides
- How to read JSON with a tree viewerA tree viewer turns a wall of brackets into a structure you can expand, search and copy paths from. Here's how to use one effectively.
- JSON parse errors explained: 'Unexpected token', 'Expected comma or brace', and the restWhat each common JSON error message actually means, the usual cause, and how to find the spot fast using line and column.
- How to format JSON (and actually understand the errors)JSON looks like a JavaScript object but follows stricter rules. Here's what those rules are and how to read the errors when they're broken.
Related tools
All developer toolsUUID GeneratorGenerate random UUID v4 or time-ordered UUID v7 identifiers in bulk.Base64 EncoderEncode text to standard or URL-safe Base64.Secure Password GeneratorGenerate strong, cryptographically random passwords or memorable word-based passphrases.JSON Viewer & FormatterView, format, validate, edit and beautify JSON with an interactive tree view, plus a shareable link.
Ready to use Hash Generator?
Hash Generator