Hash generator (SHA-256, MD5)
Web Crypto, in your browserType text or drop a text file to get its SHA-256, SHA-512, SHA-384, SHA-1 and MD5 hashes in hex, and paste an expected hash to check it matches.
Fill in the fields to see the result.
How to use it
- Type or paste the text, or drop a text file.
- Pick one algorithm or show them all.
- Paste an expected checksum to compare, then copy or download the hashes.
Details
- Algorithms
- SHA-256, SHA-384, SHA-512, SHA-1 (Web Crypto), MD5
- Input
- UTF-8 bytes of the text exactly as typed, including spaces and line breaks
- Output
- Lowercase hex
Questions
Why doesn't my hash match the one from the command line?
Usually a trailing newline: `echo hello | sha256sum` hashes 'hello\n'. Use `echo -n` or `printf`, or add the line break here. Windows line endings (\r\n) also change the hash.
Is MD5 safe?
Not for security: collisions can be made on purpose. MD5 and SHA-1 are still fine for spotting accidental corruption; use SHA-256 for anything that matters.
Can I hash passwords with this?
Don't store passwords as SHA or MD5 hashes; they're too fast to brute-force. Use bcrypt, scrypt or Argon2 with a salt.
Can I hash a binary file like an .iso?
This page hashes text. Dropped files are read as text, so binary files won't give the right checksum; use `sha256sum` or `Get-FileHash` for those.
Is my input sent anywhere?
No. It is processed by code running in this tab. Nothing is uploaded, logged or saved; tokens, hashes and text are never put in the page address.
Can an AI agent use this?
Yes. The same function is a tool on our free MCP server at tools.cuelark.com/mcp, so ChatGPT, Claude or Cursor get exactly the answer this page shows. 'Copy MCP call' gives you the arguments.