InTab

Data Format Converter

Convert between JSON, YAML, XML, CSV and TOML in any direction.

Converters: Turn one format into another. It runs in your browser, so nothing you enter is uploaded.

What it does

The Data Format Converter converts between JSON, YAML, XML, CSV and TOML in any direction. It is handy for moving settings between tools, turning an API response into a spreadsheet, or rewriting a config in the format another tool expects.

How to use it

  1. Choose the From and To formats. Swap direction flips them.
  2. Paste your data, open a file, or click Load sample.
  3. Choose the indent for the output.
  4. For CSV, Flatten nested turns nested objects into dotted column names such as address.city, and turns them back into objects when reading CSV.
  5. Copy or download the result.

Example

{ "app": { "name": "InTab", "debug": false }, "tags": ["dev", "tools"] }

As YAML:

app:
  name: InTab
  debug: false
tags:
  - dev
  - tools

As TOML:

tags = [ "dev", "tools" ]

[app]
name = "InTab"
debug = false

Good to know

  • CSV is flat. Lists of objects convert well; deeply nested data becomes dotted columns or JSON inside a cell.
  • TOML needs an object at the top level, not a list.
  • XML attributes are shown with an @_ prefix and element text as #text, so attributes are not lost.
  • Numbers and true/false are detected when reading CSV and XML.

FAQ

Will comments survive? No. JSON has no comments, so they are dropped during conversion. To keep YAML comments while tidying a file, use the YAML Formatter.

Can I convert Excel files? Use the CSV ↔ Excel Converter to get CSV or JSON first.

Guides

More Converters tools

  • JSON to Code: Generate TypeScript, C#, Java, Python, Go, Kotlin, Swift, Rust, PHP, Dart types from JSON.
  • XML to Code: Generate C# (XmlSerializer), Java (JAXB), Go and TypeScript classes that read your XML.
  • JSON to YAML Converter: Turn JSON into clean YAML (and back) for configs, Kubernetes and CI files.
  • XML to JSON Converter: Convert XML documents to JSON, keeping attributes, and back again.
  • Number Base Converter: Convert numbers between binary, octal, decimal and hexadecimal.
  • Color Converter: Convert colors between HEX, RGB, HSL, HSV and CMYK.
  • Case Converter: camelCase, snake_case, kebab-case, PascalCase and more.