How to hash a string
Hash any text to MD5, SHA-1, SHA-256 or SHA-512. Free online tool plus the code one-liner — and why you should not hash passwords this way.
Hashing turns any input into a fixed-length fingerprint used for integrity checks and deduplication. Here is how to hash a string online and in code — and the important caveat about passwords.
Online
Paste your text into the hash tool and it computes MD5, SHA-1, SHA-256, and SHA-512 at once. Use SHA-256 for anything that must resist tampering; MD5 and SHA-1 are fine only as non-security checksums.
Do not hash passwords like this
Plain SHA-256 is far too fast for passwords — attackers can try billions per second. For passwords use a slow, salted algorithm like bcrypt, scrypt, or Argon2, which are designed to be expensive to brute-force.
Step by step
Open the hash tool and paste your text.
Read the MD5, SHA-1, SHA-256 and SHA-512 digests.
Use SHA-256 for integrity/signatures; treat MD5/SHA-1 as non-security checksums only.
For passwords, use bcrypt/scrypt/Argon2 with a salt instead — never a plain fast hash.
Try it now — free, no signup
Use the hash generator in your browser. Then, when you need it at scale with an API key and higher limits, grab the full Eveses API.