Hash Generator
Generate SHA-256, SHA-1, SHA-512 hashes.
Overview
Generates a hash of your text using SHA-256, SHA-1, or SHA-512. Hashes are used for checksums, verifying that data has not changed, and as building blocks in many systems. It runs in your browser, so your input is never uploaded.
How it works
A hash function turns any input into a fixed-length string of characters. The same input always produces the same hash, and even a tiny change to the input produces a completely different result. Hashing is one-way: you cannot reverse a hash back into the original text. The tool computes the hash locally, so your data stays on your device. Note that SHA-1 is fine for checksums but is no longer considered secure for protecting passwords or signatures, where SHA-256 or SHA-512 is the modern choice.
How to use it
- Paste the text you want to hash.
- Choose the algorithm (such as SHA-256).
- Read the resulting hash.
- Copy it to compare against a known value or to store.
Examples
Checksum
Hash a file's contents or a string and compare it against a published value to confirm nothing was altered.
Consistency
Hash the same input twice to see that it always produces an identical result.
FAQ
Can I reverse a hash to get the original?
What is a hash used for?
Why does a small change produce a totally different hash?
Which algorithm should I use?
Is my data sent anywhere?
Related tools
JSON Formatter
Format, validate, beautify, and minify JSON.
Open toolBase64 Encoder and Decoder
Encode text to Base64 or decode it back.
Open toolPassword Generator
Generate strong random passwords with length and character options.
Open toolUUID Generator
Generate v4 UUIDs in bulk.
Open toolURL Encoder and Decoder
URL-encode or decode percent-encoded strings.
Open toolEmbed this tool
Paste this snippet to put the tool on your own site. It runs entirely in the visitor's browser, the same as it does here.