Skip to content
DoItJag

Hash Generator

Calculate cryptographic hashes of text or any file, and check a downloaded file against the checksum its publisher lists.

About the Hash Generator

A hash function turns any input, from one word to a large file, into a fixed-length fingerprint. Change a single byte and the fingerprint changes completely. This tool calculates four SHA hashes at once for text or a file, and can compare the result with a checksum you paste in, which is how you confirm that a download arrived complete and untouched.

People use it to verify installers and disk images against the checksum on a publisher’s page, to create stable keys for caching or deduplication, and to compare files without opening them.

When to use it

  • A software download page lists a SHA-256 checksum and you want to confirm your copy matches.
  • You need to tell whether two large files are identical.
  • An API or webhook asks for a SHA-256 of a request body while you are testing.
  • You want a short, repeatable identifier for a piece of text.

Worked example

Type hello world (11 characters, no line break) in Text mode. The tool shows:

Algorithm Hex digest
SHA-1 2aae6c35c94fcfb415dbe95f408b9ce91ee846ed
SHA-256 b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9
SHA-384 fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd
SHA-512 309ecc48…ae9cd76f (128 hex characters in full)

Paste the SHA-256 value in capital letters into the comparison box and it is still reported as a match.

Good to know

  • The algorithms are SHA-1, SHA-256, SHA-384 and SHA-512, all from your browser’s Web Crypto API. MD5 is not offered.
  • SHA-1 is labelled “not for security use” because collisions can be created for it.
  • Text is hashed as UTF-8. A trailing space or line break changes the result, so copy text carefully.
  • Files of any type up to 200 MB can be hashed.
  • The comparison ignores letter case and spaces, and checks your value against all four hashes.
  • Hashing is not encryption and cannot be reversed. For random secrets, use the password generator.

How to use Hash Generator

  1. Choose Text or File.
  2. Type the text or choose the file.
  3. Copy a hash, or paste an expected checksum to compare.

Privacy: how it works

Hashes are calculated on your device. Your text and files are not uploaded.

Frequently asked questions

Which algorithm should I use?

SHA-256 is the most common choice for checksums. SHA-1 is shown for compatibility but is no longer considered secure.

Is my file uploaded?

No. Hashes are calculated by your browser’s built-in Web Crypto API on your device. Files up to 200 MB are supported.

Can I hash passwords for storage here?

No. Plain SHA hashes are not suitable for storing passwords; use a dedicated password-hashing algorithm such as Argon2 or bcrypt.