Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>CSV Align Lite – Rainbow Colors & Column AlignmentNew to Visual Studio Code? Get it now.
CSV Align Lite – Rainbow Colors & Column Alignment

CSV Align Lite – Rainbow Colors & Column Alignment

Lou_Gom

|
12 installs
| (2) | Free
Color and align CSV/TSV columns without modifying the file. Fast on huge files (400k+ rows), sticky header, column name on hover.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CSV Align Lite

Read big CSV files like a table, right in VS Code, without touching the file.

Every column gets its own color, columns line up perfectly, and the header row stays pinned while you scroll. Everything is drawn on screen only: your CSV stays byte-for-byte identical, so pandas, Excel and git keep reading it exactly as before.

CSV Align Lite: before and after

Why another CSV extension?

Rainbow CSV Align Inlay-hint aligners CSV Align Lite
Column colors ✅ ❌ ✅
Column alignment ✅ ✅ ✅
File left untouched ❌ writes real spaces ✅ ✅
Colors + alignment in one extension – ❌ ✅

Features

  • 🎨 Rainbow columns – one color per column, tuned for light and dark themes.
  • 📐 Pixel-perfect alignment – padding rendered in the editor font, not in a smaller hint font.
  • 🔒 Zero file changes – no "Align / Shrink" dance, nothing to undo before you commit.
  • ⚡ Fast on huge files – instant layout from the first rows, then a non-blocking background scan (~0.2 s for 400,000 rows). Colors are computed for visible lines only.
  • 📌 Sticky header – the header row (line 1) stays pinned at the top while you scroll, with column colors, and the rows below are aligned on it.
  • 🔎 Column name on hover and in the status bar – know where you are, even on line 300,000.
  • ➕ Breathing room – optional space after each delimiter.
  • 🧾 Robust parsing – quoted fields, escaped quotes (""), multi-line quoted fields, accents and wide characters.
  • 🔀 Any delimiter – , ; tab | auto-detected, or force your own.
  • 🌈 Rainbow CSV friendly – if Rainbow CSV is installed, CSV Align Lite leaves the colors to it and only aligns.

Getting started

  1. Install the extension.
  2. Open any .csv or .tsv file.

That's it. No command to run.

Settings

Setting Default Description
csvAlignLite.enabled true Master switch
csvAlignLite.colors true Column colors
csvAlignLite.alignment true Column alignment
csvAlignLite.spaceAfterDelimiter 1 Spaces shown after each delimiter (not with the native pinned header)
csvAlignLite.stickyHeader true Pin the header row while scrolling
csvAlignLite.snapScroll true Overlay header: snap to a full line when scrolling stops
csvAlignLite.headerMode overlay overlay = aligned & colored header drawn by the extension; native = VS Code Sticky Scroll (shows line 1, not aligned); auto = native, overlay on 300,000+ line files
csvAlignLite.columnHover true Column name on hover
csvAlignLite.columnInStatusBar true Column name in the status bar
csvAlignLite.delimiter "" Force a delimiter (;, \|, \t…); empty = auto
csvAlignLite.sampleRows 200 Rows used for the instant first layout
csvAlignLite.fullScan true Background scan of the whole file
csvAlignLite.fullScanMaxLines 2000000 No full scan above this size
csvAlignLite.maxColumnWidth 0 0 = no limit; otherwise longer fields are ignored
csvAlignLite.colorsWithRainbowCsv false Keep our colors even with Rainbow CSV

Command: CSV Align Lite: Toggle.

Known limitations

  • With the native pinned header, a column whose values are longer than its name shifts the header for the following columns, and no space is added after delimiters. Use headerMode: overlay to align everything (the header may then sit one line too low while scrolling).
  • Lines inside a multi-line quoted field are colored but not padded.
  • Overlay header: a scroll of a small fraction of a line can go unnoticed by VS Code, so no snap happens until the next scroll.
  • After an edit on a huge file, widths refresh about 0.5 s later.
  • No table editing, sorting or filtering – it's a viewer, not a spreadsheet.

Feedback

Found a bug or want a feature? Leave a review or a question on the Marketplace page. ⭐ Ratings help other people find the extension!

License

MIT

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