
JSON, CSV and Excel can describe the same business records, but each format has different capabilities. A flat list of orders can be represented as JSON objects, CSV rows or an Excel worksheet. Converting between them should preserve important values without pretending that every workbook feature can be reconstructed.
Try the Code Deb JSON, CSV and Excel Converter to import structured data locally, preview a real table and export CSV, TSV, JSON or XLSX. The tool targets up to 20,000 tabular rows, not arbitrary documents or complex spreadsheet formulas.
How JSON rows become spreadsheet columns
A JSON array such as [{"name":"Asha","amount":500},{"name":"Mina","amount":650}] has field names that can become columns. Arrays of arrays can also be imported, but column names must be assigned. Nested objects and arrays do not naturally fit in a single cell, so the converter serializes nested values as JSON text.
CSV is not just splitting text at commas
Quoted CSV fields can contain commas, double quotes and even newlines. A robust reader must respect quote escapes and line boundaries. TSV instead uses tab separators and may still contain quoted text. If a value includes leading zeros, such as a postal code or product identifier, a spreadsheet program may infer a number and remove those zeros on opening.
Converting to Excel XLSX
XLSX files can contain multiple sheets, formulas and styles. Code Deb uses the first sheet on import and exports a new workbook of tabular string values. It does not reproduce the original workbook's formatting, chart definitions or formula calculations. SheetJS Community Edition provides the browser spreadsheet reader and writer, loaded only when Excel is requested.
Protecting against CSV and spreadsheet formula injection
A cell beginning with an equals sign, plus, minus or at sign can be interpreted as a formula by some spreadsheet applications. Data from untrusted sources must be treated as literal text. Code Deb prefixes potentially executable formula-like values when exporting to CSV or XLSX to reduce this risk; other tools and spreadsheet applications may apply different rules.
Conversion workflow
- Paste JSON, CSV or TSV, or import an XLSX worksheet.
- Choose the destination format and preview the detected columns and sample rows.
- Check identifiers, dates, quoted values and characters outside ASCII.
- Download the converted file and test a sample in your destination spreadsheet or import application.