Table Data Converter
Convert and format JSON, CSV, TSV, Markdown tables, and XML right in your browser.
Input format:
0 characters
0 characters
How to Use
About the Formats
- JSON: A data format commonly used by web APIs. Use Format JSON to add indentation or Minify JSON to remove extra whitespace.
- CSV: Comma-separated data supported by spreadsheet apps such as Excel.
- TSV: Tab-separated data. You can paste it directly from Excel or Google Sheets.
- Markdown: Table syntax that you can paste into Markdown documents and blog posts.
- XML: Converts repeated elements directly under the root into rows, with child elements and attributes as columns. Nested objects and arrays are stored as JSON text inside a cell.
Useful Features
- → Input: Send the output back to the input area and convert it again, such as JSON → CSV → transpose → Markdown.
- Preview: View JSON, CSV, TSV, Markdown tables, and XML as a table. For large inputs, only the first 200 rows are rendered. Preview sample buttons replace the output area so you can see how each format looks.
- Column checks: Rows with more or fewer columns than the header are reported below the output. Missing cells are filled with blanks.
- Transpose: Switch the rows and columns of CSV or TSV data.
- Sort: Sort JSON by its first key, or CSV/TSV by the first column.
Privacy
All conversion happens in your browser. Your input is not sent to an external server.
Frequently Asked Questions
- Can I convert between JSON and CSV in both directions?
- Yes. You can convert between JSON, CSV, TSV, and Markdown tables. Choose an input format, then select a conversion button.
- Can I turn spreadsheet data into a Markdown table?
- Yes. Copy cells from Excel or a spreadsheet and paste them as TSV, then choose the MD conversion button.
- Will leading zeros in postal codes or product codes be removed?
- No. Values such as
0012, scientific notation such as1e5, and very large numbers stay as text when converting them to a number would change how they are written. Only values such as28,-3, and0.5are converted to numbers when their written form stays the same. - Can I convert the result again into another format?
- Yes. Use the → Input button to move the output back into the input area, then choose another format, such as JSON → CSV → transpose → Markdown.
- Can I convert XML?
- Yes. Choose XML as the input format to convert it to JSON, CSV, TSV, or a Markdown table. Other formats can also be converted to XML. Repeated elements directly under the root become rows; their child elements and attributes become columns. Deeply nested values and arrays are stored as JSON text inside a cell, so complex XML may not round-trip exactly.
- Is my input sent to an external server?
- No. Loading, converting, copying, and downloading all happen in your browser.
- What happens if a CSV or TSV quote is not closed?
- Conversion stops and displays a format error. Close the quote or correct its position, then run the conversion again.