Processing runs on your device in your browser. Review the output before using it.
CSV to JSON
Convert simple CSV tables.
What this tool does
Convert comma-separated records into a JSON array using the first row as property names. This is useful for preparing small data examples, moving a simple exported list into a development workflow or inspecting how tabular fields map to objects.
How to use CSV to JSON
Paste a header row followed by at least one data row and choose Run tool. Use unique, non-empty header names and the same number of fields in every record. Review the JSON before importing it into another system.
Example and interpretation
The header name,city followed by Alex,Melbourne becomes an object containing name and city properties. Double-quoted fields can contain commas and line breaks; two double quotes inside a quoted field represent one literal quotation mark.
Limits and practical tips
Values remain strings, including dates, numbers and true or false text. This avoids guessing types but may require later conversion by your application. Tab-separated and semicolon-separated exports are different formats. Check the delimiter before pasting and keep an unchanged export for reference.
Using the result in a project
Start with a small, non-sensitive example and compare the result with the format expected by the receiving application. A successful transformation shows that this operation ran; it does not prove that the result is valid for every API, database field or application rule. Check the destination documentation before using generated data in a live workflow.
Before you finish
The inputs are handled by browser JavaScript for this tool. Do not paste production credentials, customer records or private configuration merely to test a format. Keep a reproducible sample with harmless values instead. If an error appears, reduce the sample until the problematic portion is clear, then correct the source and run the operation again. When copying the output, include the complete value and avoid adding surrounding quotation marks unless the destination specifically requires them. A copied newline or omitted closing character can change how another application reads an otherwise correct result.
Explore all tools, read our privacy information or report a problem.
Questions and answers
Can fields contain commas or line breaks?
Yes, when they are correctly enclosed in double quotes. A literal quotation mark inside a quoted field must be represented by two double quotes.
Why are numbers and true or false values quoted in the JSON?
CSV field values remain strings. The tool does not guess dates, numeric types or booleans. Convert types deliberately in the receiving application if required.
Why are duplicate headers or uneven rows rejected?
Every output object needs an unambiguous set of property names and corresponding values. Use unique, non-empty headers and the same number of fields in every record.
