Skip to tool

MD4 Hash Generator

Generate MD4 digests from text or files up to 2 GiB each for legacy compatibility. MD4 is cryptographically broken.

Runs in your browser — your input is processed on this device and never uploaded.

Input

Pasted text up to 100 MiB, read as UTF-8, or files up to 2 GiB each.

Result

Results appear here.

About this tool

On this page

What is MD4?

MD4 returns 128 bits for any input: 16 raw bytes, or 32 hexadecimal characters. It is thoroughly broken, and it is here only because a handful of legacy protocols and file formats still encode MD4 values.

How to use the MD4 generator

Data
Type text or upload files. Text can be up to 100 MiB, read as UTF-8, and each file up to 2 GiB. Every input is hashed on its own.
Output
The raw digest bytes and the hexadecimal form.

Why anyone still computes MD4

MD4 is cryptographically broken, and more thoroughly than most. Practical collision attacks against it are old and cheap.

The reason it exists as a tool is compatibility, and nothing else. Reproducing an MD4 value is occasionally unavoidable when working with old systems. If a specification does not explicitly demand MD4, you do not want it.

MD4 alternatives

Everything. BLAKE3, SHA-256 and SHA3 are all unbroken and no harder to use. For non-cryptographic integrity checks, CRC-32 and Adler-32 are faster and do not pretend to offer security.

MD5 is the closer relative and equally broken, so moving from MD4 to MD5 is not an upgrade worth making.

Things to know about MD4

MD4 is the ancestor of a whole line of hashes. The design ideas behind it fed into MD5, SHA-1 and the SHA-2 family, so the structure that was eventually broken here reappears, strengthened, in algorithms still in service. That shared lineage is a large part of why SHA-3 was standardized on a completely different construction.

Warning

Use MD4 only when an existing format requires it. It must not be used for passwords, signatures, certificates, authentication, or integrity against deliberate modification.

Browse

Find similar tools by category or tag.