Any of four formats to any other. No sign-up and no upload.
Choose what you have and what you need from JSON, XML, CSV and YAML.
Swap flips themThe output updates a moment after you stop typing.
Converts as you typeCopy the result, or save it as .json, .xml, .csv or .yml.
Right extensionEvery conversion goes through JSON: your input is read into JSON first, then written out in the format you picked.
Tap the format you have under From and the one you need under To.
Half-typed input is ignored while you type, so you never see a flood of errors.
If nothing appears, tap Convert now. It shows exactly what the parser did not like.
Swap moves the output into the input and flips the formats, ready to convert back.
Each format has one habit that avoids most surprises.
CSV and XML are lists of records, so an array of objects converts most cleanly.
The first row names the keys. Every value comes out as text, so check numbers afterwards.
The reader takes child elements and their text. Attributes are not read.
YAML forbids tabs for indentation. Two spaces per level is the common choice.
What each one is good at, and what the converter does with it.
Objects, arrays, strings, numbers, true, false and null. The pivot every conversion goes through.
Output wraps each record in <item> inside one <root>, with keys made into safe element names.
Rows and columns of text. Nested values are written into their cell as JSON text.
Indentation shows nesting. Output quotes every string so values like true or 123 stay text.
Different tools speak different formats. These jobs sit in between.
An old partner sends XML, the new service wants JSON, and the ops team wants a spreadsheet.
Config moves between JSON and YAML files for different tools and pipelines.
Test data lives in a spreadsheet, but the test runner wants JSON or YAML.
API exports arrive as JSON or XML, and Excel wants CSV.
The rules the converter follows when it reads and writes each format.
From the W3C XML 1.0 recommendation.
From the YAML 1.2.2 specification.
Things the converter does not read. Convert these with a full library.
A few habits make the same data convert the same way every time.
Edit the data in one format and convert from it, rather than editing two copies.
Convert to the target, swap, and convert back. Anything that changed did not survive the trip.
CSV and XML carry text only. Numbers read from them arrive as strings in JSON.
Letters, digits and underscores survive every format. Spaces and symbols get renamed in XML.
All three can convert data. Pick by how often and how big.
| Feature | CleverTools converter | A code library | Editor plugin |
|---|---|---|---|
| Setup | ✓ None | Install and code | Install |
| All four formats | ✓ Yes | One library each | Varies |
| Any direction | ✓ 12 pairs | ✓ If you code it | Varies |
| XML attributes, YAML anchors | ✗ Not read | ✓ Usually | Varies |
| Repeat on a schedule | ✗ By hand | ✓ Its main job | ✗ By hand |
| Data leaves your device | ✓ Never | ✓ Never | ✓ Never |
Need typed CSV with a preview table? Use the CSV to JSON converter, which turns numbers and booleans into real types.
Small habits that save time on every payload.
Swap moves the output into the input, so you can check a round trip in one tap.
Errors stay quiet while you type. Tap Convert now to see the parser's message.
CSV to JSON keeps every value as a string, exactly as written in the file.
Objects and arrays are written into one cell as JSON text, so nothing is lost.
XML input with <item> elements uses them as records. Otherwise the root's children are used.
YAML output quotes every string, so "true" and "007" never turn into other types.
In XML, a key like "first name" becomes first_name, and "2024" becomes _2024.
Tokens and customer records are parsed in this tab and never uploaded.
CSV cells and XML text are always text. When you convert them to JSON, numbers arrive as strings like "31". Convert JSON or YAML to each other and the types survive.
Both hold the same nested data. They differ in who reads them most.
Strict and simple: every parser reads it the same way. No comments, so it suits data sent between programs.
Best for APIs, logs and data exchange
Indentation instead of braces, and comments with #. Easier to read and edit by hand, so it suits config files.
Best for config, CI and deployment files
Six everyday jobs that need data in another shape.
Turn an XML response into JSON a modern client can use.
Convert a JSON config to YAML for a tool that wants YAML.
Turn a JSON export into CSV that opens in any spreadsheet.
Convert a CSV of test data into JSON or YAML.
Turn an XML data feed into a JSON array you can scan.
See the same data as JSON, XML, CSV and YAML.
Want to tidy JSON first? Use the JSON formatter.
Quick answers about formats, limits and privacy.
Reviews from people who used this tool.
Loading reviews…
Jump to a version of this tool already set up for a specific need.
Free, with no sign-up, just like this one.
Pick a from and a to format, paste your data and it converts as you type. Every pair goes through one JSON pivot, so the output is clean and indented. Nothing is uploaded.
JSON · XML · CSV · YAML in any direction
JSON to CSV (RFC-4180 spreadsheet)
Converts as you type. .
Paste JSON on the left. The CSV appears here as you type.
Tools that pick up where this one leaves off.