Hash Generator
Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text. Uses your browser's built-in Web Crypto API - your text never leaves this page.
Hash FAQ
- What is a hash?
- A fixed-length fingerprint of your input. The same text always produces the same hash, a one-character change produces a completely different one, and it is impossible to reverse a hash back into the original text.
- Which algorithm should I use?
- SHA-256 is the modern default for checksums, integrity checks and API signatures. SHA-512 is faster on 64-bit machines and gives more margin. SHA-1 exists only for compatibility with old systems - it is broken for security purposes. MD5 is not offered here because it is fast to collide deliberately; use it only to match an existing legacy system.
- Why do I get a different hash than the website I'm checking against?
- Almost always invisible characters: trailing newlines, Windows vs Unix line endings, or spaces. Paste both texts into the word counter and compare character counts.
- Is this safe for passwords?
- Hashing alone is not enough for passwords - fast hashes like SHA-256 can be brute-forced quickly. Passwords need a slow, salted KDF (bcrypt, Argon2) which your password manager or backend should handle. For verifying file integrity or signing API requests, SHA-256 is exactly right.