Tad Quick Start

Tad is a fast viewer for tabular data, with sorting, filtering and pivot tables.

Tad opens:

CSV and TSV
.csv, .tsv and other delimited text files. Tad works out the delimiter and the column types.
Parquet
Apache Parquet files, and folders of them
Databases
DuckDB and SQLite database files: their tables are listed in the data sources panel
Saved views
.tad files, saved with File › Save As…

Tad reads your file with DuckDB and asks it only for the rows on screen, so large files open quickly.

Opening a file

To try Tad out, open this example, 5,000 movies from IMDB, which comes with Tad:

The pictures below use movie_metadata.csv, 5,000 movies from IMDB, which comes with Tad: open it from Tad's Help › Quick Start Guide.

Tad showing movie_metadata.csv: a grid of 5,043 rows, with each column's type next to its name
A table, with each column's type by its name and the row count at the bottom right.

Columns

Click a column's header to sort by it, and again to reverse the order; shift-click another header to sort by that too. Drag a header to move the column, or its right edge to resize it.

Right-click a header (or click its ⌄) for the column's menu:

The menu of the gross column: sorting, pivoting, filter, new column, format, hide, the aggregate to show in pivot rows, and colors

Edit › Copy copies the selected cells; Copy with Headers includes the column names.

View settings

The second button on the left opens View settings, where the whole view is set up:

View settings: the Rows, Columns and Sort shelves, the column list with Show, Pivot and Sort checkboxes, and options

Filters

Click + Filter under the grid and pick a column, or Any column to find text anywhere in a row. For a text column, tick the values to keep (each with its count) or match text; for a number or a date, compare it with a value or give a range.

Filtering by country: a list of the 66 countries with checkboxes and a count for each

Each filter is a chip in the filter bar: click it to change it, or × to remove it. The count at the bottom right says how many rows pass.

Pivot tables

A pivot table groups the rows that have the same values in some columns, and sums up the other columns for each group. Here are the top-grossing movies by country and director:

Movies pivoted by country and director, sorted by gross, with Steven Spielberg's movies listed under USA

To make this view:

  1. Filter gross to is not NULL.
  2. Pivot rows by country, then by director_name.
  3. In View settings, set Label leaf rows with to movie_title.
  4. Sort by gross, descending.
  5. Drag gross's header to the left, next to the pivot column.

Click a row's › to open it. Pivoting columns by a column (Pivot columns by…) spreads its values across the top, as in a spreadsheet's pivot table.

Undo, saving and export

Data sources

The first button on the left opens Data sources. Open a folder, or a DuckDB or SQLite database, and it lists the files or tables in it. Click one to open it in the same window.

The data sources panel showing a folder with CSV files, one of them open

Large files

Tad copies a CSV file into DuckDB when it opens it, and reads a Parquet file where it is. On a recent Mac, a 1.2 GB CSV file (10 million rows) opens in under a second and a 6 GB one (50 million rows) in about 3 seconds; then sorting, filtering and pivoting take well under a second.

The command line

On macOS, to run tad from a terminal, link the launcher script into a folder on your PATH:

sudo ln -s /Applications/Tad.app/Contents/Resources/tad.sh /usr/local/bin/tad

On Linux, the packages install the tad command. On Windows, add Tad's install folder to your PATH.

Then:

tad somefile.csv
tad data/*.parquet           # several files, as one table
tad https://example.com/data.parquet
cat somefile.csv | tad       # from standard input

To see the SQL that Tad runs, keep it in the foreground and show the queries:

tad -f --show-queries somefile.csv

tad --help lists the other options.

Your data, and updates

Tad reads your files on your computer, and doesn't send them anywhere. It has no account and no usage tracking. It goes online only to download a DuckDB extension the first time a file needs one (SQLite and Excel files, and web addresses), and, once a day when it starts, to ask GitHub whether there's a newer version of Tad. If there is, it says so at the bottom of the window.

To turn that check off, uncheck Check for Updates at Launch (in the Help menu, or the Tad menu on macOS), or set the environment variable TAD_NO_UPDATE_CHECK=1.

Feedback

Found a bug, or have an idea? Use Help › Report a Problem or Suggest a Feature…, or open an issue on GitHub. Have fun!