👤 Pro — remove adsPro
// text → hash

Hash generator

Type text and get its SHA-1, SHA-256 and SHA-512 hashes at once — useful for checksums, comparing files, or verifying downloads.

Free — unlimited use.

Comparing text without reading it

The most practical everyday use of a hash has nothing to do with cryptography: it is telling whether two pieces of text are identical without eyeballing them. Two versions of a config file, two SQL exports, the same JSON from two environments — paste each one, compare the SHA-256 values, and an identical hash means identical text down to the very last space. It works because a hash is a fixed-length fingerprint of the whole input: sixty-four hex characters stand in for any amount of text, and the comparison takes a glance instead of a diff. Developers lean on the same idea for cache keys and deduplication — hash the content, and equal fingerprints mean you have seen this exact content before.

The invisible characters that change everything

A hash mismatch tells you the inputs differ — it never tells you where, and the culprit is usually a character you cannot see. A trailing newline dragged along by copy-paste, a tab where the other file has spaces, Windows line endings against Unix ones: each produces a completely different hash of what looks like the same text. This tool hashes exactly the characters in the box, encoded as UTF-8, nothing added and nothing trimmed. So when two hashes refuse to match against all expectation, check the ends of the text first — the difference is almost always hiding at a boundary. The hex output here is lowercase; a published checksum in uppercase is still the same value, so compare the letters, not the case.

One-way, but not a hiding place

A hash cannot be reversed — there is no formula that turns the fingerprint back into the text. But for short, predictable inputs it does not need to be reversed: the SHA-256 of a common word or a well-known phrase can simply be looked up, because someone has already computed it. That is the honest limit to keep in mind: hashing verifies and compares, it does not conceal. If the goal is hiding text so only the right person can read it, that is encryption — the AES-256 text encryption tool does that properly. And passwords are their own special case: they belong in the bcrypt generator, which is deliberately slow precisely so that the look-it-up shortcut stops working.

What a hash is (and isn't)

A hash is a one-way fingerprint: the same input always produces the same output, but you can't reverse it back to the original text. Change one character and the whole hash changes completely — that's what makes hashes useful for spotting tampering or verifying a download matches the original.

Which one should I use?

SHA-256 for almost everything today — it's the modern standard. SHA-512 produces a longer digest and is a bit stronger; on modern 64-bit hardware it is usually no slower. SHA-1 is here only for compatibility with older systems; it's cryptographically broken and shouldn't be relied on for security.

Can I hash a password with this?

Not for storing passwords — plain SHA hashes are fast to compute, which makes them easy to brute-force. Use the dedicated bcrypt tool for that instead.

Is my text sent anywhere?

No — hashing runs entirely in your browser using the Web Crypto API. Nothing is uploaded.

Convertburda — universal conversions