Data Conversion Tools
Choose the converter that matches your source format, destination format, and cleanup workflow instead of starting from a generic tools list.
Conversion pages tend to compete when every title looks like a minor variation of JSON or CSV. This hub groups them by source format and destination format so each page can target its own workflow.
Decision tree: which converter do I need?
Skim the questions below and stop on the first match.
- Have CSV, need JSON? Use CSV to JSON. Read Convert CSV to JSON in Python if you want the script-based version.
- Have JSON, need CSV for a spreadsheet? Use JSON to CSV.
- Have XML payloads or SOAP responses? Use XML to JSON or JSON to XML. Parse XML to JSON in JavaScript covers the script flow.
- Working with config or CI files? Use YAML ↔ JSON for Kubernetes, GitHub Actions, and similar tooling.
- Have SQL output? Use SQL to JSON. Export SQL Query Results to JSON shows the typical workflow.
- Have a table on a web page or in markdown? Use HTML Table to JSON or Markdown Table to JSON.
- Have TSV from a spreadsheet export? Use TSV to JSON.
How these converters actually differ
Tabular vs structured markup
CSV, TSV, HTML tables, and markdown tables are flat: one row per record. XML, YAML, and JSON are nested: each value can hold more values. Picking the right page first saves a lot of cleanup later.
Bidirectional vs one-way
YAML and JSON round-trip cleanly because both represent the same underlying data model. XML round-trips with caveats because attributes, namespaces, and mixed content do not have one-to-one JSON equivalents.
Source-driven vs destination-driven workflows
Start from the source format when cleanup is the hard part (quoted CSV fields, namespaced XML). Start from the destination format when you are preparing exports for a fixed downstream system.
Most-used converters
CSV to JSON
Turn spreadsheet-style rows into JSON arrays for APIs, fixtures, and browser tools.
JSON to CSV
Flatten JSON arrays into rows for export, auditing, and quick spreadsheet review.
XML to JSON
Move XML payloads into a JSON workflow without leaving the browser.
JSON to XML
Generate XML from structured JSON when a downstream system expects tags, not objects.
YAML ↔ JSON
Switch between YAML and JSON for config files, CI pipelines, and Kubernetes manifests.
SQL to JSON
Convert query results or hand-written SQL output into browser-friendly JSON arrays.
Table-oriented input
Structured markup conversion
Related guides
The conversion guides below walk through the workflow before linking to the matching tool page.
Frequently asked questions
Will CSV to JSON preserve quoted fields?
Yes. The parser respects double-quoted fields, escaped quotes, and embedded commas, so values with delimiters or line breaks stay intact.
How does XML to JSON handle attributes?
Attributes are kept under a dedicated key alongside the element value, so XML attribute data is preserved instead of silently dropped.
Is YAML to JSON lossless?
For data, yes. YAML-only constructs such as comments and anchors are normalized to their data-equivalent. Use the converter for content, not for round-tripping authoring metadata.
Are these converters safe for sensitive data?
Yes. Every converter runs in the browser. CSVs, configs, schemas, and SQL output never leave the device.
What is a reasonable file size limit?
Multi-megabyte payloads work comfortably on most devices. Very large files run faster on a desktop browser because parsing happens locally.