Skip to main content

Command-line File Verify - versatile file checksum creator and verifier

Project description

cfv – Command-line File Verify

cfv is a utility to test and create a wide range of checksum verification files. It currently supports testing and creating sfv, sfvmd5, csv, csv2, csv4, md5, bsdmd5, sha1, sha224, sha256, sha384, sha512, torrent and crc files. Test-only support is available for par, par2.

cfv was originally written by Matthew Mueller (original project home). This is a friendly fork of cfv maintained by David Gnedt.

Build Status Supported Python versions License Latest PyPI version Number of PyPI downloads


Python ≥ 3.5 – older versions might work, but are unsupported. For Python 2 support, see the python2 branch.



You can get the latest releases via the Python Package Index (PyPI) or from the Github releases page. Other distribution ways are work-in-progress, see issue #4.

From PyPI

If you have a working Python installation with pip, you can follow these installation steps:

  1. pip install cfv
  2. read man page man cfv or read usage cfv -h and have fun ☺️

From Source

Download a snapshot from the Github releases page or checkout the development version via Git.

  1. python install
  2. read man page man cfv or read usage cfv -h and have fun ☺️
  3. optional: run tests to verify correct operation: cd test; ./


Contributions are welcome, just open a pull request ☺️

Alternative Tools

Here is a community-compiled list of alternative tools that cover some of cfv's functionality (without warranty):

  • GNU coreutils *sum: md5sum, sha1sum, sha224sum, sha256sum, sha384sum, sha512sum, ...
  • cksfv
  • rhash (with -rc does more or less the same thing as cfv, performance is good and it supports most hash formats including bittorrent. It lacks cfv's -m though.)
  • aria2c (to verify torrent checksums)
  • bsdsfv (limited to 1024 files for some reason)
  • pure-sfv (doesn't seem to display progress information, even with -v)
  • bcfv (a Bash frontend to checksum programs (SHA, Blake3, MD5))


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. See the file COPYING for more information.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cfv-3.0.0.tar.gz (50.5 kB view hashes)

Uploaded source

Built Distribution

cfv-3.0.0-py3-none-any.whl (49.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page