WhatIPIP tools + free calculators
Free tool, no signup

CSV and JSON Converter

Convert between CSV and JSON in either direction, in your browser.

About this tool

CSV and JSON are the two most common interchange formats for tabular data. CSV (comma-separated values) is compact, easy to inspect with a text editor, and the lingua franca of spreadsheets and old data tools. JSON is the modern format for APIs, programmer-friendly languages, and anything that needs nested structures. This converter moves data between the two in either direction. Paste a CSV with a header row to produce an array of objects keyed by column name. Paste a JSON array of objects to flatten them into a CSV with the union of all keys as headers. The converter handles quoted fields containing commas and newlines, escapes quotes inside quoted fields, and lets you override the delimiter for tab-separated or semicolon-separated files. Everything happens in your browser, so even sensitive data never leaves your machine.

Frequently asked questions

5 questions answered

Yes. Fields enclosed in double quotes can contain commas, newlines, and escaped quotes (written as two consecutive double quotes). The parser follows the RFC 4180 conventions that most spreadsheets and CSV libraries implement.

Related tools

This tool runs in your browser. We do not log or store the data you enter. Results are returned by your own browser and may not match third-party services bit-for-bit if those services interpret edge cases differently.