Skip to content
| Marketplace
Sign in
Visual Studio Code>Data Science>Simple CSV ViewerNew to Visual Studio Code? Get it now.
Simple CSV Viewer

Simple CSV Viewer

Xun Qu

|
3 installs
| (0) | Free
A lightweight CSV table viewer: open any .csv directly as a table, with column sorting, global search, and per-column filtering.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Simple CSV Viewer

Open any .csv file directly as a sortable, filterable table — no imports, no configuration, no heavyweight spreadsheet engine.

Built for the common case: a UTF-8, comma-separated file with up to a few thousand rows that you just want to read. It renders the file in a webview table inside VS Code and gets out of the way.

Features

  • Opens .csv as a table — associated by default, so a double-click is enough.
  • Per-column filters — columns with few distinct values get a checkbox dropdown (multi-select, with counts); high-cardinality columns get a "contains" text box. The mode is chosen per column automatically.
  • Global search — one box filters across every column and highlights matches.
  • Sorting — click a header to sort ascending/descending, right-click to clear. Numeric columns sort numerically, so 2 comes before 10.
  • Resizable columns — drag any column edge. Widths can be shrunk well below the content, and Reset restores the computed defaults.
  • Long fields stay readable — a multi-line cell (a stack trace, a JSON blob) shows one line with a marker, and a double-click opens the full content in a viewer with a copy button.
  • Proper CSV parsing — RFC 4180 style: quoted fields, escaped "", embedded newlines and commas inside quotes, CRLF/LF/CR line endings, and a UTF-8 BOM.

Usage

Double-click any .csv file, or right-click it and choose Open With… → Simple CSV Viewer.

If .csv files still open as plain text, set the association once (Ctrl+Shift+P → Preferences: Open User Settings (JSON)):

"workbench.editorAssociations": {
  "*.csv": "csvTableViewer.csv"
}

Notes and limits

  • The viewer is read-only. It never writes to your file.
  • Everything is parsed in memory; it is aimed at files up to a few thousand rows rather than multi-hundred-megabyte exports.
  • Encoding is assumed to be UTF-8.

License

MIT

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