SHA Hash Generator
Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text using the browser Web Crypto API. Nothing you type is uploaded.
Runs on your device
Result
What it does
Hashes let you compare values without revealing them and check that text has not changed. This tool hashes the UTF-8 bytes of your input with the browser’s built in, audited Web Crypto implementation.
How to use it
- Type or paste text.
- All four digests are calculated as you type.
- Copy the hex digest you need.
Example
SHA-256 of "abc" is ba7816bf…f20015ad, the standard NIST test vector. Select Try an example above to see it.
When it helps
- Checking a value against a published checksum.
- Creating stable cache keys.
- Teaching how small changes alter a digest.
Questions
Should I hash passwords with SHA-256?
No. Password storage needs a slow, salted algorithm such as Argon2id or bcrypt. SHA hashes are fast by design.
Why is MD5 not offered?
MD5 is broken for collision resistance and is not part of Web Crypto. SHA-256 is the sensible default.
Is SHA-1 safe?
Not for signatures or security decisions; collisions have been demonstrated. It is included for compatibility checks only.
More developer tools
See all 25- Regex Tester Test JavaScript regular expressions against sample text and list every match with its position and capture groups.
- Unix Timestamp Converter Convert Unix timestamps in seconds or milliseconds to ISO 8601, UTC and local time, or turn a date string back into a timestamp.
- JSON to CSV Converter Convert a JSON array of objects into a CSV file. Nested objects become dot notation columns and formula like cells are neutralised for spreadsheets.
- CSV to JSON Converter Parse CSV (quoted fields, embedded commas and line breaks included) into a JSON array, using the header row as keys and optional type inference.
- HTML Entity Encoder & Decoder Escape text for safe use inside HTML, encode every non-ASCII character as a numeric entity, or decode named and numeric entities back to text.
- Diff Checker Compare two texts line by line and see exactly which lines were added or removed, with an option to ignore whitespace changes.
People also use
Browse all 200 tools- Photo Collage Maker Combine up to 16 photos into a neat grid collage with your choice of columns, spacing and background colour, then download it as JPG. Media & files
- Lorem Ipsum Generator Generate lorem ipsum placeholder text by paragraphs, sentences or words, optionally starting with the classic "Lorem ipsum dolor sit amet". Text & writing
- ROI & Annualised Return Calculator Calculate return on investment and, if you enter the holding period, the annualised return (CAGR) so investments of different lengths compare fairly. Business
- Online Guitar Tuner Tune a guitar, bass, ukulele or violin with your microphone. Shows the detected note and how many cents sharp or flat you are. Device tests