Hash Generator
Create SHA-1, SHA-256, SHA-384 or SHA-512 hashes of any text.
Hash (hex)
The lowercase hexadecimal digest will appear here.Hashing runs through the browser's own Web Crypto API. Your text is never uploaded, and a hash cannot be reversed back into the original text.
How to use Hash Generator
- 1Type or paste the text you want to hash.
- 2Pick an algorithm - SHA-256 is a good default.
- 3Press Generate Hash to create the digest.
- 4Copy Hash copies the hexadecimal result, and Clear empties the tool.
Frequently asked questions
Is SHA-1 safe to use?
Not for anything security related. SHA-1 is offered for legacy checksums - use SHA-256 or stronger for new work.
Does my text leave the browser?
No. Hashing runs through the Web Crypto API built into your browser, so nothing is uploaded.
Related tools
More developer tools you might find useful.
JSON Formatter
Format or minify JSON with 2 or 4 space indentation and clear error positions.
Open toolJSON Validator
Check whether JSON is valid and see the exact line and column of any error.
Open toolBase64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to text, with full Unicode support.
Open toolUUID Generator
Generate cryptographically secure version 4 UUIDs, one or a hundred at a time.
Open toolJWT Decoder
Read the header and payload of a JWT and check its expiry - decoding only.
Open toolRegex Tester
Test a regular expression against your text and see every match and capture group.
Open toolCSS Gradient Generator
Build linear or radial CSS gradients with a live preview and ready-to-use code.
Open toolCSS Box Shadow Generator
Design a box shadow visually and copy the finished CSS.
Open toolHTML Minifier
Safely shrink HTML by removing comments and redundant whitespace.
Open toolURL Encoder / Decoder
Encode or decode URLs and query values, including Hebrew and special characters.
Open toolTimestamp Converter
Convert Unix timestamps to readable dates, in seconds or milliseconds.
Open toolJSON to CSV Converter
Turn an array of JSON objects into a CSV table with a header row.
Open toolCSV to JSON Converter
Convert CSV rows into an array of JSON objects, using the first row as keys.
Open toolSQL Formatter
Format and indent SQL queries with keywords highlighted.
Open toolHTML Entity Encoder / Decoder
Escape text into HTML entities or decode named and numeric entities.
Open toolJavaScript Minifier
Shrink JavaScript with Terser and see exactly how much smaller it got.
Open toolCSS Minifier
Shrink a stylesheet safely and see the bytes you saved.
Open toolMarkdown Previewer
Write Markdown and watch it render live, with tables and code blocks.
Open toolCron Expression Generator
Build a 5-field cron expression and read what it means in plain English.
Open tool