JSON Convert
Bidirectional conversion between JSON and YAML, CSV, or XML with CSV nesting guidance.
All processing on this page runs locally in your browser unless noted otherwise.
Input
Result
Local offline processing — data is never uploaded
How to use
- Choose a conversion direction.
- Paste source text and run convert.
- For CSV, adjust delimiter/header; nested JSON may need flatten first.
Example
[
{ "id": 1, "name": "Ada", "city": "Shanghai" },
{ "id": 2, "name": "Lin", "city": "Beijing" }
]FAQ
Why did CSV conversion warn me?
Nested objects/arrays are ambiguous in CSV. Flatten first or accept stringified cells.
Does XML keep a root element?
JSON→XML wraps content in a root node; XML→JSON unwraps a single root when present.