Color CSV columns and query them with SQL-like RBQL in VS Code
open sourceMITfree
Rainbow CSV is a Visual Studio Code extension by Dmitry Ignatovich (mechatroner.rainbow-csv) that highlights each column of CSV, TSV, semicolon, pipe and whitespace-separated files in its own color, detects the separator from the content and accepts any character or string as one. It queries, transforms and filters data with RBQL, a built-in SQL-like language, aligns or shrinks columns, shows column info on hover, checks a file's consistency (CSVLint), keeps a sticky header line, edits a column with multiple cursors and copies data in Excel or Markdown format. It also works in the browser on vscode.dev.
Problems it solves
- read a big CSV file in VS Code without losing track of the columns
- run a SQL-like query on a CSV file without importing it into a database
- find the broken rows in a CSV file
Features
- column highlighting for CSV and TSV
- separator autodetection
- RBQL SQL-like queries
- column alignment
- CSVLint consistency checks
- sticky header
- copy as Excel or Markdown
Alternatives
The same job
These do what Rainbow CSV does.
- Edit CSV Edit CSV files in a spreadsheet-like table inside VS Code
- Database Client Browse, query and edit MySQL, PostgreSQL, SQLite, Redis and Elasticsearch from VS Code
