Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

icdiff

jefftk.com

  • Free plan
  • macOS
  • Linux
7.2 Club score Visit jefftk.com

What icdiff is

icdiff is a free, open-source command-line tool for comparing two files in a side-by-side terminal view. It highlights differences between similar files, particularly small edits within existing lines, and is meant to make changes easier to see rather than replace diff for every case. Users can highlight changes with foreground or background colors and customize the color map. Display options include line numbers, labels, whole-file output, whitespace highlighting, line truncation and recursive directory comparison. It supports two-way comparisons, not three-way merges, and the README describes using it with Git, Subversion and Mercurial. Installation options listed by the maker include pip, apt and Homebrew; the README also lists AUR and Nix. The program runs on Linux and macOS and can be placed on the user’s PATH. Input and output encoding default to UTF-8, with command-line options to specify encoding. Screen-width autodetection works only on Unix, and the exclude-lines option cannot be combined with line numbers.

Who it suits

icdiff suits command-line users on Linux or macOS who want a colorized, side-by-side view of file changes. It may be useful alongside Git, Subversion or Mercurial workflows.

Good to know, and what to watch

  • Shows two files in a side-by-side terminal view.
  • Can highlight whitespace and small changes.
  • Supports recursive directory comparison.
  • Works with Git, Subversion and Mercurial.
  • It does not support three-way merges.
  • Screen-width autodetection is Unix-only.
  • Exclude-lines cannot be combined with line numbers.

icdiff

Free

Open source

The verdict

icdiff adds a configurable side-by-side view for two-file comparisons and can help make subtle edits easier to spot. Its limits include no three-way merge and two option constraints to consider.

What the maker publishes

Color options
It can highlight changes with foreground or background colors, and users can customize the color map. source
Display options
Options include line numbers, labels, whole-file output, whitespace highlighting, line truncation, and recursive directory comparison. source
Encoding
Input and output encoding default to UTF-8 and can be specified with command-line options. source
File comparison
The command accepts left and right files and shows their differences in a two-column view. source
Install methods
The maker lists pip, apt, and Homebrew installation on the product page; the README also lists AUR and Nix. source
License
The README says the maker releases their changes under the same license as Python's difflib.HtmlDiff and that the license is GPL compatible. source
Limit
Screen-width autodetection is Unix-only, and the exclude-lines option is incompatible with line numbers. source
Maker location
Jeff Kaufman's About page says he lives in the Boston area. source
Positioning
The maker describes icdiff as a tool for seeing changes that are not immediately obvious from diff, rather than a replacement for diff in all circumstances. source
Purpose
icdiff highlights changes between similar files in a side-by-side terminal view, especially small changes within existing lines. source
Support
The product page links to the maker's contact page. source
Terminal use
icdiff is installed as a command-line program and can be placed on the user's PATH. source
Version control
The README describes using icdiff with Git, Subversion, and Mercurial. source

Checked against the maker's pages on 9 Oct 2026.