Diff Tools

csvdiff – fast diff tool for comparing CSV files

csvdiff is a fast diff tool for comparing CSV files. It finds out the additions and modifications.

It is not a traditional diff tool. It is most suitable for comparing CSV files dumped from database tables. The diff tool is orders of magnitude faster on comparing line by line.

This is free and open source software.

Key Features

  • Supports additions, modifications, deletions, and non comma separators.
  • Supports selective comparison of fields in a row.
  • Supports specifying group of columns as primary-key i.e uniquely identify a row.
  • Support ignoring columns e.g ignore columns like created_at timestamps.
  • Compares CSVs of million records in under 2 seconds.
  • Supports lots of output formats e.g colored git style output or JSON for post-processing:
    • diff: Git’s diff style.
    • word-diff: Git’s --word-diff style.
    • color-words: Git’s --color-words style.
    • json: JSON serialization of result.
    • legacy-json: JSON serialization of result in old format.
    • rowmark: Marks each row with ADDED or MODIFIED status.

Website: github.com/aswinkarthik/csvdiff
Support:
Developer: aswinkarthik
License: MIT License

csvdiff is written in Go. Learn Go with our recommended free books and free tutorials.


Related Software

Terminal-Based Diff Tools
difftasticStructural diff tool that compares files based on their syntax
diff-so-fancyAttractive diffs with diff-highlight and more
deltaViewer for git and diff output
icdiffAn improved colored diff
diffoscopeIn-depth comparison of files, archives, and directories
colordiffWrapper for diff with pretty syntax highlighting
diffsitterSemantic diff tool
objdiffLocal diffing tool for decompilation project
ydiffTool to view colored, incremental diff in a version controlled workspace
diffrWord-by-word diff highlighting utility
dyffdiff tool for YAML files
WdiffWordwise implementation of diff
dwdiffdiff program that operates at the word level
oyoStep-through diff viewer
diffymlCompares YAML documents by their structure
diff2html-cliGenerate HTML diffs
biodiffTerminal-based binary diff viewer
dirdiffCompute the differences between two directories
csvdiffFast diff tool for comparing CSV files
VBinDiffVisual binary diff
riffWrapper around diff
csv-diffDiffing CSV and JSON files
xmldiffCompare XML documents
vblTerminal-based hexadecimal viewer
PatdiffFile diff using the Patience Diff algorithm
dead-ringerBinary diff utility
sesdiffGenerates a shortest edit script
semdiffSemantic diff tool written in Rust

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted