Hash Generator (MD5 / SHA / SM3)

Free online hash and digest generator for MD5, SHA1, SHA224, SHA256, SHA384, SHA512 and SM3. Uppercase output and salt support. Runs entirely in your browser.

Runs locally · data never uploaded
Advertisement

How to use

What it does

A hash (digest) function maps data of any length to a fixed-length fingerprint. It is commonly used to verify integrity, build cache keys and derive password digests. This tool supports MD5, SHA1, SHA224, SHA256, SHA384, SHA512 and the Chinese national SM3 algorithm — all computed locally in your browser.

Example

Input hello world with SHA256 selected:

b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9

Enable "Uppercase" to get B94D27B9....

About salting

Enter a custom salt and choose whether to prepend (prefix) or append (suffix) it to the input. Salting defends against rainbow-table attacks, but MD5/SHA1 are not appropriate for password storage — use Bcrypt or Argon2 instead.

FAQ

Q1.What is the difference between hashing and encryption?
Hashing is one-way: you can derive a digest from input but cannot recover the input from the digest. Encryption is reversible with the correct key. Hashing verifies integrity; encryption protects confidentiality.
Q2.Is my input uploaded anywhere?
No. Every computation happens in JavaScript inside your browser. You can disconnect from the network and keep using the tool, or watch the Network tab in devtools to confirm nothing carries your input.
Q3.Is MD5 still safe?
MD5 and SHA1 have practical collision attacks and should not be used for signatures, certificates or password storage. They are fine for non-security integrity checks. Use SHA-256 or higher for security, and Bcrypt/Argon2 for passwords.
Q4.What is SM3?
SM3 is a cryptographic hash algorithm published by the Chinese State Cryptography Administration. It produces a 256-bit digest and is typically used alongside SM2 and SM4 in Chinese commercial cryptography deployments.
Advertisement

Related tools