Hash Text
Generate SHA-1, SHA-256, SHA-384, and SHA-512 hashes for text directly in your browser.
Input
Maximum 200,000 characters. Hashing updates live and preserves spaces, tabs, and line breaks.
Output
Use cases
Common ways to use this tool:
- Verify webhook sample bodies
Hash pasted request bodies with SHA-256 or SHA-512 before comparing them with expected fixtures or documentation.
- Compare copied configs
Hash two pasted snippets separately to confirm whether content or formatting changed between versions.
- Document QA test vectors
Generate multiple digests for the same sample payload when writing reproducible bug reports or test notes.
- Diagnose whitespace differences
Hash text containing spaces, tabs, or line breaks to prove that the exact bytes are different.
- Share digest bundles
Copy the full SHA digest block into tickets, runbooks, or code review notes.
FAQ
- Does this hash my text locally, or is it uploaded?
- Hashing happens in your browser. Your text is not sent to a server by this app.
- Why does the hash change when I add a space or a new line?
- Hashes are calculated from the exact bytes of your text. Extra spaces, different line endings (LF vs CRLF), Unicode normalization differences, and even whitespace-only input all produce different digests.
- Which algorithms are available in this tool?
- This app outputs SHA-1, SHA-256, SHA-384, and SHA-512. SHA-256 is the best default for most integrity checks, while SHA-512 is useful when your workflow explicitly asks for it.
- Does this app support MD5?
- No. Hash Text focuses on the SHA family only. Use a dedicated legacy-hash tool if you specifically need MD5 for compatibility work.
- How do I compare two texts using hashes?
- Hash both texts with the same algorithm and compare the digests. If they match, the texts are very likely identical; if they differ, the texts are definitely different.
Help & instructions
How to use
- Paste or type the exact text you want to hash, including spaces or line breaks if they matter.
- The tool calculates SHA-1, SHA-256, SHA-384, and SHA-512 automatically as you type or paste.
- Copy the full digest block or clear the tool before checking another text.
Tips
- Hashing happens in your browser and this app does not upload your text to an app-specific server.
- Hashes use the exact bytes you enter, so whitespace-only input, line endings, and Unicode differences all change the result.
- Use Escape to close Help, and try a modern browser or clipboard permission if hashing or copy/paste fails.