CSV, JSON, XML and HTML Table Converter

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.

About CSV, JSON, XML and HTML Table Converter

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.

How to use it

  1. Choose a conversion such as CSV to JSON from the drop-down menu.
  2. Paste your CSV or JSON into the Input Data editor.
  3. Read the result in the Converted Output editor as you type.
  4. Copy the output into your project or file.

Questions

Can I convert XML or TSV here?

No. Supported directions are CSV to JSON, JSON to CSV, CSV to HTML table, and JSON to XML.

What JSON shape does JSON to CSV need?

An array of objects with the same keys works best; the keys become column headers.

Does JSON to XML handle nested objects?

Only one level is written as child tags. Deeper objects are not expanded, so flatten the data first for clean XML.

More Data & Converters tools

Home · All Tools · Blog