CSV / JSON Converter is a free online developer tool to convert between CSV and JSON data with customizable options.
This tool is split into two modes: CSV to JSON Converter
and JSON to CSV Converter
.
You can either browse a CSV or JSON file locally from your device, fetch it from the internet, or enter it manually in the input field.
CSV to JSON - Converts CSV to JSON. Enter CSV and specify the options to match the input CSV format. Delimiter, such as ,
, :
, ;
, .
, and \t
is auto-detected.
If the input CSV contains headers, make sure to enable header
via the options. Otherwise, the headers will be named fieldX
; e.g. field1
, field2
, and so on.
Select the quote type the input CSV uses; i.e. double quote "
, single quote '
, or none
to ignore all the quotes.
Specify your preferred indentation level for the output JSON whether it be 2-4 spaces
, tab
, or compact
to minify it. And then click the convert button to get the result.
JSON to CSV - Converts JSON to CSV. Enter JSON and specify the delimiter for the output CSV. Supported delimiters are ,
, :
, ;
, and \t
.
Select the header type for the output CSV based on the JSON structure. Supported headers are full
, relative
, key
, or none
for no headers. And then click the convert button to get the result.
When done converting, you can either copy the output JSON or CSV to your clipboard using the copy button or download it as a file to your device using the download button.