UTILS.
Private by default
md5

MD5 Hash Generator

Compute the 32-character MD5 hash of any text, updating live as you type.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →
output

About this tool

MD5 Hash Generator computes the 32-character hexadecimal MD5 digest of whatever text you type or paste. The hash updates on every keystroke and the Copy button copies it. The text is first converted to UTF-8 bytes, so accented letters, other scripts and emoji hash the same way they do in most command-line tools and programming languages. Browsers do not offer MD5 in Web Crypto, so the tool uses a short JavaScript implementation of RFC 1321 that runs on your device.

Two details trip people up. Line breaks in the box are normalised to a single newline (LF), so text pasted from a file with Windows line endings is hashed differently from the file itself, and any trailing space or newline you type is part of the input. An empty box returns d41d8cd98f00b204e9800998ecf8427e, the well-known MD5 of empty input. The tool hashes text only; to checksum a file, use a file hashing tool or the command line.

MD5 is fine for spotting accidental changes, finding duplicates and matching legacy checksums, but it is broken for security: attackers can build two different inputs with the same hash, and MD5 hashes of common passwords are easy to reverse by lookup. Use SHA-256 or stronger when integrity matters, and a slow dedicated hash such as Argon2 or bcrypt for passwords.

Frequently asked questions

Is MD5 safe for passwords?
No. MD5 is broken for security use; treat it only as a fast checksum or fingerprint, not for passwords or signatures.
Why isn't MD5 in WebCrypto?
Browsers omit MD5 because it is insecure, so this tool runs a compact MD5 implementation in JavaScript instead.
Why does my hash differ from the one for my file?
Usually line endings or a trailing newline. The text box normalises line breaks to LF, while a file may contain CRLF or end without a newline. Also make sure the file is UTF-8 text.
Can I hash a file?
No, this tool hashes the text in the box only. Use a file checksum tool or the md5sum or md5 command for files.

More tools