Hash Generator (SHA-1, SHA-256, SHA-512)
Calculate SHA-1, SHA-256, SHA-384 and SHA-512 digests of text or an uploaded file using the browser SubtleCrypto API, with hex and base64 output.
- Runs in your browser
- Accepts: text, any file
- Produces: hex digest, base64 digest
- Free · No sign-up
Loading the tool…
How to use hash generator (sha-1, sha-256, sha-512)
- Type text or drop a file.
- Choose the algorithm.
- Copy the digest.
Practical examples
Verifying a downloaded file
Hash the file and compare it with the SHA-256 checksum published by the vendor. A single differing character produces a completely different digest.
Limitations to know about
- MD5 and SHA-1 are cryptographically broken and are offered only for legacy verification, never for security.
- Web Crypto is unavailable on insecure pages; every Roxie page is served over HTTPS so this does not apply in production.
Privacy
This tool processes everything inside your browser. Nothing you paste or upload is transmitted to Roxie Tools or to any third party, and no copy of your input is stored. Closing the tab clears it.
See the privacy policy for how this site handles data.
Frequently asked questions
Why is MD5 marked as unsafe?
Practical collisions can be produced for MD5 in seconds. Use SHA-256 for anything security related.
Related tools
All developer tools JWT Decoder Read JWT header, payload and expiry without sending the token.
Open tool
Base64 Encoder and Decoder Encode text to base64 or decode it back, UTF-8 safe.
Open tool
UUID Generator Generate cryptographically random v4 UUIDs in bulk.
Open tool
JSON Formatter and Validator Format, validate and minify JSON with clear error positions.
Open tool
Version 1.0.0 · Last updated 2026-12-06 · Processing: local browser