Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes from text or a file — all at once. Hex or Base64, with a checksum compare to verify a download.
Nothing saved yet. Your recent inputs appear here — stored only in this browser, never uploaded.
Your data never leaves your browser
This tool runs entirely in your browser. There is no upload endpoint on this page — your input is processed locally with native browser APIs, and nothing is sent to a server or logged. Open your browser's network panel and check: the only request is the page itself.
How it works
Three steps, no surprises
Add text or a file
Type or paste text, or drop in a file. Every hash recalculates instantly as you go — nothing is uploaded.
Pick the output
See MD5 through SHA-512 side by side. Switch between hexadecimal and Base64, or uppercase the hex to match what a system expects.
Copy or verify
Copy any single hash or all of them, or paste a published checksum into “Compare with” and the matching algorithm lights up.
FAQ
Hash Generator (MD5/SHA) questions, answered
What is a hash function?
A hash function takes any input — a word, a paragraph or a whole file — and produces a fixed-length “fingerprint” of it, written as hexadecimal. The same input always gives the same hash, but the tiniest change to the input produces a completely different one. Hashes are one-way: you cannot work backwards from the fingerprint to the original data. They are used to verify downloads (checksums), store passwords safely, deduplicate files and check that data has not been tampered with in transit.
What’s the difference between MD5, SHA-1 and SHA-256?
They differ in output size and cryptographic strength. MD5 produces a 128-bit (32-character) hash and SHA-1 a 160-bit one; both are fast but broken for security use, as researchers can deliberately create collisions. The SHA-2 family — SHA-256, SHA-384 and SHA-512 — produces longer hashes (256, 384 and 512 bits) and has no known practical collision attacks, so it is the right choice for anything security-related. This tool shows all of them side by side so you can pick the one a system expects.
Are MD5 and SHA-1 still safe to use?
Not for security. Both have practical collision attacks, meaning an attacker can craft two different inputs with the same hash, so they must never be used for signatures, certificates or password storage. They are still perfectly fine for non-adversarial jobs like a quick file checksum, cache keys or detecting accidental corruption. When security matters, use SHA-256 or stronger — and for passwords specifically, use a dedicated password hash such as bcrypt or Argon2 rather than a plain SHA.
Can I reverse a hash to get the original text back?
No. Hashing is a one-way operation — the output contains no recoverable copy of the input, and many inputs map to each hash, so there is nothing to “decode”. Sites that claim to reverse a hash are really just looking the value up in a precomputed table of common inputs (a rainbow table); they only work for weak, unsalted hashes of guessable values. This tool only generates hashes; it does not and cannot reverse them.
Are my text or files uploaded to a server?
No. SHA-1, SHA-256, SHA-384 and SHA-512 are computed with the browser’s built-in Web Crypto API, and MD5 runs in a small piece of JavaScript on the page. Files are read locally with the File API and never leave your device — you can confirm this by watching your browser’s network panel while you hash a file. The share link carries only your text input in the URL fragment, which is never sent to a server.
How do I verify a file’s checksum?
Switch to File mode and drop in the downloaded file, then paste the checksum the publisher provided into the “Compare with” box. The tool computes every hash locally and highlights the row that matches, so you can confirm at a glance that the SHA-256 (or MD5) of your copy is identical to the official one. A match means the file downloaded intact and has not been altered; no match means you should download it again from a trusted source.
Other free developer tools
Every one runs in your browser. No signup, no upload, no ads.
Need help with your website's SEO?
Book a free consultation with our London team.
Book a Free Consultation