Data Format Converter
Convert between CSV, JSON, Markdown tables, and reshape nested JSON structures.
Converting between CSV, JSON, and document formats
Data rarely arrives in the shape your next tool expects. Spreadsheets export CSV, APIs speak JSON, documentation uses Markdown tables, and legacy services still emit XML. Converters bridge those representations during migrations, webhook debugging, and test fixture authoring.
CSV to JSON must decide how to treat headers, empty cells, and numeric strings. JSON to CSV flattens nested objects, which can create wide tables with dot-separated column names. Understanding that mapping prevents surprises when importing into BI tools or databases.
Flatten and unflatten utilities help when a NoSQL document model must map to relational columns or when an API expects nested objects but your source is tabular. Always verify a round-trip on a small sample before batch converting production extracts.
Use converters beside your editor when integrating a new vendor feed or preparing anonymized samples for QA. Local conversion means customer rows and internal identifiers never pass through an unknown server during format translation.
Reference Guide
Converters map tabular and document shapes. Verify round-trips when semantics matter, not just text equality.
| Conversion | Watch for |
|---|---|
| CSV to JSON | Header row, delimiter, UTF-8 BOM |
| JSON to CSV | Nested objects flatten to dot keys |
| JSON flatten / unflatten | Array paths and collision on key names |
| Markdown table | Pipe characters inside cells need escaping |
Current mode
Operation: csv-to-json
All processing runs locally in your browser. Paste input, click Run, and copy the result.
Example Input
name,role Alice,dev Bob,qa
A sample loads automatically when you open this tool. Use Load Sample to reset it.
