+Moyoutil
English
All tools

CSV to JSON Converter

Convert CSV or TSV tables to JSON arrays, or export JSON as CSV.

How to use the CSV to JSON Converter

Paste your data or load a UTF-8 file. JSON, CSV, and TSV extensions set the conversion direction; TSV also selects the tab delimiter. Check the delimiter yourself for CSV, then convert and copy or download the output.

Example usage

If the line following id,name contains 001,Alice, then in JSON id will be the string "001" rather than the number 1. The first row of the CSV is used as the column names.

Please note

Input 2MiB, data 10,000 rows/100 columns, output 8MiB or less. CSV values ​​remain as strings. JSON supports only non-nested arrays of objects. The file is processed by the browser and is not a tool that opens the Excel file itself.

Tool Utilization Blog

See all blogs

CSV Line Numbers vs. Records: Find Errors in Multiline Fields

Reproduce a CSV error on line 4, record 3. Learn how multiline fields affect error locations and how to fix a column-count mismatch.

Read the article

CSV and JSON Conversion: Quotes, Line Breaks, and UTF-8 Files for Excel

Explains how to convert CSV·TSV into a JSON object array or save JSON as CSV. Check column names, string preservation, UTF-8 BOM, formula interpretation and nested data limits.

Read the article

Social Media Analytics Example: Missing Views, Zero and the Median

Analyze a five-row sample CSV with the actual tool. Compare total views, the median and missing values, then download the example CSV.

Read the article