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

CSV & Excel Viewer

Development 42

|
5 installs
| (1) | Free
Preview CSV files and Excel spreadsheets in Visual Studio Code using AG Grid Community and SheetJS — no license required.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CSV & Excel Viewer

Preview CSV files and Excel spreadsheets in Visual Studio Code.

Fork notice: This extension is a fork of gc-excelviewer by GrapeCity/MESCIUS. The original extension requires a paid Wijmo license. This fork replaces Wijmo with free, open-source alternatives: AG Grid Community (MIT) for the data grid, and SheetJS (Apache 2.0) for Excel parsing.

Usage

CSV files

Open any .csv, .tsv, or .tab file. Use the explorer context menu or editor title menu to invoke Open Preview. Columns support sorting and filtering via their headers.

For plain text files with a non-standard extension, open the file in an editor and execute the CSV: Open Preview command from the command palette. You can also right-click a file tab and use Reopen Editor With → CSV Viewer.

Excel files

Open any .xlsx or .xlsm file. The custom editor opens automatically. Use the sheet tabs at the bottom to switch between sheets.

Configuration

Setting Default Description
csv-preview.separator , Column separator character
csv-preview.quoteMark " Quote character for cell values
csv-preview.hasHeaders true Treat first row as column headers
csv-preview.capitalizeHeaders true Capitalize header names
csv-preview.resizeColumns none Auto-resize columns: all, first, or none
csv-preview.lineNumbers none Show line numbers: ordinal, source, or none
csv-preview.commentCharacter # Character that marks comment lines
csv-preview.skipComments false Omit comment lines from the preview
csv-preview.formatValues never Apply number formatting: always, unquoted, or never
csv-preview.numberFormat g6 .NET-style format string for numeric columns
excel-viewer.showInfo true Show info bar at the bottom of the preview

License

MIT — see LICENSE.txt

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft