Generate SHA hashes
Compute SHA-1, SHA-256, SHA-384 and SHA-512 for text or a file, using your browser's own crypto engine. Nothing is uploaded.
- Free, no account
- Nothing is uploaded
- Runs in your browser
How it works
- 1 What goes in Text
- 2 It runs in your browser On your own device. Nothing is uploaded, there is no queue and no account, and it keeps working with the network switched off.
- 3 What comes back Its SHA-1, SHA-256, SHA-384 and SHA-512
What it does
Paste text or pick a file and get all four SHA digests at once, computed by the browser's built-in crypto engine. Useful for checking a download against a published checksum without handing the file to anyone.
This page does the work itself. Your data is handled by the browser and never sent anywhere — there is no server here to send it to.
Questions
Why is there no MD5?
Because the browser's crypto engine deliberately does not implement it: MD5 is broken for anything security-related, and collisions can be produced on a laptop. Shipping a hand-rolled MD5 beside real hashes would invite someone to use it for the wrong job. If you need it for a legacy checksum, use a tool that says out loud what it is for.
Can I verify a downloaded file with this?
Yes, and it is the best use of the page. Pick the file, compare the SHA-256 against the one the publisher lists. Because the hashing happens in your browser, a several-hundred-megabyte file never leaves your machine.
Which one should I use?
SHA-256 unless something specifies otherwise. SHA-1 is here because old systems still publish it, but it has been considered broken for collision resistance since 2017 and should not be chosen for anything new.
More developer tools
-
Developer
Text ⇄ binary
Translate text to binary, hex or octal and back again, in UTF-8.
-
Developer
Base64
Encode text or a file to Base64 and decode it back, with URL-safe output and data URIs.
-
Developer
Unix time
Convert Unix time to a date and back, in UTC and your own timezone at once, with seconds and milliseconds.
-
Developer
URL encode
Percent-encode a URL or a single value and decode it back, with the encodeURI and encodeURIComponent distinction made explicit.
-
Developer
UUID
Generate v4 random or v7 time-ordered UUIDs in bulk, from your browser's cryptographic random source.
-
Developer
JWT decoder
Read a JWT's header and payload, with expiry checked against the clock.
-
Developer
Regex tester
Test a JavaScript regular expression against your own text, see every match and capture group, and read the pattern back in plain English.
-
Developer
Cron expressions
Turn a cron expression into plain English and see its next five run times, in your own timezone and in UTC.
-
Developer
cURL converter
Paste a curl command and get it back as JavaScript fetch, Python requests and a raw HTTP request.