MD5 Hash Generator
Developer Tools
Generate MD5 hashes from text or files. Output is shown in hex and Base64 — useful for legacy checksums and non-security comparisons.
Runs entirely in your browserAbout MD5 Hash Generator
MD5 produces a 128-bit (16-byte) digest from any input. It was the de facto standard for checksums and content fingerprinting for decades, and you'll still find it in many places: file integrity checks for downloads, ETags in HTTP, cache keys, Gravatar URLs (which hash email addresses), and legacy hash columns in databases. MD5 is fast, simple, and produces a short, readable hash.
Important: MD5 is cryptographically broken. Collision attacks are practical, so MD5 must not be used for password hashing, digital signatures, or any security-sensitive comparison. For those, use SHA-256 or a dedicated password hash like bcrypt. MD5 is still fine for non-adversarial use: detecting accidental corruption, generating cache keys, or matching against systems that already use it. This tool runs MD5 entirely in your browser via the `js-md5` library.
How to use
- 1
Choose Text or File tab
Pick Text to hash a string, or File to hash an uploaded file.
- 2
Provide the input
For text: type or paste. For file: drop or click to pick.
- 3
Read the hash
Hex and Base64 outputs appear below with per-row Copy buttons.
Examples
MD5 of an empty string
Memorable constant: a well-known fingerprint.
Output
Hex: d41d8cd98f00b204e9800998ecf8427eHashing the canonical test phrase
The pangram used in many MD5 examples.
Input
The quick brown fox jumps over the lazy dogOutput
Hex: 9e107d9d372bb6826bd81d3542a419d6Frequently asked questions
Is MD5 secure for passwords?+
No. MD5 is fast (which is bad for password hashing) and has known collision attacks. Use bcrypt, scrypt, or argon2 for passwords; SHA-256 for general fingerprinting that doesn't need to resist adversaries.
When is MD5 still appropriate?+
Non-adversarial integrity: detecting accidental corruption, cache keys, ETags, deduplication keys, content addressing for non-security purposes, and compatibility with legacy systems that already use MD5.
Why does MD5 still appear everywhere?+
Inertia and compatibility. Many systems (Gravatar, older download checksums, legacy databases) standardized on MD5 before its weaknesses were widely understood, and migration is expensive.
How long is an MD5 hash?+
128 bits — 32 hexadecimal characters or 24 Base64 characters with padding (22 without).
Is my input sent anywhere?+
No. All hashing happens locally using js-md5; no network calls are made.
Related tools
JSON Formatter
Format, beautify, and explore JSON with an expandable tree view. Includes indent control and minify.
JSON Validator
Validate JSON structure and pinpoint syntax errors by line and column.
HTML Formatter
Clean and indent messy HTML for better readability.
CSS Formatter
Format and organize CSS automatically with configurable brace and indent styles.
SQL Formatter
Beautify SQL queries with proper indentation across Postgres, MySQL, SQLite, and MSSQL dialects.
XML Formatter
Format XML into a clean, readable structure with attribute control.