How to use the Hash Generator
- 1Paste or type the text you want to hash into the Input Text textarea at the top.
- 2Check or uncheck Uppercase HEX on the top right to switch hexadecimal digest output between lowercase a–f and uppercase A–F.
- 3Inspect all five digests—MD5, SHA-1, SHA-256, SHA-384, and SHA-512—as they compute live beneath the input.
- 4Click Copy beside any algorithm row to copy that specific checksum, or click Clear to empty the input field.
What the Hash Generator does
Hash Generator turns UTF-8 text into five widely used digest formats strictly inside browser memory with zero server uploads:
- Encodes your text into UTF-8 bytes via TextEncoder and computes SHA-1, SHA-256, SHA-384, and SHA-512 concurrently using window.crypto.subtle.digest directly in browser memory.
- Computes 128-bit MD5 checksums in browser JavaScript using js-md5 alongside the SHA family, returning an empty digest state cleanly when the input box is blank.
- Displays fixed hexadecimal lengths ranging from 32 characters for MD5, 40 for SHA-1, 64 for SHA-256, 96 for SHA-384, and 128 characters for SHA-512.
- Reformats all five digest cards instantly between lowercase and uppercase hexadecimal letters when you toggle Uppercase HEX without clearing or altering your input text.
- Provides a dedicated Copy button on every individual hash row so you can grab one specific checksum cleanly, plus a Clear button at the bottom.
Example
hello
MD5: 5d41402abc4b2a76b9719d911017c592 SHA-1: aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d SHA-256: 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
Because cryptographic hashes are deterministic yet sensitive to every input bit, adding one trailing space or changing a single letter completely alters every digest shown.
Frequently asked questions
What is a cryptographic hash?
A hash is a fixed-length digital fingerprint calculated from input data of any size. Changing even a single character in the input produces a completely different digest string.
Can a hash be reversed back into the original text?
No. Hash functions are one-way mathematical transformations, so you cannot algebraically invert a digest to recover the input string.
Why should MD5 and SHA-1 not be used for storing passwords?
MD5 and SHA-1 are outdated for security-critical uses because they are vulnerable to collision attacks and are fast to brute-force on modern hardware. Use modern slow password-hashing algorithms like Argon2, scrypt, or bcrypt for passwords.
Is my input text sent to a backend server to calculate the hash?
No. SHA-1, SHA-256, SHA-384, and SHA-512 run locally using crypto.subtle.digest, and MD5 runs in browser JavaScript with zero server requests.
Related tools
View All ToolsBase64 Encode & Decode
Encode UTF-8 text to Base64 or decode Base64 strings back to text in your browser with URL-safe (- and _) support.
UUID Generator
Generate 1 to 1,000 random UUID v4 identifiers using Web Crypto randomness with uppercase and no-hyphens formatting options.
Random Password Generator
Generate strong, cryptographically secure passwords with customizable length, symbols, numbers, and uppercase characters.