Loading data into an application
A listing exported as CSV becomes JSON so it can be imported where that format is expected.
Convert CSV data to JSON and back.
🔒 This file is processed in your browser. It is never uploaded anywhere.
…
CSV and JSON are the two commonest ways of moving tabular data, and each world prefers its own. CSV is what spreadsheets and business software export: rows and columns separated by commas. JSON is what web applications and APIs consume.
Converting between them is constant in any data work. You receive a listing exported from a business system and need to load it into an application; or the other way round, you have an API response and want to open it in a spreadsheet to analyse it with pivot tables.
The first row of the CSV is taken as the header: each column names a field in the resulting JSON, so every row becomes an object with those fields.
A listing exported as CSV becomes JSON so it can be imported where that format is expected.
Going from JSON to CSV lets you open the data in Excel or Calc and work it with familiar tools.
Converting a small CSV to JSON is the quick route to sample data for testing.
This tool expects commas as the separator; if your CSV uses semicolons, replace them with commas before pasting (watch out if the content itself contains commas).
It works with anything that fits when pasted into the text box; for very large files the browser may take a few seconds.