Hash Generator
Generate MD5, SHA-256 and CRC32 hashes of text locally. SHA-256 and MD5 are computed by published-algorithm implementations in this page — nothing is uploaded.
Loading calculator…
What this tool does
Generate MD5, SHA-256 and CRC32 hashes of text locally. SHA-256 and MD5 are computed by published-algorithm implementations in this page — nothing is uploaded. Hashes are computed over UTF-8 bytes, matching command-line tools fed the same text without a trailing newline. SHA-512 is not offered (see FAQs). MD5 and CRC32 are checksums/legacy digests, not password storage.
How to use the Hash Generator
- Enter or select text to hash.
- Read the calculated result; change any measurement to compare alternatives.
Formula
SHA-256 per FIPS 180-4; MD5 per RFC 1321; CRC32 (IEEE 802.3, reflected polynomial 0xEDB88320, init/final XOR 0xFFFFFFFF) over the UTF-8 bytes of the input.
- value
- Text to hash
Hashes are computed over UTF-8 bytes, matching command-line tools fed the same text without a trailing newline. SHA-512 is not offered (see FAQs). MD5 and CRC32 are checksums/legacy digests, not password storage.
Worked example
For hash generator, the following measurements illustrate the exact method: Text to hash: abc.
Inputs
- Text to hashabc
Result
- SHA-256ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
- MD5900150983cd24fb0d6963f7d28e17f72
- CRC32 (hex)0x352441C2
- CRC32 (decimal)891,568,578
- Input bytes (UTF-8)3
Results explained
- SHA-256
- SHA-256 from the formula above. Hashes are computed over UTF-8 bytes, matching command-line tools fed the same text without a trailing newline. SHA-512 is not offered (see FAQs). MD5 and CRC32 are checksums/legacy digests, not password storage.
- MD5
- MD5 from the formula above. Hashes are computed over UTF-8 bytes, matching command-line tools fed the same text without a trailing newline. SHA-512 is not offered (see FAQs). MD5 and CRC32 are checksums/legacy digests, not password storage.
- CRC32 (hex)
- CRC32 (hex) from the formula above. Hashes are computed over UTF-8 bytes, matching command-line tools fed the same text without a trailing newline. SHA-512 is not offered (see FAQs). MD5 and CRC32 are checksums/legacy digests, not password storage.
- CRC32 (decimal)
- CRC32 (decimal) from the formula above. Hashes are computed over UTF-8 bytes, matching command-line tools fed the same text without a trailing newline. SHA-512 is not offered (see FAQs). MD5 and CRC32 are checksums/legacy digests, not password storage.
- Input bytes (UTF-8)
- Input bytes (UTF-8) from the formula above. Hashes are computed over UTF-8 bytes, matching command-line tools fed the same text without a trailing newline. SHA-512 is not offered (see FAQs). MD5 and CRC32 are checksums/legacy digests, not password storage.
Frequently asked questions
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad — the FIPS 180-4 example value. This tool reproduces it exactly because it implements the published algorithm.
SHA-512 needs 64-bit arithmetic and a large constant table, and the browser's fast crypto API is asynchronous while this calculator is synchronous. SHA-256 covers the overwhelming majority of checksum and fingerprint uses; SHA-512 was skipped deliberately rather than shipped half-tested.
MD5 is fine as a non-cryptographic checksum or legacy fingerprint, but it is collision-broken and far too fast for passwords. Never store passwords with MD5 (or plain SHA-256) — use a password hashing function such as bcrypt or Argon2id on a server.
Error detection in files and protocols (ZIP, PNG, Ethernet). It catches accidental corruption, not tampering: anyone can recompute a CRC. The check value for the ASCII string "123456789" is 0xCBF43926.
Usually a trailing newline or different encoding. This tool hashes exactly the characters entered, encoded as UTF-8, with no newline added.
No. The implementations run in your browser; you can verify by using the tool offline.