Home / Data / Data Format Converter
Data Format Converter
Convert between JSON, YAML, XML, TOML, INI, CSV, NDJSON, MessagePack, CBOR and BSON.
Free, no uploads, no sign-up. Runs 100% in your browser.
How Data Format Converter works
Your data is parsed into a plain object with open-source parsers (js-yaml, fast-xml-parser, smol-toml, ini, Papa Parse, @msgpack/msgpack, cbor-x and bson) and written back out in the format you pick. Nested objects are flattened to dotted column names for CSV and rebuilt when you convert back.
Input: JSON, YAML, XML, TOML, INI, CSV, TSV, NDJSON, MSGPACK, CBOR, BSON. Output: JSON, YAML, XML, TOML, INI, CSV, TSV, NDJSON, MSGPACK, CBOR, BSON.
How to use Data Format Converter
- Paste data or open a file. The format is detected for you.
- Pick the format you want in the To list.
- Copy the result or download it.
Tips
- Use Swap to convert the result back and check nothing was lost.
- Binary formats (MessagePack, CBOR, BSON) are opened and saved as files.
Data Format Converter FAQ
- Are my files uploaded?
- No. This tool runs entirely in your browser tab. Files are read from your disk into memory and the result is generated locally.
- Is it free? Are there limits or watermarks?
- Free and open source (MIT). There are no file-size caps, daily quotas, accounts or watermarks.
- Does it work offline?
- Yes, once the page (and any engine it needs) has loaded, it keeps working without a connection thanks to the service worker cache.
Related tools
- YAML ⇄ JSON: Convert between YAML and JSON with validation.
- JSON Formatter: Prettify, validate, minify and explore JSON as a tree.
- CSV & Excel Converter: Convert CSV, XLSX, JSON, Markdown, TSV, HTML and SQL both ways.
- XML Formatter, XPath & Validator: Format or minify XML, check it is well-formed and test XPath expressions.