Hash Generator
Generate MD5, SHA1, SHA256 and other hashes.
How to Use Hash Generator
Type or paste the text to hash into the input box, keeping in mind that newlines are included as typed.
Select the algorithm from the dropdown: MD5, SHA-1, SHA-224, SHA-256, SHA-384, or SHA-512.
Click the "Process" button to compute the digest and choose uppercase or lowercase hex output.
Copy the hash for an ETag, a cache-busting filename, or a checksum comparison.
Features
Frequently Asked Questions
Related Tools
JSON Formatter
Format and beautify JSON data with proper indentation.
JSON Validator
Validate JSON data and find syntax errors.
JSON Minifier
Minify JSON by removing whitespace and formatting.
HTML Formatter
Format and beautify HTML code.
HTML Minifier
Minify HTML code to reduce file size.
CSS Formatter
Format and beautify CSS code.
About Hash Generator
A hash function turns any amount of input into a fixed-length digest that looks nothing like the original. The same input always produces the same output, and no practical way exists to work backwards from the digest to the text. That combination is what makes hashes useful for checksums, content-addressed filenames, cache keys, and signature verification.
This tool offers six algorithms in one place: MD5 for legacy compatibility, SHA-1 which is now considered broken for security purposes, and the SHA-2 family of SHA-224, SHA-256, SHA-384, and SHA-512. Each produces a digest of a predictable length, which the tool displays so you can confirm you copied every character.
Digest length is not a measure of security on its own, but it is a useful sanity check. If your expected SHA-256 is 40 characters, you have the wrong algorithm or a truncated value. Input is handled as UTF-8, including empty strings, whitespace-only values, emoji, and multi-line text, so the output matches what PHP hash(), Python hashlib, and the command-line sha256sum would produce for the same bytes.
When to Use This Tool
- Computing an ETag or content fingerprint for HTTP caching
- Verifying that a downloaded installer matches its published checksum
- Generating a cache-busting filename from a build artefact
- Checking an API webhook signature payload that uses a hex digest
- Reproducing a hash a colleague generated on a different platform