The quick answer

Paste text into the box and six digests appear at once: MD5 (32 hex characters), CRC32 (8), SHA-1 (40), SHA-256 (64), SHA-384 (96) and SHA-512 (128). Hashing is one-way, so the digest cannot be turned back into the input, and your text is read as UTF-8 bytes. Everything computes locally; nothing uploads.

What hashing is, in plain terms

A hash function reads your input and squeezes it into a fixed-length fingerprint called a digest. The same input always yields the same digest; change one character and the digest changes beyond recognition; and there is no way to run the function backwards. This page computes six at once, the two legacy checksums (MD5 and CRC32) plus four SHA family members, and is honest about which are still safe for what.

The workflow: paste once, watch every digest update

There is one text box and one stack of digest cards. The digests recompute as you type, settling about a quarter-second after the last keystroke, and there is no calculate button to press.

  1. Paste or type your text

    The box takes any length of text, and every change recomputes all six digests live.

  2. Read the six digest cards

    MD5 and CRC32 are computed in the page's own JavaScript; SHA-1, SHA-256, SHA-384 and SHA-512 come from the browser's Web Crypto engine. Each card carries the algorithm name and the full digest in lowercase hex (CRC32 prints uppercase).

  3. Copy any digest

    Every card has its own Copy button, so the MD5 and the SHA-256 of the same input travel to the clipboard independently.

  4. Close the tab when done

    No history, no server copy, no residue. Files need the File Checksum Calculator page, which hashes bytes straight from disk.

How MD5, CRC32 and the SHA family actually work

The five hash algorithms are Merkle–Damgård-style constructions: the input is padded, split into fixed-size blocks, and churned through a compression function with a running state until a final digest falls out. MD5 runs 64 rounds over 512-bit blocks and emits 128 bits; SHA-1 runs 80 rounds over 512-bit blocks and emits 160 bits; SHA-256 runs 64 rounds over 512-bit blocks for a 256-bit digest; SHA-384 and SHA-512 run 80 rounds over 1024-bit blocks, SHA-384 being SHA-512 truncated to 384 bits. In hex those are 32, 40, 64, 96 and 128 characters respectively.

CRC32 is the odd one out: not a cryptographic hash at all, but a 32-bit polynomial checksum, printed here as 8 uppercase hex characters. It detects accidental corruption cheaply and resists nothing adversarial, which is why the tool's own note bar separates it and MD5 from the SHA family. Your text is encoded as UTF-8 bytes before any of this runs, so café hashes differently from cafe because the é contributes two bytes.

A worked example, all six digests

The example below is the full output of the six engine functions on one classic input. Every digest is reproducible on the live tool, byte for byte, on any machine.

Hashing the pangram

Input

The quick brown fox jumps over the lazy dog

Output

MD5: 9e107d9d372bb6826bd81d3542a419d6
CRC32: 414FA339
SHA-1: 2fd4e1c67a2d28fced849ee1bb76e7391b93f12f
SHA-256: d7a8fbb307d7809469ca9abcb0082e4f8d5651e46d3cdb762d02d0bf37c9e592
SHA-384: ca737f1014a48a4c0b6dd43cb177b0afd9e5169367544c494011e3317dbf9a509cb1e5dc1e85a941bbee3d7f2afbc9b1
SHA-512: 07e547d9586f6a73f73fbac0435ed76951218fb7d0c8d788a309d785436bbb642e93a252a954f23912547d1e8a3b5ed6e1bfd7097821233fa0538f3db854fee6

Count the characters in the first digest: 32. The lengths are the fastest sanity check that the algorithm you expect is the algorithm that ran.

Who relies on a hash generator

Backend developers check that a deployed artifact matches the one built in CI: hash the file here, compare against the pipeline's digest, and a mismatch means a corrupted or substituted binary, caught in seconds. Release engineers, forensic analysts, QA and teachers reduce to the same need, a short fingerprint that proves two blobs of bytes are identical without shipping either blob anywhere. The tool's note bar carries the standing reminder that MD5 and CRC32 are checksums only, and that password storage belongs to bcrypt or argon2.

What the tool guarantees

The table summarizes what the hash generator promises and how it behaves, the same commitments every tool on this site keeps.

AspectThis tool
Processing100% client-side (JavaScript and Web Crypto in your browser)
Signup requiredNo: no account, no email, no cookies for consent-free use
Data uploadedNever: inputs stay on your device by architecture
SpeedLive as you type, with the six digests settling a quarter-second after the last keystroke
Mobile supportFull, on a responsive layout built for touch
Offline useWorks after first load (except live-data tools, which say so)
CostFree, funded by clearly-labelled advertising away from controls
DocumentationFull methodology, worked examples and FAQ on this page

Your input never leaves the browser

The strings people hash here are often the sensitive ones: API secrets being fingerprinted for a cache key, tokens being compared across systems, personal data being deduplicated without transmitting it. That is why the generator is architecturally local. The digest is computed inside this tab, there is no request to intercept, and the page keeps hashing with your Wi-Fi switched off.

Compared with md5sum, shasum and openssl

AlternativeWhy people pick Hash Generator (MD5/SHA) instead
Command-line tools (md5sum, shasum, certutil)Identical digests when you already live in a terminal; the tab wins on machines where you cannot install anything
Server-side hashersA hash of a secret sent over the wire is that secret's fingerprint in transit; local means no request at all
Language built-ins (hashlib, crypto)What production code uses; the browser tab is for inspecting and spot-checking, not for your CI pipeline

The command line computes the same digests, md5sum file.iso or shasum -a 256 file.iso, and no browser tab will out-tool a terminal you already have open. What the tab buys is zero setup on a locked-down machine and an input that never lands in shell history; files belong on the File Checksum Calculator page rather than pasted here.

Field notes: checksums done right

When something behaves unexpectedly, the cause is almost always one of these three.

  • Two files hash differently despite looking identical: a trailing newline, a BOM, or different line endings. The digest compares bytes, not appearances; hex-view the tail of each file before doubting the algorithm.
  • A published checksum uses uppercase hex: digests here are lowercase by convention, but hex is case-insensitive, so compare case-insensitively before concluding anything is wrong.
  • The SHA cards read unavailable: Web Crypto requires a secure context, so on a plain-HTTP connection the SHA-1/256/384/512 boxes report it while MD5 and CRC32, which run in the page's own JavaScript, keep computing.

Frequently asked questions

These are the questions people actually search about hashing text, answered directly.

Why is MD5 still offered?

MD5 emits a 32-hex-character digest and is broken for collision resistance: chosen-prefix collisions have been practical since 2008, so it must never guard anything adversarial like signatures or certificates. It remains fine for non-security checksums, such as verifying a download against a publisher's MD5, matching legacy archive records, or cache keys where nobody is trying to forge anything.

Is the Hash Generator (MD5/SHA) free to use?

Yes, and free means free: no signup, no email gate and no usage meter. The generator runs entirely in your browser, so each extra use costs this site nothing and costs you nothing either.

Can a hash be reversed back into the original text?

No. Hashing is one-way by construction: the digest is a lossy squeeze of the input, and nothing in those 32 to 128 hex characters stores the original. What attackers do instead is guess, brute-forcing candidate inputs until one hashes to the same digest, which is why short or common inputs are effectively unprotected and long random ones are not worth attacking.

What is the difference between MD5, SHA-1, SHA-256, SHA-384 and SHA-512?

Digest length and collision status. MD5 gives 32 hex characters and SHA-1 gives 40, and both are cryptographically broken for collisions, so they are legacy-verification tools only. SHA-256 (64 hex characters) is currently safe and is the modern default; SHA-384 (96) and SHA-512 (128) offer the same security margin, with SHA-512 running faster on 64-bit CPUs. Pick SHA-256 unless you have a specific reason otherwise.

How is my text turned into bytes before hashing?

As UTF-8. Every character maps to its UTF-8 byte sequence, so café contributes 5 bytes, not 4, and the hash runs over those bytes. Accented text, emoji and non-Latin scripts hash correctly, the same string yields the same digest everywhere, and a trailing newline or space changes the result entirely.

Should I hash passwords with this tool?

No, and this is the one place hashes are actively the wrong tool. MD5, SHA-1 and SHA-256 are fast, and speed is the enemy: modern GPUs try billions of guesses per second. Password storage needs deliberately slow functions with salts, such as bcrypt or argon2, as OWASP's cheat sheet documents. Use this page for checksums and fingerprints, never for storing login secrets.

Can I use the Hash Generator (MD5/SHA) offline?

Yes: after the first load the code is local, so the digests keep computing on a plane or in a dead zone. Nothing about MD5 or the SHA family ever needed a round-trip to a server; that is the architecture, verifiable in your browser's network tab.

Neighbouring tools worth chaining

These tools share the hash generator's workflow most often; the links exist because people genuinely chain them.

  • File Checksum Calculator: the same SHA family and MD5, applied to a file's raw bytes instead of pasted text.
  • HMAC Signature Generator: keyed SHA-256 hashing for authenticating messages between two parties.
  • SHA-256 Hash Generator: the single-digest view when only the modern default matters.
  • CRC32 Checksum: the 8-character checksum alone, for quick corruption checks on small data.

Where to read further

You came for an MD5 or SHA digest; you leave with a verified answer and a documented method. The sources below are the primary specifications.

Sources and further reading

We cite primary sources (standards bodies, government agencies, official documentation) wherever they exist so you can verify every number on this page yourself.