Convert CSV to JSON, JSON to CSV, CSV to an HTML table, or JSON to XML. Paste your data and the output updates as you type.
This converter handles four common text-data conversions from a single screen: CSV to JSON, JSON to CSV, CSV to an HTML table, and JSON to XML. Pick a direction from the menu, paste your data on the left, and the converted result appears on the right as you type. A Convert Now button is also available.
CSV to JSON treats the first row as headers and produces an array of objects. JSON to CSV expects an array of objects and builds the header row from their keys. CSV to HTML creates a table with the first row as header cells. JSON to XML wraps the data in a root element and writes one tag per key; it works best on flat objects, since nested values are not expanded. Conversion runs in your browser.
No. Supported directions are CSV to JSON, JSON to CSV, CSV to HTML table, and JSON to XML.
An array of objects with the same keys works best; the keys become column headers.
Only one level is written as child tags. Deeper objects are not expanded, so flatten the data first for clean XML.