ToolsMaxxing

Hash generator

Create SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or of a file.

0 bytes

Type some text to see its hashes.

Your files stay on your device

How it works

  1. 1Choose Text or File.
  2. 2Type your text, or pick a file.
  3. 3Read the four hashes that appear.
  4. 4Copy the one you need. Compare it with the checksum published by the file source.

What the options do

Text
The text is converted to UTF-8 bytes before hashing, so the result matches command-line tools such as sha256sum.
File
The file is read in your browser and hashed as raw bytes. It is not uploaded.
Uppercase hex
Shows the digest in capital letters. The value is the same.

Privacy

Hashing uses the Web Crypto API of your browser. Text and files stay on your device.

Questions people ask

Why is there no MD5?

The Web Crypto API deliberately leaves out MD5 because it is broken for security use. SHA-256 is the usual choice for checksums today.

Can I use it to store passwords?

No. Fast hashes such as SHA-256 are the wrong tool for passwords because they can be guessed quickly. Use a slow password hash such as Argon2, scrypt or bcrypt in your application.

How do I check a downloaded file?

Choose the File tab, pick the downloaded file, and compare the SHA-256 value with the checksum on the download page. If every character matches, the file is the same.

Why does my hash differ from another tool?

Usually a hidden difference in the input: a trailing newline, different line endings or another text encoding. A single changed byte gives a completely different hash.

Is there a size limit for files?

The file is loaded into memory to be hashed, so the limit is your device memory. Very large files, past a few gigabytes, may fail.

Related tools