Input
    Output

    Paste data on the left, choose what it is and what you want, and the converted result appears on the right as you type. You can also open a file from your computer. Nothing is uploaded, because the conversion runs entirely in your browser.

    Converting Files with the Data Format Converter

    Choose the source format in the first menu and the target in the second. ⇄ swaps them and moves the current output into the input, which is handy for round-trip checks. Download saves the result with the right file extension, and the status bar shows how many records and fields were found. CSV input can use commas, semicolons, tabs or pipes, and the tool detects which one you used.

    JSON to CSV: How Nested Data Is Flattened

    Spreadsheets are flat, so nested JSON becomes dotted column names: {"address":{"city":"London"}} turns into a column called address.city. Arrays become numbered columns such as tags.0 and tags.1. Converting back with Nest dotted keys ticked rebuilds the original structure; untick it to keep flat keys.

    A JSON object that wraps a single array of records, a common API response shape, is unwrapped automatically. JSON-LD markup is ordinary JSON too, so output from an organization schema generator can be laid out here as a table. That makes empty fields easy to spot.

    How the Data Format Converter Reads XML

    Each child of the root element becomes one record, and each child of a record becomes a field. Attributes are kept with an @ prefix, so <item id="7"> produces @id. Repeated elements become arrays. When writing XML, characters that aren’t allowed in element names, such as spaces, are replaced with underscores.

    Spreadsheet to VCF Contacts in the Data Format Converter

    Name your CSV columns first_name, last_name, email, phone, company, title, website and address, then convert to VCF. Columns such as email_2 or phone_2 become extra entries on the same contact. The download is a vCard 3.0 file, which iPhone, Android and Google Contacts can import. Converting VCF to CSV turns an exported address book into an editable sheet.

    Data Format Converter Limits

    Very large files are limited by your browser’s memory: a few megabytes convert instantly, while hundreds of megabytes may stall. XML comments and custom vCard fields aren’t carried over. For anything important, spot-check a few records after converting.

    FAQs

    How do I convert JSON to CSV?

    Paste the JSON and set From to JSON and To to CSV. Nested objects become dotted column names like address.city, and arrays become numbered columns. Download the result as a .csv file.

    Can Excel open a CSV converted from JSON?

    Yes. Excel and Google Sheets open CSV files directly. If accented characters look garbled in Excel, import through Data → From Text/CSV and choose UTF-8 encoding.

    How do I convert a CSV to VCF for my phone?

    Use column headers like first_name, last_name, phone and email, convert CSV to VCF, then download the .vcf file. iPhone, Android and Google Contacts can all import it.

    What is the difference between JSON and XML?

    Both store structured data. JSON uses braces and arrays and is lighter, so most web APIs use it. XML uses opening and closing tags, supports attributes and schemas, and remains common in enterprise and document formats.

    Why do developers on Reddit warn against hand-editing CSV files?

    Commas, quotes and line breaks inside values must be escaped correctly, and one stray quote can shift every following column. Converting from structured data avoids those manual errors.

    Paul Mills is a web developer and writer at webcode.tools. He covers the site's generators and online utilities, with a focus on making everyday HTML, CSS, and JavaScript tasks quicker for people who would rather build something than look up syntax for the tenth time.