Skip to content
NWS Kit

Hash Generator

MD5, SHA-1, SHA-256, SHA-512.

Text
MD5
—
SHA-1
—
SHA-256
—
SHA-384
—
SHA-512
—

SHA hashes use the Web Crypto API; MD5 runs in pure JavaScript. Nothing is sent anywhere.

Runs on this deviceSent to a server: 0 bytes

How it works

  1. Type, paste or pick what you're working with.
  2. Set the options you need.
  3. Copy or download the result. It's made on this device.

Produces MD5, SHA-1, SHA-256 and SHA-512 digests of text or a file. The common use is checking that something downloaded arrived intact — comparing the hash you compute against the one the publisher printed.

What a hash is

A hash function turns any input into a fixed-length fingerprint, deterministically: the same input always gives the same digest, and changing a single bit changes the output completely. It is one-way by design — there is no operation that runs it backwards — and two different inputs producing the same digest is called a collision.

Checking a download

A project publishes a SHA-256 for its installer. Hash the file you downloaded and compare the two strings. If they match character for character, the bytes are identical to what was published; if they differ at all, the file is corrupt or has been tampered with. There is no partial match — one wrong bit changes the whole digest.

MD5 and SHA-1 are broken, and hashing is not encryption

Both MD5 and SHA-1 have practical collision attacks — SHA-1's was demonstrated in 2017 — so neither should be used where an attacker could benefit from forging a match. They remain fine for spotting accidental corruption. Separately, a hash is not encryption: it cannot be reversed, but it also cannot be decrypted back by you, and hashing a password with plain SHA-256 is not secure storage. Passwords need a deliberately slow, salted function such as bcrypt, scrypt or Argon2, because a modern GPU tries billions of SHA-256 guesses a second.

Questions

Can a hash be reversed?

Not by computation. But a short or common input can be found by guessing — rainbow tables hold precomputed digests for billions of ordinary passwords, which is exactly why password storage requires salting and a slow algorithm.

Which algorithm should I use?

SHA-256 for anything where security matters. MD5 and SHA-1 are acceptable only for detecting accidental corruption, and only where nobody has an incentive to forge a match.

Is Hash Generator free to use?

Yes. Hash Generator is completely free, with no account, no sign-up and no usage limits.

Are my files or data uploaded anywhere?

No. Hash Generator runs entirely in your browser. Your files, text and numbers are processed on your own device and are never uploaded to a server.

Does Hash Generator work offline?

Yes, once you have opened it. NWS Kit installs as a Progressive Web App and keeps working with no connection. Video and audio tools download their engine (about 32 MB, from nwskit.com) the first time one is used; save the Video and audio pack to have it ready offline.

Do I need to install any software?

No installation is required. Hash Generator works in any modern browser on desktop or mobile.

Read the guide