Hash Generator (SHA-1, SHA-256, SHA-384, SHA-512)
Type or paste text to get its SHA-1, SHA-256, SHA-384 or SHA-512 hash as lowercase hex. Hashing happens in your browser with the Web Crypto API, so nothing is uploaded.
How to generate a hash
- Paste or type the text you want to hash.
- Choose an algorithm: SHA-1, SHA-256, SHA-384 or SHA-512.
- Copy the lowercase hex digest from the output.
Examples
SHA-256 of 'abc'
abc
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
Frequently asked questions
What is a hash?
A hash is a fixed-length fingerprint of your input. The same text always produces the same digest, and even a one-character change produces a completely different result.
What is the difference between SHA-256 and the others?
They are members of the SHA-2 family (plus older SHA-1) and differ mainly in output size: SHA-1 is 40 hex chars, SHA-256 is 64, SHA-384 is 96 and SHA-512 is 128. SHA-256 is the common default; longer digests give a wider security margin.
Can I reverse a hash back to the original text?
No. Hashing is one-way by design, so there is no decrypt step. People only recover short or common inputs by guessing and re-hashing candidates, which is why hashing is not encryption.
Why is there no MD5 option here?
This tool uses the browser Web Crypto API, which does not expose MD5, and MD5 is considered broken for security use. Prefer SHA-256 or stronger for anything that matters.
Is my text sent to a server?
No. The digest is computed locally in your browser using crypto.subtle, so your input never leaves your device.
Why does an empty input still show a hash?
Every byte sequence has a hash, including the empty one. The empty string has a well-known fixed digest for each algorithm, so seeing one is expected.
Related tools
Base64 Encode
Encode text to Base64 online. UTF-8 safe, handles emoji and accents, with an optional URL-safe (base64url) mode. Runs in your browser, nothing uploaded.
JSON Formatter
Format, validate and minify JSON online. Pretty-print with custom indentation, sort keys and catch syntax errors. Runs in your browser.
.env to JSON
Convert a .env file to JSON, or JSON back to .env. Parses KEY=value lines, comments, quotes and export. Runs entirely in your browser.
Aspect Ratio Calculator
Calculate aspect ratios fast. Enter a ratio like 16:9 and one dimension to get the other, or enter width and height to simplify the ratio.
Base58 Encoder
Encode and decode Base58 online with the Bitcoin alphabet. Convert text to Base58 or back, UTF-8 safe, no confusing 0 O I l. Runs in your browser.
Base64 Decode
Decode Base64 to plain text online. Paste a Base64 or base64url string and get instant UTF-8 output. Free, fast and runs in your browser.