Favicon of xsv

xsv

Command-line tool for indexing, slicing, analyzing, splitting and joining CSV files with instant record access and high-performance data manipulation capabilities.

CLI toolsDeprecated

xsv is a command-line program designed for working with CSV files at scale. It provides fast, composable commands for indexing, slicing, analyzing, splitting and joining CSV data with a focus on performance and simplicity.

The tool excels at handling large CSV files through intelligent indexing that enables constant-time record access. Once indexed, operations like counting rows, slicing data, and gathering statistics become nearly instantaneous—even on files with millions of records.

Key capabilities include:

  • Data exploration: headers, stats, frequency tables, and flattened views
  • Data manipulation: select columns, slice rows, sort, search with regex
  • Data transformation: cat, split, join, partition, and format conversion
  • Performance optimization: index creation for blazing-fast queries on large datasets

xsv works best for data analysts, programmers, and students exploring small to medium datasets in a UNIX-like fashion. It's particularly valuable when you need to count records, manipulate CSV data, and perform quick analysis without leaving the terminal.

Note: xsv is no longer actively maintained. The project recommends using qsv or xan as modern alternatives, with xan being considered the newer successor.

Install

Brew
$ brew install xsv

Features

JSON outputScriptable

Media

Pros

4
  • Fast CSV manipulation and analysis
  • Provides instant record access with indexing
  • Composable commands for complex workflows
  • Handles exotic CSV formatting rules

Cons

1
  • Tool is unmaintained and recommends alternatives

Related tools

Categories:

Share:

Quiet lately: No commits in 1 year — this project might not be actively maintained.

Auto-fetched .

Recent releases

Similar to xsv

Favicon

 

  
 
Favicon

 

  
 
Favicon