MD2 File Hash
This MD2 online tool helps you calculate local or remote file hash by MD2 without uploading file. It also supports HMAC.
What is MD2?
MD2 is a hash function from the MD family, introduced in 1989 by Ron Rivest (RFC 1319). It turns input of any size into a fixed 128-bit (32 hex character) digest. The same input always gives the same output, and a one-bit change in the input gives a completely different result.
Security status: MD2 is broken and obsolete.
Common uses: legacy certificates and historic systems only.
How to calculate MD2 of a file
- Drag a file onto the drop zone, or click it to choose a file.
- The MD2 checksum is computed locally in your browser. Large files are processed in chunks.
- Pick the output format (hex or Base64) in Settings.
- Compare the result with the checksum published by the file provider.
Everything runs in your browser with JavaScript. Your file is never uploaded to a server.
Frequently asked questions
Is this MD2 tool free and private?
Yes. It is free with no sign-up, and the MD2 calculation runs entirely in your browser. Nothing you enter is sent to our servers.
Can I reverse or decrypt a MD2 hash?
No. MD2 is a one-way function, so the original input cannot be recovered from the output. Sites that "decrypt" hashes only look them up in tables of precomputed common inputs.
How long is a MD2 hash?
A MD2 digest is 128 bits, which is 16 bytes or 32 hexadecimal characters.
Should I use MD2 for passwords?
No. Use a slow, salted password hash such as Argon2id, bcrypt or scrypt. For integrity checks, prefer SHA-256 or BLAKE3.