ToolerCat / Data Format Converter

Data Format Converter

JSON, YAML, XML, CSV and TOML — any to any, with the exact line of any syntax error.

Validate YAML / XML / TOML → · JSON Formatter →

How the conversion works

The input is parsed into a data tree and written out in the target format. YAML supports multiple documents (separated by ---) — they become an array. XML attributes become keys prefixed with @_ and text with attributes becomes #text; a root element is added when the data has none. CSV uses the first row as headers and turns numbers and booleans into real types; nested JSON is flattened with dot notation (owner.name). TOML needs a table at the top level, so arrays are wrapped as items and null values are skipped (TOML has no null).

FAQ

Is my data uploaded?

No. Parsing and conversion happen in your browser; files you open are read locally.

Why did my YAML numbers change?

YAML treats unquoted 0123, yes or 1e3 as numbers or booleans. Quote values to keep them as strings.

How do I check only the syntax?

Use the YAML / XML / TOML validator.

More about this tool

Convert data between JSON, YAML, XML, CSV and TOML in your browser, with validation and readable formatting of the result.

Use it to move configs between tools, turn API responses into spreadsheets or prepare fixtures for tests.