#️⃣ Hash Generator
Generate MD5, SHA-1, SHA-256 and SHA-512 hashes of any text in one click — computed locally in your browser.
Frequently Asked Questions
What is a hash function?
A cryptographic hash function turns any input into a fixed-size "fingerprint": MD5 produces 128 bits (32 hex characters), SHA-1 160 bits, SHA-256 256 bits and SHA-512 512 bits. The same input always gives the same hash, but the hash cannot be reversed back to the input, and even a one-character change produces a completely different result.
Is MD5 still safe to use?
Not for security. MD5 (and SHA-1) are cryptographically broken — collisions can be manufactured — so they must not be used for passwords, signatures or certificates. They remain fine for non-security uses like checksums, cache keys, and deduplication. For anything security-related, use SHA-256 or SHA-512.
Can I decrypt a hash back to the original text?
No — hashing is one-way, not encryption. "Reversing" a hash is only possible by guessing inputs (brute force or lookup tables of common values) and comparing hashes, which is why plain unsalted hashes are a poor way to store passwords.
How are the hashes computed?
Your text is converted to UTF-8 bytes, then SHA-1, SHA-256 and SHA-512 are computed with the browser's built-in Web Crypto API (crypto.subtle.digest), and MD5 with a JavaScript implementation of RFC 1321 — all locally on your device.
Does a trailing space or newline change the hash?
Yes — every byte counts, including invisible whitespace and line endings. If your hash doesn't match a published checksum, check for a trailing newline or Windows (CRLF) vs Unix (LF) line endings first. This tool hashes your input exactly as typed, without trimming.
Is my text uploaded to a server?
No. All four hashes are computed inside your browser — the text never leaves your device.