1. What does this tool do
This free online hash generator computes SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text (or file input if supported). Use it for SHA-256 generator, checksum, or hash calculator for integrity checks and verification. Paste or type input and get the hash instantly—no sign-up, no upload. All hashing runs in your browser so your data stays private. Ideal for checksums, integrity checks, learning how hashes work, or APIs.
2. How to use it
Quick start: Paste or type your input (or select a file), choose algorithm (SHA-1, SHA-256, etc.), then view and copy the hash. Use the same input elsewhere to compare and verify.
- Enter or paste input — Type text or paste a string. If the tool supports files, select a file to hash its contents.
- Choose algorithm — Select SHA-1, SHA-256, SHA-384, or SHA-512 (or leave default to see all).
- View hash — The hash(es) appear as hex strings. Copy the one you need.
- Compare — Use the same input elsewhere and compare hashes to verify integrity.
3. How it works
The tool uses the Web Crypto API (or a JavaScript crypto library) to compute the hash of the input encoded as UTF-8 (or raw bytes for file input). The result is displayed as a hexadecimal string. No data is sent to a server; all computation is client-side in your browser. No data is sent to any server.
4. Use cases & examples
- Checksums — Verify that a string or file matches an expected hash (e.g. SHA-256 from a download page).
- Passwords — Hash a password for comparison (use proper password hashing in real apps; this tool is for learning or non-password use).
- Integrity — Quick hash of config or payload before and after a change.
- APIs — Generate a hash for signing or verification if your API expects one.
Example
- Input "hello" → SHA-256: hex string (use the tool for exact output).
- Same input always gives the same hash; one character change changes the hash completely.
5. Limitations & known constraints
- Not for passwords — SHA-256 etc. are not password hashing algorithms. Use bcrypt, scrypt, or Argon2 for storing passwords.
- Browser support — Web Crypto must be available; very old browsers may not support all algorithms.
- File size — Large files may take a while or hit memory limits; use reasonable sizes.