TL;DR — Quick Summary

csvlens views CSV files interactively. Navigate rows and columns, search, filter, sort — like less but for tabular data with aligned columns and sticky headers.

csvlens makes CSV readable. Aligned columns, sticky headers, search — tabular data in the terminal.

Installation

# macOS
brew install csvlens

# Cargo
cargo install csvlens

Usage

# Open CSV file
csvlens data.csv

# Custom delimiter
csvlens -d '\t' data.tsv

# Pipe from command
cat large-data.csv | csvlens

Keybindings

j/k       → scroll up/down
h/l       → scroll left/right
/         → search
f         → filter rows
n/N       → next/prev match
g/G       → go to top/bottom
q         → quit

Summary

  • csvlens views CSV files interactively in the terminal
  • Aligned columns with sticky headers
  • Search, filter, and sort data
  • Handles large files with streaming
  • Written in Rust — fast, pipe-friendly