TrueRows Table Viewer
Open CSV, TSV, XLSX and Parquet files as a table inside VS Code: click a column to sort it,
type to filter the rows, copy a cell or the whole view. Free. Works in VS Code on the desktop
and in VS Code for the Web (vscode.dev, github.dev).
Privacy: this extension reads files locally and sends nothing. It makes no network
requests and collects no telemetry.
Features
- Sort by any column (click the header: ascending, descending, off). Numbers sort as numbers,
dates as dates, empty cells go last.
- Filter all columns at once with the box at the top, or one column with the funnel button
in its header. Case-insensitive, matches any part of the text.
- Handles large files: only the rows on screen are drawn, so a million rows scrolls smoothly.
- Resize columns by dragging the edge of a header.
- Click a cell and press Ctrl+C (Cmd+C on a Mac) to copy it. "Copy as CSV" copies the rows
you see, in the order you see them.
- "Export CSV…" and "Export JSON…" save the rows you see, in the order you see them, all
columns, to a file you choose (CSV with a header row; JSON as a list of objects keyed by
column name, empty cells as null). The same two commands are in the Command Palette.
- Keyboard: click a cell, then arrow keys move it, PageUp and PageDown move a screenful,
Home and End go to the first and last column, Ctrl+Home and Ctrl+End to the first and last cell.
- XLSX workbooks with several sheets get a sheet picker.
- Follows your colour theme, light, dark or high contrast.
- Reloads by itself when the file changes on disk.
| Format |
Opens by default |
Notes |
.xlsx .xlsm .xls |
yes |
Dates show as ISO text, numbers stay numbers. |
.parquet |
yes |
All standard compression codecs. Lists and structs show as JSON text. |
.csv .tsv .tab |
no, choose it |
Delimiter (comma, semicolon, tab, pipe) is detected for .csv. UTF-8 and UTF-16 text. |
CSV and TSV files keep opening in the normal text editor. To see one as a table, use
"Open in Table Viewer" from the right-click menu in the Explorer or the button in the editor
title bar, or "Reopen Editor With..." and pick TrueRows Table Viewer. "Open as Text" goes back.
Settings
| Setting |
Default |
What it does |
truerows.tableViewer.firstRowIsHeader |
true |
Use the first row of CSV and TSV files as column names. |
truerows.tableViewer.maxRows |
1000000 |
Show at most this many rows; a warning says when rows were left out. |
truerows.tableViewer.maxFileSizeMB |
512 |
Files bigger than this are not loaded. |
Limits
The viewer is read-only. It shows the values stored in a spreadsheet, not formulas, and
each sheet's rows up to the row limit (pick the sheet at the top). Very large workbooks are limited by the memory
of the editor.
Licence
MIT. XLSX reading uses SheetJS (Apache-2.0); Parquet reading uses hyparquet (MIT).
| |