Hash Generator
Hash text or any file to MD5, SHA-1, SHA-256, and SHA-512, and verify a checksum.
Source
Hashed live as you type. Nothing leaves your browser.
Case
Enter some text and its hashes will appear here.
How to generate or verify a hash online
Choose text or a file
Pick Text to hash what you type, or File to drop, browse, or paste a document, image, or archive and hash it over its raw bytes.
Read all four hashes
MD5, SHA-1, SHA-256, and SHA-512 digests appear together in hexadecimal the moment there is input, with no compute button to press.
Verify a checksum
Paste an expected value into Compare and the matching row is flagged with a check, so you can confirm a download arrived intact.
Copy what you need
Each row has its own copy button, or use Copy all to grab the four labelled hashes at once.
Why use this tool
Hash text or a whole file
Switch between typing text and dropping a file. A file is read and hashed over its raw bytes, so the result matches the checksum a download page publishes for that exact file.
Four algorithms in one pass
Every input is hashed with MD5, SHA-1, SHA-256, and SHA-512 simultaneously, so comparing digests never means re-running the tool.
Verify a download against its checksum
Paste a published checksum into the compare box and the digest that matches is highlighted, ignoring case, so a corrupted or tampered file stands out at a glance.
Automatic, no button to press
Text hashes update a moment after you stop typing and a dropped file hashes on the spot, with no compute step and no server round trip to wait on.
Lowercase or uppercase hex
One toggle re-cases every digest at once, useful when a legacy system or a spec insists on capital letters.
Hashes without the upload
The text and files you hash stay in the tab. Nothing is posted to a server, logged, or kept after you leave.
About this tool
This hash generator computes MD5, SHA-1, SHA-256, and SHA-512 digests, all at the same time, from one of two sources: text you type or paste, or a file you drop in. File hashing reads the whole file and digests its raw bytes, exactly what a download page means when it publishes a checksum. Everything is computed locally on your device, results appear as hexadecimal the moment there is input, and a toggle switches the whole set to uppercase.
The compare box turns the tool into a checksum verifier. Paste the value a project publishes next to a download and the digest that matches is flagged with a check, ignoring case, so you can confirm a file arrived intact and untampered before you run it. Because all four algorithms run on every input, you do not need to know which one produced a value in advance; match the length, 32 hex characters for MD5, 40 for SHA-1, 64 for SHA-256, 128 for SHA-512.
Typical jobs: verifying an installer or disk image against its published checksum, producing a checksum to publish next to your own download, comparing a string against a hash stored in a database or config file, and checking whether two files or two pieces of text differ. Since hashing runs entirely client-side, API keys, documents, or production data you drop in never travel anywhere. One caution worth repeating: MD5 and SHA-1 are fine for checksums but broken for security, and none of these algorithms is suitable for storing passwords. For random identifiers rather than content fingerprints, use the UUID generator; to make binary data printable rather than fingerprint it, see Base64 encode and decode. Hex values themselves can be translated with the number base converter.
Frequently asked questions
- Which hash algorithms are supported?
- The tool computes MD5, SHA-1, SHA-256, and SHA-512 at once, for either text you enter or a file you drop in. All four digests are computed directly in your browser, nothing is sent to a server to be hashed.
- Can I hash a file, not just text?
- Yes. Switch the source to File, then drop, browse, or paste a file of any type. It is read and hashed over its raw bytes, so the result matches the checksum a download page would publish for that exact file.
- How do I verify a file against a checksum?
- Hash the file, then paste the expected value into the Compare box. If it matches one of the digests, that row is flagged with a check. The comparison ignores case, so uppercase and lowercase checksums both work.
- Is my text or file uploaded anywhere?
- No. All hashing happens in your browser. The text and files you hash never leave your device, are never sent to a server, and are not stored or logged.
- Should I use MD5 or SHA-1 for security?
- No. MD5 and SHA-1 are broken for security purposes and are unsafe for passwords, signatures, or integrity against an attacker. They remain useful for non-security checksums and deduplication. For security use SHA-256 or SHA-512, and for passwords use a dedicated password hash like bcrypt, scrypt, or Argon2.
- Can I get uppercase hashes?
- Yes. Hashes are shown in lowercase hexadecimal by default, and a single toggle switches every value to uppercase for tools or formats that expect it.
Related tools
Number Base Converter
Convert a number between binary, octal, decimal, and hexadecimal, all four shown at once.
Unicode Character Inspector
See the code point, category, and UTF-8 and UTF-16 bytes of every character.
API Key Generator
Generate cryptographically random API keys and tokens in hex, base62, or base64url, with control over length, an optional prefix, and bulk output.
ASCII Table Reference
The full ASCII character set with decimal, hex, octal, binary, and HTML codes. Search by code, character, or name.
Atbash Cipher
Mirror the alphabet so A swaps with Z, B with Y, and so on. Atbash is its own inverse, so one field both encodes and decodes as you type.
Base32 Encoder and Decoder
Encode text to standard Base32 and decode Base32 back to text, following RFC 4648.