Text is encoded as UTF-8 before hashing.
Hashes
—
—
—
—
—
MD5 and SHA-1 are fine for checksums but are broken for security — use SHA-256 or better for anything sensitive.
A hash function turns any input into a fixed-length fingerprint. Use it to verify downloads, compare files or generate checksums — all five common algorithms at once.
How to use the Hash Generator
- 1 Type text, or switch to File and drop a file (up to 200 MB).
- 2 All hashes are calculated instantly in your browser.
- 3 Paste a published checksum into the compare box to verify a match.
Worked examples
Input: hello world
Result: SHA-256: b94d27b9…cde9
MD5: 5eb63bbbe01eeed093cb22bb8f5acdc3
Which algorithm should I use?
- SHA-256 / SHA-512 — secure, standard choices for integrity checks and signatures.
- SHA-1 — broken for collision resistance since 2017; use only for legacy compatibility.
- MD5 — fast but broken; fine for non-security checksums and cache keys.
Hashing is not encryption
Hashes are one-way: you cannot recover the input from the hash. For storing passwords, use a slow, salted algorithm such as bcrypt or Argon2 — never a plain fast hash.
Runs locally
Everything happens in your browser — nothing you paste is uploaded or logged, so it is safe to use with API responses, tokens and internal data.
Frequently asked questions
How do I verify a file download?
Choose File, drop the download, and paste the publisher's checksum into the compare box. A green match confirms the file is intact.
Why does an extra space change the hash completely?
Good hash functions have an "avalanche effect": any change to the input produces a completely different output.
Are files uploaded?
No. Files are read and hashed locally by your browser.
Related tools
JSON Formatter & Validator
Format, beautify, minify and validate JSON with syntax highlighting, key sorting and precise error locations.
Base64 Encoder
Encode text to Base64 (UTF-8 safe), with URL-safe and MIME line-wrapping options.
Base64 Decoder
Decode Base64 and URL-safe Base64 back to UTF-8 text, with clear errors for invalid input.
URL Encoder / Decoder
Percent-encode or decode URLs and query parameters, as a component or a full URI.
HTML Entity Encoder / Decoder
HTML entity encoder and decoder: escape special characters to entities, or decode named and numeric entities back to text.
Regex Tester
Regex tester for JavaScript regular expressions: live match highlighting, capture groups and replace preview.