MD2 File Hash

This MD2 online tool helps you calculate local or remote file hash by MD2 without uploading file. It also supports HMAC.

Input
File
Drag and drop the file here or click to select a file. It will not upload the file.
Output
Settings

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

  1. Drag a file onto the drop zone, or click it to choose a file.
  2. The MD2 checksum is computed locally in your browser. Large files are processed in chunks.
  3. Pick the output format (hex or Base64) in Settings.
  4. 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.

Related tools