Security & Encoding
Hash Generator
Type or paste text and get MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC32 hashes instantly. Hash a file too. Everything runs in your browser — your input never leaves the page.
Input
privateEvery character counts, including spaces and line breaks.
Choose a file to hash its bytes. Nothing is uploaded.
Hashes
0 bytesHow it works
Your input is converted to UTF-8 bytes (or read straight from the file you pick) and passed through each selected hash entirely in the browser. MD5, SHA-1, SHA-256 and CRC32 are computed locally; SHA-384 and SHA-512 use the browser’s built-in Web Crypto. Text is hashed exactly as entered, so a trailing space or newline changes the result. Hashes are one-way: they prove that two inputs are identical, but they cannot be turned back into the original.
Practical uses
Generate MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC32 digests from text or a file.
Common ways to use it
- Checksum a downloaded file against a published digest.
- Produce an integrity hash for release notes or a package manifest.
- Compare two text values by digest without keeping the originals.
Four digests of "hello"
Input
hello
Output
md5 5d41402abc4b2a76b9719d911017c592 sha1 aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d sha256 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 crc32 3610a686
Computed from the UTF-8 bytes of "hello" with the tool's own digest functions. The SHA-256 line matches the value published by the SHA-256 specification for the same input.
Options that matter
- Text or File input — hash typed text, or the raw bytes of a chosen file.
- Algorithm checkboxes — MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC32; several can be selected at once.
- Uppercase hex — switches digests from lower-case to upper-case.
- Copy all / Download .txt — export the selected digests as labelled lines.
Things to keep in mind
- Hashing is one-way; you cannot recover the original input from a digest.
- MD5 and SHA-1 are not collision-resistant and are unsuitable for password storage, signatures or any security decision; use SHA-256 or stronger for integrity checks, and a dedicated password hash such as bcrypt, scrypt or Argon2 for passwords.
- SHA-384 and SHA-512 use the Web Crypto API, so they need a secure (HTTPS) context and are disabled where it is unavailable; MD5, SHA-1, SHA-256 and CRC32 are computed locally.
- Text is hashed exactly as entered, so a trailing space or newline changes the digest.
- CRC32 is a checksum, not a cryptographic hash, and can be trivially forged.