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

  1. Choose a conversion direction.
  2. Paste source text and run convert.
  3. 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.

Related tools