view csv

Posted on:

ov is a very fast and feature-rich CSV viewer. It can instantly open even large CSV files that exceed your system’s memory, and provides advanced features such as column alignment, color highlighting, column shrinking, and fixed columns for comfortable data browsing.
With ov, you can efficiently handle, search, and analyze tabular data directly in your terminal.

ov -H1 -C -d',' -c --column-rainbow MOCK_DATA.csv

ov-csv.gif ov-csv.gif

v0.37.0 added the --align option to align columns.

ov -H1 -C -d',' -c --column-rainbow --align MOCK_DATA.csv

No alignment

No alignment No alignment

Alignment (align)

Alignment Alignment

Alignment (align) without wrap

Alignment without wrap Alignment without wrap

Column shrink

You can also shrink columns by enabling alignment. Column shrink can be toggled by pressing the s key (default) when selecting a column.

Column shrink Column shrink

Fixed column display

Fixed column display is also possible. You can toggle it by pressing the F key (default) when selecting a column.

Column right alignment

Column right alignment is also possible. You can toggle it by pressing the alt+a key (default) when selecting a column.