Hash Generator

MD5, SHA-1, SHA-256 hashes

Examples

SHA algorithms run via the browser Web Crypto API, and MD5 uses a bundled implementation. MD5 and SHA-1 have known collisions, so do not use them for security purposes like storing passwords. They are only suitable for things like file checksum comparisons.

โ€”

Do this with a friend

Watch the same screen together, live

Was this tool helpful?

About this tool

This tool computes the MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes of your input at the same time. The SHA family runs through the browser's built-in Web Crypto API, while MD5 uses a bundled implementation, and all five values update as you type. For example, leaving the default text nol.so as-is gives an MD5 of 22369673c2c4178f07052ae8e694bc83 and a SHA-256 of 1d01853448f7ba277276151fd82fa1324aeea349181c768ca9acca97db1234f4. Changing even a single character flips all five values into completely different strings, which makes this handy for comparing checksums or quickly confirming two strings are identical. That said, MD5 and SHA-1 are algorithms with known collisions, so they should never be used for security purposes like storing passwords.

How to use

  1. Type the string you want to hash into the input box (defaults to nol.so).
  2. Five result lines, from MD5 to SHA-512, appear right below as you type.
  3. Use each line's copy button to grab just the hash you need.
  4. Use the sample buttons to compare hashes of an empty string or multilingual text.
  5. Change a single character in the input to see all five hashes turn into completely different strings.
  6. Results are always shown as lowercase hexadecimal strings.

Frequently asked questions

Why should MD5 not be used for storing passwords?
MD5 is extremely fast to compute, which makes it weak against brute-force attacks, and real collisions โ€” different inputs producing the same hash โ€” have already been demonstrated. Passwords should be stored with a purpose-built, deliberately slow algorithm like bcrypt or argon2.
Is SHA-1 unsafe too?
Yes. SHA-1 has also had successful real-world collision attacks, so it is not recommended for integrity checks or signatures anymore. For new systems, SHA-256 or stronger is the safer choice.
So what are the hashes on this page good for?
They work well for comparing checksums to confirm a file was not corrupted in transit, or for quickly checking whether two strings are identical. Do not use them for security purposes like storing passwords.
Is the text I enter sent to a server?
No. Every hash is computed inside your browser โ€” via the Web Crypto API and a bundled MD5 implementation โ€” and never sent to a server.
Can I hash a file's checksum too?
No. This tool only accepts text. If you need a file's checksum, paste its contents in as text, or use your operating system's checksum command.
What if I need the hash in uppercase?
Results are always shown in lowercase hex. If you need uppercase, convert the copied value yourself.
Is the hash of an empty string useful for anything?
Yes. Clicking the "(empty)" sample button shows the hash of an empty string, which is a fixed value per algorithm you can use to cross-check against other tools or languages.
Why would the same string produce different results in different tools?
Usually it comes down to line-ending differences (\n vs \r\n), invisible whitespace, or encoding (whether it is UTF-8). This tool encodes your input as UTF-8 before hashing it.

MD5 and SHA-1 are algorithms with known collisions, so they are not suitable for integrity verification. When storing passwords, use a dedicated algorithm like bcrypt or argon2 instead of the hashes on this page.

Similar tools