MD5 Hash Generator

Type or paste text — or drop a file — and instantly get its MD5 hash, computed locally in your browser.

0 characters

Hash a File

Select any file — it is read locally, never uploaded.

No file selected

About MD5

MD5 (RFC 1321) produces a 128-bit (32 hex character) digest. It is widely used for checksums and data integrity, but is not collision-resistant and must not be used for password storage or digital signatures. For security-sensitive hashing use SHA-256 or stronger.

32 hex characters

Enter text on the left to generate the hash

Common Hash Algorithm Comparison

Algorithm Bits Hex chars Secure?
MD5 128 32 No
SHA-1 160 40 No
SHA-256 256 64 Yes
SHA-512 512 128 Yes

Summary

Type or paste text — or drop a file — and instantly get its MD5 hash, computed locally in your browser.

How it works

  1. Type or paste any text into the input area.
  2. The MD5 digest is computed live in your browser using a pure JavaScript RFC 1321 implementation.
  3. The result is displayed in lowercase hexadecimal (32 characters).
  4. Optionally toggle uppercase output or trim leading/trailing whitespace before hashing.
  5. To hash a file, click "Hash File" and select any file — the File API reads it locally.
  6. Use the Copy button to copy the hash to your clipboard.

Use cases

Frequently Asked Questions

Related tools

Last updated: 2026-05-23 · Reviewed by Nham Vu