md5 is a command-line utility for generating and verifying message digests using the MD5 algorithm. It provides a compact way to calculate a checksum for a file or text string and compare that result against a previously recorded value.
The software was developed as part of a collection of tools for detecting changes in large sets of files. It remains useful for working with historical checksum records, comparing file contents, and maintaining compatibility with older software that uses MD5 digests. The resulting hash is a fixed-length value represented by 32 hexadecimal characters, allowing the contents of files of different sizes to be compared through a common format.
MD5 is no longer considered cryptographically secure because practical collision attacks have been demonstrated. It should therefore not be used to establish authenticity or protect security-sensitive data against deliberate modification. Modern cryptographic hashes such as SHA-256 and BLAKE3 are preferable for those purposes. The utility remains suitable for legacy workflows where compatibility with existing MD5 records is necessary.
This is free and open source software.
Key Features
- Calculates 128-bit MD5 message digests for files.
- Hashes text supplied directly as a command-line argument.
- Reads data from standard input for use in command pipelines.
- Verifies a file or text value against an expected MD5 digest.
- Returns distinct exit statuses for successful verification, mismatch, and processing errors.
- Supports processing multiple files in one invocation.
- Optional lowercase hexadecimal output.
- Can suppress filenames when displaying generated digests.
- Supports directing checksum output to a specified file.
- Cross-platform support – runs on Linux and Windows.
Website: www.fourmilab.ch/md5
Support:
Developer: John Walker
License: Public Domain
md5 is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| CLI Data Hashing Tools | |
|---|---|
| xxHash | Non-cryptographic hash algorithm |
| b3sum | Implementation of the BLAKE3 hash function |
| RHash | Calculate and verify magnet links and various message digests |
| md5sum | Compute and check MD5 message digest; part of GNU Coreutils |
| cfv | Test and create checksum files |
| Jacksum | Work with checksums, CRCs, and message digests |
| md5 | Generate / check MD5 message digest |
| digup | Update md5sum or shasum digest files |
| cksum | Compute and verify file checksums |
| Hashrat | Hash-generation utility |
| Directory Checksum | Recursively calculate checksums for directory contents |
| paq | Fast BLAKE3 hashing tool for files and directories |
| ddgst | Hashing and checksum utility |
| QCalcFileHash | Hash calculator |
| hashdir | Checksum directories and files |
| Hash Calculator | Calculates around 50 cryptographic hashes of strings and files |
| dano | Hashdeep/md5tree for media files |
| sha3sum | Keccak, SHA-3, SHAKE, and RawSHAKE checksum utilities |
| luha | Simple file checksum tool |
| filepack | File hashing and verification |
| bitrat | Fast file checksum tool supporting multiple hash algorithms |
| b2sum | Calculate BLAKE2 checksums |
| Additional tools: | |
| hashit | Generate file hashes quickly |
| hashdeep | Generate and verify file hashes |
| cksfv | Create and check sfv listings using CRC32 checksums |
| cksfv.rs | Reimplements the classic cksfv tool |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.