Hash Generator
About this tool
Calculate a cryptographic checksum for text or files directly in your browser. Choose SHA-256 or SHA-512, copy the hexadecimal result, and compare it with a known checksum to confirm that a file has not changed.
How to use
- SHA-256 and SHA-512 algorithms
- Calculate a checksum for UTF-8 text instantly
- Calculate a checksum for local files with progress for large inputs
- Hex-encoded result output
- Cancel long-running file calculations
- Pick input type: Enter text or select a file from your device.
- Select algorithm: Choose SHA-256 (common) or SHA-512 (stronger).
- Copy result: Copy the hexadecimal result for comparison or logging.
Examples
- Check a downloaded file against a checksum provided by its publisher
- Compare whether two versions of a file are identical
- Create a hash for a document
- Prepare a value for testing HMAC input
Limitations
- Very large files are read fully into memory before the checksum is calculated
- Only SHA-256 and SHA-512 are available in this tool
- The entered text or selected file is processed directly in your browser and is not sent to a server.
FAQ
- SHA-256 vs SHA-512?
- SHA-256 is widely used and faster; SHA-512 produces a longer digest with a larger internal state.
- Is this the same as File Checksum tool?
- Hash Generator handles text and files; File Checksum focuses on files and shows read progress.
- Why is my file hash slow?
- Large files must be read entirely; progress indicates read status before digest completes.