SHA is a cryptographic hash function that converts text to a fixed-length hex string.
Your everyday toolkit
Developer ToolsSHA Hash Generator
Generate SHA-1, SHA-256 and SHA-512 cryptographic hashes from text. Uses the built-in Web Crypto API — nothing is sent to any server.
Algorithm
Using SHA Hash Generator well
Compute a SHA digest of UTF-8 text to compare content in a reproducible workflow.
Example to try
Hash 'abc' with SHA-256 and compare with the published test vector. Add a newline to observe that even invisible input changes alter the digest.
What to check before relying on the result
Hashing is not encryption and cannot recover the original text. SHA-1 is a legacy option; raw SHA hashes are not suitable password-storage algorithms. Input whitespace is significant.
How to use SHA Hash Generator
View largerReal workspace previewA preview of the actual tool workspace
YOU’RE EXPLORING
Enter your text
A few steps.
A whole new result.
Frequently Asked Questions
The useful details, before you get started.
No, hashing runs entirely in your browser using the Web Crypto API.
Choose any question to see the details.
