JSON Converter — XML·YAML·CSV·TSV·TOML

Convert JSON to XML, YAML, CSV, TSV or TOML and back — auto-detect, format, minify, auto-fix.

JSON SHIFT

Two-way conversion: JSON ↔ XML · YAML · CSV · TSV · TOML

Valid

JSON

Input · 204 chars

Usage guide

Convert between JSON and XML·YAML·CSV·TSV·TOML both ways. Converts automatically when you stop typing; syntax errors show line numbers.

  • Options set format, direction (JSON → format / format → JSON), and indent.
  • XML supports root tag names and @_ attributes.
  • CSV/TSV let you choose header inclusion and delimiter.
  • Auto-fix cleans quotes, trailing commas, comments, and unquoted keys.
  • Drag a file onto the editor to detect format by extension.
  • Swap I/O moves the result to input for the reverse direction.
  • On mobile, the Options button in the bottom bar opens settings.

How to use

Paste data and conversion happens automatically — pick the target format, direction, and indent. Auto-fix repairs common JSON syntax errors.

Frequently asked

Which formats are supported?
XML, YAML, CSV, TSV, TOML — both directions, to and from JSON.
Can it fix broken JSON?
Yes — auto-fix cleans single quotes, trailing commas, comments, and unquoted keys.
Is my data uploaded?
No — everything runs locally in your browser.
JSON converterJSON to YAMLJSON to CSVJSON to TOMLYAML to JSONCSV to JSON

Related tools