🔒Text/File Hash Generator
Calculate SHA-256, SHA-512, SHA-1, and MD5 hashes of text or files instantly. Use for integrity verification and checksums. Useful for verifying downloaded files, checking backup integrity, comparing API signatures, and security study.
How to use
- 1Pick the text or file tab.
- 2Enter text or upload a file.
- 3Hashes for each algorithm calculate automatically.
FAQ
Which is safest?+
SHA-256 or stronger for security uses. MD5 and SHA-1 have known collision attacks, so use them only for integrity checks.
Is my file sent to a server?+
No. All calculation happens locally via the browser's Web Crypto API.
Can I use SHA-256 for password hashing?+
No. SHA-256 is fast, making it vulnerable to brute force. Use bcrypt, Argon2, or scrypt for passwords. (See the bcrypt Hash tool.)
Does it handle large files?+
Several hundred MB works fine. Large files take time since they're loaded into memory.
Why do text and file hashes differ?+
Even identical content can hash differently due to line endings (\n vs \r\n), trailing whitespace, or encoding differences.
Is checksum the same as hash?+
Checksum is for simple error detection (like CRC32); hashes are stronger for security. Both can use SHA-256 if you want consistency.