Convert text

Paste text in and read it out in another format: JSON to YAML, XML to JSON, Markdown to HTML. The input's format is detected as you type, and anything lost in the conversion is said before you choose. Everything runs on your own computer.

Runs on your machine
Free
Works as a workflow step
JSON on the left and the converted result on the right

What it does

  • Convert between data formats

    JSON, NDJSON, YAML, TOML, XML, CSV, TSV and INI all convert to each other. JSON5 is read too.

  • Markdown, HTML and text

    Markdown, HTML and plain text convert to each other.

  • Format and tidy

    Convert a format to itself to pretty-print, minify or sort keys, with two spaces, four spaces or a tab.

  • Losses said up front

    A note under the output menu says what will not survive, such as comments, or nested data in a CSV.

  • Only what can work

    The output menu offers only the formats this document can actually become.

Formats

Opens
JSON
JSON5
NDJSON
YAML
TOML
XML
CSV
TSV
INI
Markdown
HTML
Text
Saves as
JSON
NDJSON
YAML
TOML
XML
CSV
TSV
INI
Markdown
HTML
Text

Questions

Are comments kept when converting YAML?

No. Every conversion reads the data and writes it again, so comments are lost, even converting YAML to YAML.

Can I convert nested JSON to CSV?

Only a flat list of records converts to CSV. Nested data is refused rather than flattened into column names nobody wrote.

More tools like this