JSON Tools

Tennis – stylish terminal viewer for CSV, JSON and SQLite data

Tennis is a command-line utility for displaying structured data as attractively formatted tables in the terminal. It provides a convenient way to inspect CSV, TSV, JSON and SQLite data without opening a spreadsheet application or graphical database viewer.

The application concentrates on making tabular information readable within the available terminal space. Its layout engine calculates column widths, truncates content where necessary and adjusts the presentation to accommodate different data types. This is particularly useful when inspecting datasets containing numerous columns or fields with varying lengths.

Tennis is suitable for developers, system administrators and data analysts who frequently examine structured files. It offers lightweight data exploration alongside formatting controls that make tables easier to interpret. Users can select particular columns, rearrange information and inspect representative data without modifying the underlying files.

The utility also includes colour schemes and presentation options for producing readable output in different terminal environments.

This is free and open source software.

Key Features

  • Automatically detects CSV, TSV, semicolon-separated and pipe-separated data.
  • Supports JSON arrays, individual JSON objects and newline-delimited JSON.
  • Displays SQLite database tables using the external sqlite3 command-line utility.
  • Adaptive column layout calculates suitable widths based on terminal dimensions and available content.
  • Custom column sizing options allow selected fields to receive additional display space.
  • Automatic numeric detection, alignment and formatting, including locale-aware presentation.
  • Automatically selects light or dark colour themes according to the terminal background.
  • Configurable table borders, titles, row numbers, alternating row colours and colour scales.
  • Sort rows, reverse their order, shuffle records or filter data using matching text.
  • Select, exclude and reorder columns, including selection by column index.
  • Display the first or last specified number of records using head and tail operations.
  • Peek mode summarises the structure, sample records and statistical characteristics of a dataset.
  • Supports terminal pagers for inspecting wide tables and larger datasets.
  • Handles Unicode characters and emoji with display-width calculations.
  • Cross-platform support – runs on Linux and macOS.

Website: github.com/gurgeous/tennis
Support:
Developer: Adam Doppelt
License: MIT License

Tennis in action

Tennis is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

JSON Tools
jqLightweight and flexible JSON processor. It's like sed for JSON
fxJSON viewer with streaming and mouse support
jaqjq clone focused on correctness, speed, and simplicity.
gronTransforms JSON into discrete assignments to make it easier to grep
gojqPure Go implementation of jq
jlessCommand-line JSON viewer written in Rust
jnvNavigates JSON offering a viewer and filter editor
JSON EditorView, edit, format, and validate JSON
DaselQuery, modify and transform structured data
jidJSON incremental digger by using filtering queries
joSmall utility to create JSON objects
jsonrepairRepair malformed and invalid JSON documents
faqBilled as a more flexible jq supporting additional formats
jelloFilter JSON and JSON Lines data with Python syntax
qqjq but an interoperable configuration format transcoder
json-tuiJSON terminal UI
jqpTUI playground to experiment with jq
emutoSmall language for manipulating and restructuring JSON and other data
svelte-jsoneditorView, edit, format, transform, and validate JSON
qoQuery JSON, CSV, and TSV files using SQL
jqlQuery and process JSON data
JaniceDesktop app for viewing large JSON files
unqeryQuery and transform JSON data
TwigTerminal JSON viewer and YAML viewer
jtcExtract, manipulate and transform source JSON
pyfxPython-native TUI JSON viewer
OTreeInteractive viewer for structured data
kirillJSON validator
jshonParses, reads and creates JSON. It's designed to be as usable as possible
jsawkLike awk, but for JSON
jiqInteractive JSON query tool

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted