CSV to JSON PreviewFrom spreadsheet rows to readable JSON, in one command. Inspect CSV data as a neatly formatted JSON array inside VS Code. Each row becomes an object, with column headers as property names. A new read-only tab lets you review the result while your CSV stays intact. What you get
Get started
The JSON opens in a new read-only tab. To save or edit it, copy the contents into a new file and save it with a Requires VS Code 1.85 or later. Works in desktop VS Code and remote extension hosts. A browser-only extension host is not supported. ExampleGiven this CSV:
The preview shows:
How your data is handledThe first nonblank row supplies the property names. Surrounding whitespace is removed from headers, which must be nonempty and unique. Whitespace inside data values is preserved, and numbers, dates, booleans, and empty fields remain strings. Blank lines are skipped. Empty files and files containing only headers produce Each preview is a snapshot. After changing the CSV, select the CSV tab and run the command again to create a fresh preview. Conversion never writes to the source file. Settings and limitsOpen Settings and search for CSV to JSON Preview.
Input size is measured as UTF-8 bytes. Formatted JSON has a fixed limit of 20,971,520 characters. These limits help keep previews manageable; split larger files before converting them. Use Cancel in the conversion notification to stop a conversion. Run another conversion after the current one completes or is cancelled. Troubleshooting
PrivacyNo accounts, API keys, external services, or network requests are needed for conversion. The extension does not collect telemetry or upload your CSV data. In a remote workspace, processing takes place in that workspace's extension host. Untrusted and virtual workspaces are supported. SupportMaintained by Surendhar N D · Publisher SurendharND. For Marketplace installations, use the Q & A section on the extension listing. For a VSIX supplied directly, contact the person or team that provided it. Include your extension version, VS Code version, exact error, and a small sample with confidential information removed. LicenseProprietary software. Copyright © 2026 Surendhar N D. See the bundled |