Data Format Converter

Convert JSON, YAML, XML, CSV, TOML and Properties in the browser while retaining structures and scalars the target format can represent.

Input (JSON)

Characters: 0

Output (YAML)

Characters: 0

Format examples

JSON

{"a":1}

YAML

a: 1

XML

<root a="1"/>

CSV

a,b · 1,2

TOML

a = 1

Properties

a.b=1

Data Format Converter

Convert JSON, YAML, XML, CSV, TOML and Properties in the browser while retaining structures and scalars the target format can represent.

Usage guide

How to use

  1. Choose input and output formats, then paste data or load an example.
  2. CSV uses the first record as headers. Quote fields containing commas, line breaks or quotation marks.
  3. Convert and inspect the result. YAML, TOML and XML conversion supports the basic structures shown in the examples; keep originals and check complex documents.

Common questions

How are commas and line breaks stored in CSV fields?
Wrap the entire field in double quotes, and double any embedded quotation mark. For example, "Denver, CO" is read as one field.
Is every format conversion lossless?
Formats have different data models. Keep the original and check nesting, types, comments and special characters. Basic YAML, TOML and XML conversion does not implement their complete specifications.