Skip to content
FileConvertora

Free Data Format Converter

Convert between JSON, YAML, XML, TOML and CSV in any direction. Paste or drop a file; the format is detected, and the result updates as you type.

Runs on your device

What to do next

How to use Data Format Converter

  1. 1

    Paste data or drop a file.

  2. 2

    Choose the format to convert to.

  3. 3

    Copy the result or download it.

Data Format Converter converts between JSON, YAML, XML, TOML and CSV in any direction. Paste data or drop a file, and the format is detected from the file name or the text itself; the result updates as you type.

Swap turns the conversion around in one click, with the result as the new input.

What each format is for

JSON for APIs and code, YAML for readable config files, XML for older systems and feeds, TOML for Python and Rust configs, CSV for spreadsheets.

When something can’t be kept

Not every format holds everything: CSV is a flat table, TOML has no empty values, and XML needs a single top element. FileConvertora notes any change it had to make, so nothing disappears silently.

FormatLooks likeUsed forNotes
JSONBraces and quotesAPIs, web apps, configStrict: no comments
YAMLIndentationConfig files (Docker, Kubernetes, GitHub Actions)Comments allowed; indentation matters
XMLTagsOlder APIs, feeds, Office files, AndroidVerbose, supports attributes
TOMLKey = value and [sections]Config files (Rust, Python pyproject)Easy to read, comments allowed
CSVRows and commasSpreadsheets, imports, databasesFlat tables only
ExcelSheets and cellsSpreadsheets, reportsFormatting and formulas

  • Convert data between JSON, YAML, XML, TOML and CSV in one place.
  • Clean up and reformat config files.

  • The file is opened and processed by your browser on your own device. It is never uploaded, so no server, including ours, ever receives a copy.
  • Your data is parsed and written in your browser, which matters for API keys, tokens and customer data.

It says the input is invalid
The error shows the line. Common causes: tabs in YAML, a trailing comma in JSON, an unclosed tag in XML.
Nested data looks flat
CSV can’t hold nested objects; nested values are joined into column names like address.city.

Questions

Which conversions are possible?

Any pair of JSON, YAML, XML, TOML and CSV, in both directions. Use Swap to turn the result around.

Is anything lost along the way?

Data is kept, but not every format can hold everything: CSV is flat, TOML has no empty values and XML needs one top element. FileConvertora notes any change it had to make.

Is my data uploaded?

No. Everything is converted in your browser, so private config files and data stay on your device.

Something not working, or a question that isn’t here? Tell us about it

Popular conversions

More file tools

See all 28