Compute a SHA-256 hash with the Web Crypto API, in hexadecimal, Base64 and colon-separated forms.
SHA-1 Hasher for Compatibility
Compute a SHA-1 hash for legacy compatibility, with a clear statement of why SHA-1 is deprecated.
- Free
- No sign-up
- Runs in your browser
Input
0 characters
Processed entirely in your browser. Nothing is uploaded.
Try an example
Fill in Text to hash to continue.
Enter your input to see the result
Everything happens on this device. No upload, no account, no network request.
How to use this tool
- 1
Paste the text. The digest appears in hexadecimal, with uppercase, colon-separated and Base64 forms alongside.
- 2
The input is hashed as UTF-8 bytes. A checksum mismatch is usually a line-ending or encoding difference rather than a corrupted file.
Questions about SHA-1 Hasher for Compatibility
Should I be using SHA-1 at all?
Only to interoperate with something that already requires it. SHA-1 is broken: the SHAttered attack produced a real collision in 2017, and chosen-prefix collisions followed in 2020. It remains in use for git object addressing and some legacy checksums, which is why it is offered here. Never use it for signatures or passwords.
Does git being built on SHA-1 mean it is insecure?
Less than it sounds. Git uses SHA-1 for content addressing rather than as a security boundary, and it added collision detection in 2017 that rejects the known attack patterns. Git is also migrating to SHA-256. Still, do not treat a git hash as proof of authenticity - sign your commits for that.
Is my data sent anywhere?
No. This tool runs as JavaScript inside your browser tab. There is no network request carrying your input, nothing is written to a server log, and it keeps working with your connection switched off. You can confirm it in the browser’s network panel. That matters more here than elsewhere on the site: developer tools handle tokens, keys and production data.
Does the SHA-1 Hasher for Compatibility work offline?
Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the SHA-1 Hasher for Compatibility keeps working with the network switched off and nothing is ever sent to a server.
Is anything I enter into the SHA-1 Hasher for Compatibility uploaded or stored?
No. The SHA-1 Hasher for Compatibility runs in your browser, so whatever you type or paste never leaves your device — there is no server round-trip, nothing is logged, and there is nothing to delete afterwards.
Related tools
Other tools you might reach for next.
Compute a SHA-512 hash with the Web Crypto API, producing a 64-byte digest.
Compute an MD5 checksum for legacy compatibility, with a clear statement that MD5 is cryptographically broken.
Compute an HMAC with SHA-1, SHA-256, SHA-384 or SHA-512 using a text or hex key, in your browser.
Format and indent JSON, with optional alphabetical key sorting and a precise syntax error when it will not parse.
Strip every byte of insignificant whitespace from JSON and report the saving.
Check that JSON is syntactically valid, report its structure, and flag duplicate keys that JSON.parse accepts silently.
Compare two JSON documents structurally, by path, distinguishing a type change from a value change.