Skip to content
| Marketplace
Sign in
Visual Studio Code>Data Science>CSV Pretty VisualizerNew to Visual Studio Code? Get it now.
CSV Pretty Visualizer

CSV Pretty Visualizer

layem-software

|
555 installs
| (0) | Free
Visualize CSV and TSV files in a rich, interactive table view directly inside VSCode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
CSV Pretty Visualizer logo

CSV Pretty Visualizer

Open CSV and TSV files as a rich, interactive table — right inside VS Code.
Search, filter, sort, type, reorder, select and copy, without leaving your editor or opening a spreadsheet.

VS Marketplace Installs Rating MIT License

The CSV table view


Contents

  • Installation
  • Quick start
  • Features
    • Interactive table view
    • Live stats
    • Global search
    • Per-column filters
    • Unique value picker
    • Sorting
    • Column types
    • Column visibility and reordering
    • Row selection and copy
    • Cell copy and expand
    • Pagination
    • Image thumbnails
    • Full-screen lightbox
    • Theme aware
    • Live updates
    • Multiple files at once
    • Delimiter detection
  • Keyboard shortcuts
  • Security
  • Development
  • Changelog
  • Contributing
  • License

Installation

From the VS Marketplace — search for CSV Pretty Visualizer in the Extensions panel (Ctrl+Shift+X), or install directly:

ext install layem-software.csv-visualizer-pretty-table

From a .vsix file

code --install-extension csv-visualizer-pretty-table-1.1.0.vsix

Requires VS Code 1.109.0 or newer.

Quick start

Open any .csv or .tsv file, then use whichever of these you prefer:

# How Where
1 Click the table icon (⊞) in the editor title bar Top-right of the editor, when a CSV is active
2 CSV › Open Table View Right-click inside the CSV editor
3 CSV › Open Table View Right-click a .csv/.tsv file in the Explorer — the file does not need to be open
4 Ctrl+Alt+T / Cmd+Alt+T While the CSV editor is focused

The table opens in its own panel. Everything below is available immediately — no configuration and no settings to set.


Features

Interactive table view

Any .csv or .tsv file becomes a clean, scrollable table with a sticky header, zebra-free row hovering, and a horizontal scroll for wide files. Columns size themselves to their contents, and long values are truncated with an ellipsis until you click them.

The CSV table view

Live stats

Four counters at the top always reflect the current view: total rows in the file, rows matching your filters, total columns, and columns currently visible.

Live stats counters

Global search

One box filters rows across every column at once, case-insensitively, as you type. Here Lighting narrows 30 rows to 10.

Global search across all columns

Per-column filters

Every column header carries its own operator dropdown and value box. Filters across different columns combine, so you can narrow down with as many conditions as you like.

Available operators:

Text Numeric Emptiness
Contains Greater > Is Empty
Equals Less < Not Empty
Not Equals Greater or equal >=
Starts With Less or equal <=
Ends With

Below, units is filtered with Greater > 20:

Per-column filter with a numeric operator

Unique value picker

Click Select Values on any column to get a checkbox list of that column's distinct values, each with the number of rows it appears in, ordered by frequency. Tick only what you want to see, or use (Select All) / (Clear All).

Here Accessories has been unticked, leaving the 21 Furniture and Lighting rows:

Unique value checkbox picker

On very high-cardinality columns the list shows the 500 most common values so the dropdown stays instant; the count in the button always reflects the true total.

Sorting

Each header has ▲ ▼ buttons — ascending and descending. The active direction stays highlighted. Columns typed as Number or Date sort by value rather than as text, and values that cannot be parsed are kept at the end instead of scattered through the results.

revenue sorted descending:

Descending numeric sort

Column types

Set a type per column to change both how it renders and how it filters and sorts:

Type Rendering
Text Plain text (default)
Number Right-aligned, thousands separators, tabular figures
Date Formatted to your locale
Boolean Green ✓ True / red ✗ False for true/1/yes/y
Link Clickable link, opened externally
Image Thumbnail with lightbox — see Image thumbnails
JSON Pretty-printed and monospaced
Array, HTML, Raw, Base64 Monospaced text

