Content-MD5 Builder & Analyzer
Compute or analyze the legacy Content-MD5 HTTP header for text using standard Base64 MD5. The header is deprecated (RFC 7231 §3.3.2), so this is only useful for interoperability audits: MD5 is collision-weak and the header is not a signature. Use Content-Digest or a cryptographic signature instead.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Options
Your result will appear here
Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.
How it works
The legacy header, computed or checked
Build mode hashes the UTF-8 bytes of the entered text with MD5 and returns the Base64 value that Content-MD5 expects, with a stats line for the byte count. Analyze mode recomputes the digest and compares it with the Base64 value you paste, reporting Match, Mismatch or Invalid in a three-column table.
Interoperability audits, not security
The useful case is legacy integration work: an old client library still sends Content-MD5, a third-party endpoint still checks it, or you are auditing what a system actually computes. If you are choosing an integrity mechanism today, use Content-Digest or a cryptographic signature instead — and the tool tells you as much in its warning.
The two options
Mode picks build or verify. In verify mode, Expected Content-MD5 takes the Base64 value to compare against, and a value that does not match the 22-character Base64 MD5 shape is reported as Invalid rather than as a mismatch. In build mode the digest field is ignored.
Caveats
MD5 is collision-weak, so the header proves nothing about authenticity, and it is deprecated by RFC 7231. The tool hashes the UTF-8 encoding of the text you enter, which must match the representation bytes the sender hashed — a server that hashed a compressed body will disagree. It is a per-message checksum, not a signature.
Digested in the tab
The hash and the comparison run entirely in your browser and no request is made, so a header value or a log snippet can be checked without sending it anywhere. It works offline.
Questions
Is Content-MD5 secure?
No. MD5 is collision-weak and Content-MD5 is not an authenticity mechanism. Prefer Content-Digest or a cryptographic signature for modern systems.
What bytes are hashed?
This tool hashes the UTF-8 encoding of the entered text, which must match the representation bytes used by the sender.
Does this make a network request?
No. Digest computation and verification run entirely in your browser.
Related tools
See categoryHTTP Header Analyzer
Paste any HTTP headers and auto-detect, parse and check every one of them.
Identifier Checksum Validator
Check Luhn, IBAN MOD-97, ISBN-10, and ISBN-13 checksums locally.
Text Hash Generator
Hash text with MD5, SHA-1, SHA-256, SHA-384 or SHA-512 and output hex, Base64 or base64url.
:nth-child An+B Evaluator
Parse CSS An+B (:nth-child, :nth-of-type) microsyntax, validate it, and list which child indices it matches.