📊

CSV to JSON

Convert CSV to JSON

Frequently Asked Questions

How do I convert CSV to JSON?

Paste your CSV data or upload a CSV file. The converter uses the first row as property names and creates a JSON array of objects. "name,age\nAlice,30" becomes [{"name":"Alice","age":"30"}].

Does the converter handle different delimiters?

Yes. It auto-detects commas, semicolons, tabs, and pipes as delimiters. You can also manually specify the delimiter. European CSV files often use semicolons because commas are used as decimal separators.

How are data types handled in the conversion?

By default, all values are strings. Enable type detection to automatically convert numbers (42 → 42), booleans (true → true), and null values. Quoted numbers ("42") remain as strings to preserve intentional formatting.

Can I convert nested CSV data to nested JSON?

Flat CSV converts to flat JSON objects. For nested structures, use dot notation in headers: "address.city,address.zip" creates {"address":{"city":"...","zip":"..."}}. The converter supports one level of nesting.

What is the maximum file size for conversion?

The converter handles files up to 10MB in the browser. For larger files, consider using command-line tools. Processing happens entirely client-side, so speed depends on your device. A 1MB CSV typically converts in under 1 second.