All tools

JSON ↔ CSV ↔ YAML ↔ XML converter

Paste text or open a file to convert data locally in your browser.

Your data is processed in this browser and is not uploaded.

Ready to convert.

Format rules

CSV requires an object or a non-empty list of objects. Headers must be unique and non-empty. CSV input stays as text; nested values become JSON strings on export, and missing/null cells become empty. XML input keeps its root, attributes use @_ and text uses #text. XML output adds a root element; arrays use repeated elements (item at the top level). XML does not preserve JSON types, empty arrays or mixed-content order. YAML comments and formatting are not preserved.