Number, date, boolean and link columns

Column visibility and reordering

Expand Column Configuration to hide columns you don't care about, set each column's type, and move columns left or right with ◀ ▶. One checkbox toggles every column at once. Hidden columns are excluded from copied output.

Column configuration panel

Row selection and copy

Tick individual rows, use the header checkbox to take the whole page, or Select All Rows to take everything matching your current filters. The counter tracks the total, and Copy Selected puts the rows on your clipboard as tab-separated values — ready to paste straight into Excel, Google Sheets or Numbers. Only visible columns are copied, in the order shown.

Selected rows ready to copy

Cell copy and expand

Hover any cell for a one-click Copy button that copies the cell's full, unformatted value — the raw text, not the formatted display value. Click a cell to expand it in place when its content is wider than the column, which is handy for long descriptions, JSON blobs and URLs.

The per-cell copy button

Pagination

Choose 10, 25, 50, 100, 250, 500 or all rows per page. Jump with First / Previous / Next / Last, or type a page number and press Enter. The readout always says exactly which rows you are looking at.

Pagination controls on page 3

Image thumbnails

Set a column's type to Image and its URLs render as thumbnails. A cell may hold:

  • a single URL — https://example.com/a.png
  • a comma-separated list — a.png, b.png, c.png
  • a JSON or Python-style array — ['a.png', 'b.png']
  • a data: URI, which is kept intact even though it contains commas

Images that fail to load fall back to a placeholder rather than a broken-image icon.

Image thumbnails in a gallery column

Full-screen lightbox

Click any thumbnail for a full-screen gallery of every image in that cell, with a counter, a thumbnail strip, and previous/next navigation. Use ← and → to move, Esc to close.

Full-screen image lightbox

Theme aware

The panel reads VS Code's own theme colours, so it matches your editor instead of forcing a dark palette. The same file under a light theme:

The table under a light theme

Live updates

Edit the CSV in the editor with the table open and the table refreshes as you type — no need to close and reopen the panel.

Multiple files at once

Every file gets its own panel with its own filters, sort, types and selection. Re-running the command on a file that is already open focuses its existing panel instead of opening a duplicate.

Delimiter detection

The delimiter is detected automatically from , ; Tab and | by sampling several lines and preferring the one that splits them consistently. Quoted delimiters are ignored, so name;"city, state";population is read as three columns, and .tsv files are always tab-delimited. Quoted fields, escaped "" quotes, embedded newlines and CRLF line endings are all handled, and short rows are padded so trailing columns stay aligned.


Keyboard shortcuts

Action Windows / Linux macOS
Open Table View Ctrl+Alt+T Cmd+Alt+T
Go to typed page Enter in the page box Enter in the page box
Lightbox: previous / next image ← / → ← / →
Lightbox: close Esc Esc

Security

CSV files are untrusted input, so the table view treats them that way:

  • The webview runs under a strict nonce-based Content Security Policy with no inline scripts and no remote code.
  • Every header and cell reaches the page as text, never as markup — a file containing <img src=x onerror=…> displays those characters rather than executing them.
  • Link columns only follow http:, https: and mailto: URLs; anything else, including javascript:, is shown as plain text.

Development

bun install
bun run check      # compile the extension and type-check the webview
bun run package    # build a .vsix

Press F5 in VS Code to launch an Extension Development Host with the fixtures folder open.

Path What it is
src/ Extension host: command wiring, panel lifecycle, CSV parser
media/ The webview UI — plain HTML, CSS and JS, no build step
scripts/fixtures/ Sample, hostile, image and odd-delimiter CSVs for manual testing
node scripts/capture.mjs Regenerates every screenshot in this README with headless Chrome
node scripts/smoke.mjs Runs the webview against the hostile fixture and asserts the escaping, filter and selection invariants

Changelog

See CHANGELOG.md.

Contributing

Bug reports and pull requests are welcome on GitHub. If you are reporting a parsing problem, a small sample file that reproduces it helps enormously.

License

MIT © layem-software

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