Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>CSV XLSX Table ViewerNew to Visual Studio Code? Get it now.
CSV XLSX Table Viewer

CSV XLSX Table Viewer

Aakash Rohilla

|
13,969 installs
| (3) | Free
A VS Code custom editor for CSV, TSV, XLSX, and XLS files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CSV XLSX Table Viewer logo

CSV XLSX Table Viewer

Inspect and edit CSV, TSV, XLSX, and XLS files without leaving VS Code. Open a file as a table, find the row or value you need, make a change, and save it back in its original format.

Install from the Visual Studio Marketplace · Source code · Read the product story

License: MIT

CSV XLSX Table Viewer showing a table in VS Code

Start in under a minute

  1. Install CSV XLSX Table Viewer from the Marketplace.
  2. Open a .csv, .tsv, .xlsx, or .xls file in VS Code.
  3. Search, sort, switch workbook sheets, or edit a cell and save.

You can also install from the VS Code Extensions view (⌘⇧X on macOS, Ctrl+Shift+X on Windows/Linux) by searching for CSV XLSX Table Viewer, or from a terminal where the code command is available:

code --install-extension aakashrohilla.csv-xlsx-table-viewer

If a file opens as plain text, choose Open as Table from the editor title or Explorer context menu.

A small workflow, kept in your editor

CSV XLSX Table Viewer turns a file that usually sends you to another app into an editor surface beside your code. CSV and TSV files become searchable tables. Excel workbooks keep their sheets together. When you make a change, save writes the data back to the original file and format.

CSV XLSX Table Viewer preview mode

What you can do

  • Open CSV, TSV, XLSX, and XLS in a table editor.
  • Automatic header row detection with a 1-click Header Row toggle directly in the toolbar.
  • Search and sort data, with raw and summary views for inspection.
  • Edit cells and save supported files in place.
  • Move between workbook sheets with clickable tabs or Alt+← / Alt+→.
  • Undo and redo edits and sorts with VS Code's standard shortcuts.
  • Match the editor to your workspace with automatic, colorful, or minimal styling and comfortable or compact density.

Where it draws the line

  • Large inputs use a preview-oriented path based on configurable row and byte limits. Editing a previewed file loads it for editing and may use substantial memory.
  • Spreadsheet formulas are not calculated; cells are treated as values.
  • Adding, deleting, or renaming rows, columns, and sheets is not supported.
  • Some advanced Excel features may not survive editing and saving unchanged; validate important workbooks before relying on them.

The extension requires VS Code ^1.85.0 and a Node extension host. VS Code for the Web is not supported.

Settings

Open Preferences: Open Settings and search for CSV XLSX Table Viewer.

Setting Default What it controls
csvViewer.hasHeader auto auto, always, or never treat row 1 as column header
csvViewer.themeMode auto auto, colorful, or minimal appearance
csvViewer.density comfortable comfortable or compact row spacing
csvViewer.maxRowsForClientSort 200000 Maximum rows allowed for client-side sorting
csvViewer.previewRowLimit 200000 Row threshold for switching to preview-oriented mode
csvViewer.previewByteLimit 104857600 Byte threshold (100 MiB) for preview-oriented mode

Build and run locally

Requirements: Node.js, npm, and VS Code.

git clone https://github.com/heyaaakash/csv-xlsx-table-viewer.git
cd csv-xlsx-table-viewer
npm ci
npm run build

Run these commands from a clone of the source repository. Open the project in VS Code and press F5 to launch an Extension Development Host. The build bundles the extension into dist/1.0.0/extension.js. To create a VSIX, install the VS Code Extension Manager with npm install -g @vscode/vsce, prepare its compatible README, then package and install it with Extensions: Install from VSIX...:

npm run prepare:marketplace-readme
vsce package --githubBranch main --readme-path .vscode/README.marketplace.md --out dist/1.0.0/packages/csv-xlsx-table-viewer-1.0.0.vsix

See how it is built and the release process.

Privacy

The extension reads and writes files you open. It does not send product analytics; VS Code may collect usage data according to your VS Code settings.

For product questions, use the Q&A tab on the Marketplace listing. See security reporting for vulnerability reports. Do not attach real spreadsheets, API logs, credentials, or private workspace data to reports.

Built with a product point of view

The goal is deliberately narrow: make a quick spreadsheet check part of the coding workflow while being clear about where an in-editor table stops behaving like a full spreadsheet application. Read the product story for the user problem and product trade-offs. See contribution guidance before opening a pull request.

License

MIT. See LICENSE.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft