About this tool
Calculate modern text digests for development, fixtures, protocol checks, and reproducible comparisons without uploading the input.
Hash Generator calculates modern SHA-2 digests through Web Crypto and keeps collision-broken MD5 and SHA-1 behind a clearly labeled legacy option.
- Uses Web Crypto for SHA-256, SHA-384, and SHA-512.
- Switches between HEX and Base64 output with individual copy controls.
- Keeps collision-broken MD5 and SHA-1 behind an explicit Legacy option.
How to use Hash Generator
Paste text, choose HEX or Base64 output, then compare the exact algorithm and encoding before copying a result.
When this tool is useful
- When matching SHA-2 values across an API, log, fixture, or protocol example.
- When a legacy MD5 or SHA-1 value must be reproduced strictly for compatibility.
Practical tips
- Match text encoding and output encoding on both systems.
- Use File Checksum Verifier when the source is a file rather than text.
Examples you can test
Load an example, compare the result with the expected output, then replace it with your own input.
Generate a SHA-256 checksum
Example input
release-build-v1
Expected output
SHA-256 hash value
Checksums help compare whether two inputs are identical without exposing the original text.
Hash a sample payload
Example input
{"id":42,"status":"paid"}Expected output
MD5, SHA-1, or SHA-256 digest depending on the selected algorithm
Use modern algorithms like SHA-256 for integrity checks, not older hashes for security decisions.
Validation checklist
- Use the same encoding and line endings when comparing hashes.
- Prefer SHA-256 or stronger algorithms for integrity checks.
- Do not use a simple hash as password storage or encryption.
- Compare hashes only after confirming the source text has not been normalized differently.
- Record the algorithm name alongside the digest so future checks use the same method.