ToolsForWeb

Saved

Tap ☆ on any tool to keep it here.

toolsforweb

Hash Generator

Generate MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512 and CRC-32 digests of text.

Runs in your browser — nothing is uploaded

Loading tool…

Results are provided as is, for general information. Check anything important before relying on it. See the Terms of Use.

About Hash Generator

Compute a hash (digest) of whatever text you type, shown as hexadecimal or Base64. SHA-1, SHA-256, SHA-384 and SHA-512 come from the browser's built-in SubtleCrypto. SubtleCrypto does not offer MD5, SHA-224 or CRC-32, so this tool includes small in-page implementations of each (MD5 per RFC 1321, SHA-224 per FIPS 180-4, and the standard CRC-32 used by zip, gzip and PNG). CRC-32 is a checksum for catching accidental corruption, not a cryptographic hash. Hashing is deterministic — the same input and algorithm always give the same digest — and the text never leaves your browser.

How Hash Generator works

digest = H(message)
MD5 = 128 bits (32 hex chars), SHA-1 = 160, SHA-256 = 256, SHA-512 = 512

A hash function turns any input into a fixed-length fingerprint. The same input always gives the same digest, and changing a single character changes it completely. MD5 and SHA-1 are broken for security use, so choose SHA-256 or stronger for anything that matters.

Worked examples
QuestionWorkingAnswer
SHA-256 of “hello”SHA-256(“hello”)2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
MD5 of “hello”MD5(“hello”)5d41402abc4b2a76b9719d911017c592

When to use Hash Generator

Generating a checksum to verify a file or string was not altered in transit.
Producing a cache key or content-addressed identifier from a blob of text.
Comparing a value against a known hash (an ETag, a published SHA-256, a Subresource Integrity string).
Quickly sanity-checking a hash produced by another tool or library.

Hash Generator FAQ

Can you decrypt an MD5, SHA-256 or SHA-512 hash?

No. Hashing is not encryption, so there is no key that turns a hash back into text. Sites that appear to decrypt a hash are guessing: they hash many possible texts, or search a list hashed in advance, until one matches. This can work for common words and weak passwords, but it is very unlikely to work for long, random text. To check a guess, enter it under Text to hash, choose the same algorithm and output encoding, and compare the digest with your hash. A match means you have almost certainly found the original. If there is no match, check capital letters, extra spaces and line breaks in your guess. Extra text, such as a salt, may also have been added before hashing.

Which algorithm should I use?

For anything security-related use SHA-256 or stronger. MD5 and SHA-1 are cryptographically broken — attackers can craft two different inputs with the same digest — so never use them for signatures, integrity against a motivated adversary, or password storage. They are still fine as fast non-adversarial checksums or lookup keys.

Is this how passwords should be hashed?

No. Plain SHA-256 is far too fast for passwords. Use a purpose-built password hash such as bcrypt, scrypt or Argon2, which are deliberately slow and salted. This tool is for checksums and digests, not credential storage.

What is CRC-32 and when would I use it?

CRC-32 is a 32-bit checksum that catches accidental changes such as a flipped bit in a download. It is the checksum inside zip, gzip and PNG files, so it is handy for comparing against a value those tools report. The test string 123456789 gives cbf43926. It is not secure: anyone can craft different data with the same CRC-32, so never use it to prove a file has not been tampered with.

What is SHA-224?

SHA-224 is the SHA-256 algorithm started from different constants and cut to 224 bits (56 hex characters). It is as strong as its length allows and appears in some standards and older systems. If you are free to choose, SHA-256 is the usual default.

Why is MD5 available if it is broken?

MD5 is still everywhere as a non-security checksum — legacy file manifests, ETags, cache keys, test vectors — so being able to reproduce an MD5 digest is genuinely useful. The tool computes it in-page; just don't rely on it where collision resistance matters.

Related tools