Convert colors between HEX, RGB, HSL, and CMYK — online color converter with live preview.
Open toolCSV to JSON
Convert CSV files into structured JSON, with optional type inference.
Privacy and limitations
Your tool input is processed in this browser rather than submitted to our server. Large inputs can be slow or exceed your device's memory. Keep a copy of the original and check the output before relying on it; formatting or conversion does not establish that the content is correct or safe.
Read the privacy policyAbout CSV to JSON
This tool converts CSV data into structured JSON - the reverse of JSON to CSV. It handles quoted fields with embedded commas or quotes correctly, and can optionally infer real data types (numbers, booleans, and nulls) instead of leaving every value as a plain string.
How to use this tool
- 1Paste your CSV data, or upload a .csv file.
- 2Pick the delimiter your file uses, and whether the first row contains column headers.
- 3Toggle Infer types on to convert numeric and boolean-looking values automatically, or off to keep everything as strings.
- 4Copy the JSON output or download it as a .json file.
Common use cases
Frequently asked questions
What happens with quoted fields containing commas?
They're parsed correctly - a properly quoted field like "Smith, John" is treated as a single value, not split into two columns.
What does 'Infer types' actually change?
With it on, values like "42", "true", and empty cells become the number 42, the boolean true, and null. With it off, every value stays a plain string, matching the raw CSV exactly.
What if my CSV has no header row?
Turn off 'First row is headers' and each row is converted into an array of values instead of an object with named keys.
Is my file uploaded anywhere?
No - parsing and conversion happen entirely in your browser, whether you paste the data or upload a file.
{
"runs_in_browser": true,
"data_sent_to_server": false,
"signup_required": false,
"price": "free",
"category": "Converters"
}