Open files in VS Code and Cursor / Tables and data

See a CSV file as a table in VS Code

VS Code opens CSV files as plain text. Pick the tool by what you need. Rainbow CSV colors each column in the text. Edit CSV gives you a grid to edit in. Table Viewer opens a read-only table you can sort and filter, and it stays fast at 1,000,000 rows. CSV files keep opening as text by default, so editing still works.

Install in VS CodeMarketplace pageOpen VSX (Cursor, Windsurf, VSCodium)

Free, MIT license. Extension ID zovo.table-viewer-vscode, version 0.3.3. Needs VS Code 1.90.0 or newer.

A 2,226 row CSV filtered to mag >=4.5 and the word Japan, sorted by depth, with 4 rows copied as JSON
A 2,226 row CSV filtered to mag >=4.5 and the word Japan, sorted by depth, with 4 rows copied as JSON.

Steps in VS Code

  1. Install Table Viewer from the Marketplace, or press Ctrl+P (Cmd+P on macOS) and run ext install zovo.table-viewer-vscode.
  2. Open the .csv or .tsv file.
  3. Click the table icon at the top right of the editor, or right-click the file and pick "Open in Table Viewer".
  4. Sort by clicking a header. Filter with the row under the headers. The delimiter is detected for you.
  5. Leave it open while a script writes to the file: the table reloads and keeps your sort and filters.

Steps in Cursor, Windsurf or VSCodium

  1. Open the Extensions view with Ctrl+Shift+X (Cmd+Shift+X on macOS).
  2. Search for zovo.table-viewer-vscode and click Install. Cursor, Windsurf and VSCodium install from Open VSX, where it is published as zovo/table-viewer-vscode.
  3. If your editor has no gallery, download the .vsix from the Open VSX page and run "Extensions: Install from VSIX...".
  4. Then use it the same way as in VS Code.

What Table Viewer handles

What it does not do

Other options

Install counts and Open VSX status were checked on 8 November 2026. Descriptions in quotes are the extensions' own.

Questions

How do I make CSV files always open as a table?

Right-click the tab, choose "Reopen Editor With...", then "Configure default editor for '*.csv'" and pick Table Viewer. You can switch back the same way.

Can I run SQL on a CSV file?

Rainbow CSV has SQL-like queries. Table Viewer filters per column but has no SQL today.

Does it send my data anywhere?

No. Table Viewer makes no network requests and has no telemetry.

More about Table Viewer

Read the Table Viewer page for every feature and setting, or the source code on GitHub.

Support this work

If this extension saves you time, you can support the work on GitHub Sponsors. Monthly tiers start at $5, and one-time tiers start at $15. Sponsorship is optional, and the tool works the same without it.