{"copy":{"explain":"CSV to JSON reads the text with the rules of RFC 4180, the CSV standard: values are split at the separator, a value in double quotes can contain commas and new lines, and &quot;&quot; inside quotes means one quote mark. The first row becomes the keys, and each other row becomes one object. Numbers, true, false and null become real JSON values unless you turn that off. JSON to CSV does the reverse: it collects every key from every object as the header, turns nested objects into columns like address.city, and puts quotes around any value that contains the separator, a quote or a new line.","example":"name,age,city / Asha,31,&quot;Pune, MH&quot; → [{&quot;name&quot;:&quot;Asha&quot;,&quot;age&quot;:31,&quot;city&quot;:&quot;Pune, MH&quot;}]. And [{&quot;name&quot;:&quot;Ravi&quot;,&quot;address&quot;:{&quot;city&quot;:&quot;Hyderabad&quot;}}] → name,address.city / Ravi,Hyderabad.","intro":"Turn CSV or Excel data into JSON, or JSON into CSV that opens correctly in Excel, with a table preview, any separator and nested JSON flattened into columns.","sections":[["CSV and JSON in a nutshell","CSV (comma-separated values) is the simple table format that Excel, Google Sheets, Tally, bank statements and most apps can export: one row per line, values separated by commas. JSON is the format web apps and APIs use to send data, with named fields and nested lists. Converting between them is a daily job when you import a spreadsheet into an app, send data to an API, or open an API response in Excel."],["From Excel to JSON","In Excel or Google Sheets, choose File, then Save as or Download, then CSV. Open the file here, or copy the cells and paste them: copied cells are separated by tabs, which Auto detects. Make sure the first row has column names, because they become the JSON keys. Turn off Numbers and true/false as values if you need codes like PIN codes or phone numbers with a leading zero to stay as text."],["From JSON to Excel","Paste a JSON array of objects, like an API response, and switch to JSON → CSV. Every key found in any object becomes a column, so rows with missing fields simply get an empty cell. Download the CSV and open it in Excel. Keep Excel-friendly on: it adds a small marker (a byte order mark) at the start of the file so that ₹, accents and Hindi or Telugu names show correctly instead of strange characters."],["Separators around the world","In India, the US and the UK, CSV files use commas. In much of Europe, where the comma is the decimal point, Excel uses semicolons instead. Tab-separated files (TSV) come from databases and copying cells. Pipes (|) are used in some bank and government data files. Auto picks the separator that splits the first lines into the most columns, or you can choose it yourself."],["A worked example","CSV: name,age,member / Asha Rao,31,true / Ravi Kumar,28,false. JSON: [{&quot;name&quot;:&quot;Asha Rao&quot;,&quot;age&quot;:31,&quot;member&quot;:true},{&quot;name&quot;:&quot;Ravi Kumar&quot;,&quot;age&quot;:28,&quot;member&quot;:false}]. With &quot;Numbers and true/false as values&quot; off, age becomes &quot;31&quot; and member becomes &quot;true&quot;, in quotes."],["Quotes and commas inside values","A value with a comma, a quote or a new line must be in double quotes: &quot;Pune, MH&quot;. A quote inside a quoted value is written twice: &quot;Meena &quot;&quot;Mini&quot;&quot; Iyer&quot; means Meena &quot;Mini&quot; Iyer. The converter reads and writes these rules automatically."]],"faqs":[{"q":"Why do my Hindi or ₹ characters look wrong in Excel?","a":"Excel on Windows guesses an old encoding unless the file starts with a byte order mark. Keep &quot;Excel-friendly&quot; turned on when you download the CSV, and Excel will read it as UTF-8 so ₹, é and Indian scripts show correctly. Google Sheets reads UTF-8 either way."},{"q":"What happens to nested JSON?","a":"Nested objects become columns with dotted names, so {&quot;address&quot;:{&quot;city&quot;:&quot;Pune&quot;}} gives a column address.city. Lists (arrays) are kept as JSON text in one cell, like [&quot;a&quot;,&quot;b&quot;], so nothing is lost and you can turn the CSV back into the same JSON later."},{"q":"How big a file can it handle?","a":"Files up to 20 MB, which is roughly 100,000 to 200,000 rows for most data. Very large files are slower on older phones. The preview shows the first 20 rows, but the JSON or CSV output always has every row."},{"q":"How do I keep a leading zero, like in PIN codes or phone numbers?","a":"Turn off &quot;Numbers and true/false as values&quot;. Every value then stays as text in quotes, so 040123 stays &quot;040123&quot; instead of becoming the number 40123."},{"q":"Is what I paste sent anywhere?","a":"No. Your file is read on your device and never uploaded. Everything runs in your browser on your own phone or computer, and nothing is sent to our servers or saved."},{"q":"Is the CSV to JSON Converter free?","a":"Yes. There is no sign-up, no limit and nothing to install. It also works offline once the page has loaded."}]},"feat":[["Both ways","CSV → JSON and JSON → CSV."],["Excel-friendly","₹ and Indian names show correctly."],["Nested JSON","Becomes columns like address.city."]],"faqx":[{"q":"How do I open a JSON file in Excel?","a":"Paste the JSON here or open the file, switch to JSON → CSV and tap Download, then open the CSV in Excel. Excel 365 can also import JSON through Data, Get Data, From File, From JSON."},{"q":"Why is everything in one column when I open the CSV?","a":"Excel expects a different separator on your computer (often a semicolon in European settings). Download with the separator Excel expects, or in Excel use Data, From Text/CSV and pick Comma."},{"q":"Can I convert a CSV without a header row?","a":"Yes. Turn off &quot;First row is the header&quot; and each row becomes a list of values instead of an object, like [&quot;Asha&quot;, 31, &quot;Pune&quot;]."},{"q":"What is the difference between CSV and TSV?","a":"They are the same idea with a different separator: CSV uses commas and TSV uses tabs. TSV is handy when values themselves contain commas. Choose Tab as the separator, or let Auto find it."}]}