MD5 hash generator

Turns what you type into a 128-bit MD5 digest as defined in RFC 1321, handy for matching legacy checksums and values stored by older systems.

Loading the tool…

Processing and privacy: The result is calculated inside your browser and your data is not sent to any server.

How to use it

  1. Enter text or bytes and input type.
  2. The result appears straight away and updates as you edit.
  3. Copy the result, or copy a link that keeps the same values to share it.

How it is calculated

The text is encoded as UTF-8, padded to a multiple of 512 bits, and each block runs through the 64 steps of the RFC 1321 compression function; the output is four 32-bit words in little-endian order.

Example

Inputs: Input type = Text (UTF-8). Result: MD5 digest (hex): 900150983cd24fb0d6963f7d28e17f72; Input size: 3 bytes; Digest length: 128 bits.

abc
900150983cd24fb0d6963f7d28e17f72

Limits and caveats

  • MD5 is broken for collisions, so do not rely on it for passwords or digital signatures.
  • The digest covers the text exactly as typed: a trailing space or newline changes it completely, and line breaks count as LF.

Questions about this tool

Can an MD5 hash be decrypted?

No, hashing is one way and is not encryption. Common words can still be guessed from precomputed tables, which is why MD5 is unsafe for passwords.

Why does my Arabic text give a different hash elsewhere?

This tool encodes text as UTF-8. A site that uses Windows-1256 produces different bytes and therefore a different digest.

When is MD5 still useful?

For spotting accidental corruption and matching checksums published next to older files, where nobody is deliberately crafting a collision.