MD5 Generator
Generate MD5 hash from text or string.
How to Use MD5 Generator
Paste the exact string to hash into the box, remembering that spaces and letter case are significant.
Optionally add a salt or prefix value if the system you are matching uses one.
Click the "Process" button to generate the 32-character MD5 digest in lowercase hex.
Compare it with an expected checksum, or copy it into your query, cache key, or filename.
Features
Frequently Asked Questions
Related Tools
JSON Formatter
Format and beautify JSON data with proper indentation.
JSON Validator
Validate JSON data and find syntax errors.
JSON Minifier
Minify JSON by removing whitespace and formatting.
HTML Formatter
Format and beautify HTML code.
HTML Minifier
Minify HTML code to reduce file size.
CSS Formatter
Format and beautify CSS code.
About MD5 Generator
MD5 turns any string into a 128-bit digest, written as 32 hexadecimal characters. It dates from 1992 and was the default fingerprint function for two decades, which is why it appears in legacy databases, old Gravatar-style avatar URLs, HTTP ETag headers, and file de-duplication scripts that nobody has rewritten yet.
It should not be used for anything security related. Collision attacks have been practical since 2004, and chosen-prefix collisions can be generated in seconds on a laptop. That means an attacker can craft two different files with the same MD5, so the digest cannot prove a file is the one you expected. Password storage is an even worse fit, because MD5 is fast enough to brute force at billions of attempts per second.
For non-adversarial purposes it is still perfectly serviceable. Detecting accidental file changes, generating a stable cache key from a string, and matching a legacy checksum all work fine, and this generator produces exactly the lowercase 32-character digest that PHP md5(), md5sum, and every other implementation returns, so your values will match.
When to Use This Tool
- Reproducing a legacy MD5 checksum so an old system accepts your value
- Looking up a Gravatar-style avatar address from an email hash
- Checking whether a downloaded file has changed since you last saw it
- Building a cache key or filename from a short string
- Matching a hash stored in an existing database column