Skip to content
Util.Ninja

Hash Generator: MD5, SHA-1, SHA-256, SHA-512

Create an MD5, SHA-1, SHA-256, SHA-384 or SHA-512 hash from any text or file. All five hashes appear at once as you type, and your data stays in your browser.

How to use

  1. Type or paste text, or choose a file.
  2. All five hashes are calculated at once.
  3. Press the copy button next to the hash you need.
  4. Tick Uppercase hex if you need capital letters.

What is a hash?

A hash function turns any input into a fixed-length fingerprint. The same input always gives the same hash, and a tiny change gives a completely different one. You cannot turn a hash back into the original data. Hashes are used for file checksums, deduplication and data integrity.

Which one should you use?

Use SHA-256 or SHA-512 for security-related work. MD5 and SHA-1 are broken for security and should only be used for checksums or compatibility. Do not store passwords with a plain hash: use a slow password hash such as bcrypt or Argon2. To make a strong password first, try the password generator.

Frequently asked questions

Can a hash be reversed?

No. A hash is a one-way function. Weak or common inputs can be guessed with lookup tables, which is why passwords need a salt and a slow hash.

Is MD5 still safe?

Not for security. Collisions can be made on purpose. MD5 is fine to check a download for accidental corruption.

Is my file uploaded?

No. The hash is calculated in your browser.

Why do I get a different hash than another tool?

Check for a trailing space or line break in the text. A single extra character changes the whole hash.

More free tools

Password generatorStrong passwords & passphrasesJWT decoderRead JSON Web TokensText compareFind differences in two textsRegex testerTest and debug regular expressionsCron expression generatorBuild and explain cron schedulesColor converterHEX, RGB, HSL, CMYKQR code generatorLinks, Wi-Fi, contacts, PNG & SVGWord & character counterWords, characters, reading timeImage compressor & resizerShrink and resize JPG, PNG, WebP