JSON Converter – Convert JSON, CSV, XML & YAML Instantly
Convert JSON to CSV, XML or YAML, and turn CSV, XML or YAML back into JSON.
Paste your data or upload a file, pick a conversion, then copy or download the result. This free JSON converter works entirely in your browser, so nothing you paste is uploaded.
Your JSON never leaves your device
Your converted result will appear here...
What is JSON conversion, and why is it useful?
JSON is the standard format for APIs and web apps, but the tools around it often expect something else. Spreadsheets want CSV, feeds and older systems use XML, and configuration files are commonly written in YAML. Converting JSON lets you open API data in Excel, hand it to a system that only reads XML, or turn a spreadsheet export into JSON for your code, all without writing a script.
Supported Formats
JSON
The standard format for APIs and web apps. Convert to compact one-line JSON for smaller payloads, or to indented JSON that's easy to read. Numbers and key order are kept exactly as written.
CSV
Rows and columns for spreadsheets. Nested JSON objects become dotted columns such as address.city, and arrays are kept as JSON text in one cell. Going the other way, the first row becomes the keys.
XML
Tags and attributes, common in feeds and older systems. JSON becomes XML inside a root element, and repeated tags become arrays when you convert back. Attributes appear as @name and text as #text.
YAML
Indented and easy to read, popular for configuration files. Lists, nested mappings, quoted strings and multi-line text are supported. Anchors, aliases and tags are not.
File Upload vs. Direct Input
Paste text
Best for quick jobs. Paste your data into the input box and the format is detected as you go. The conversion switches to match when the pasted data isn't what the current one expects.
Upload a file
Best for saved files. Drag a .json, .csv, .xml or .yaml file onto the upload area or choose one, up to 5 MB. The format comes from the file name first and its contents second.
Either way, the result can be copied to your clipboard or downloaded as a file with the right extension.
Your Data Stays on Your Device
Everything on this page runs in your browser. Your data is never uploaded, logged or stored, which matters when it contains customer records, API responses, tokens or internal config. It's also fast, because there's no waiting on a server, and it keeps working even if your connection drops after the page has loaded.