Converters
30 tools
Data Format Converters
Convert between JSON, YAML, CSV, XML, TOML and TSV. Each converter documents exactly how structures map between the two formats and where information can be lost.
Choose by task
- Turn an API response into spreadsheet rows
- JSON to CSV — Choose flattening for nested objects and review how arrays are represented.
- Read a spreadsheet export as records
- CSV to JSON — Check the header option and keep identifiers as strings when precision matters.
- Use YAML configuration as JSON
- YAML to JSON — Convert one document at a time; comments and anchor notation are not retained.
Guides for this work
- Color Converter
Convert colours between HEX, RGB, HSL and OKLCH.
- CSV to JSON
Turn a CSV table into a JSON array of objects.
- JSON to CSV
Turn JSON records into a spreadsheet-ready CSV table.
- JSON to YAML
Turn JSON into readable YAML for config files and manifests.
- Markdown to HTML
Convert Markdown to safe, clean HTML.
- XML to JSON
Turn XML into JSON, with attributes and text nodes preserved.
- YAML to JSON
Turn a single YAML document into JSON, with limits on what carries over.
- CSS Unit Converter
Convert px, rem, em and pt values.
- CSV to TSV
Switch a CSV file to tab separators.
- HTML to Markdown
Turn HTML into clean, readable Markdown.
- JSON Lines to JSON
Wrap newline-delimited records into a JSON array.
- JSON to JSON Lines
Split a JSON array into one record per line.
- JSON to TOML
Turn JSON into TOML for Cargo, pyproject and similar config files.
- JSON to XML
Turn JSON into well-formed XML with a configurable root element.
- TOML to JSON
Turn TOML config into JSON, with dates normalised to ISO 8601.
- TSV to CSV
Turn tab-separated data into properly quoted CSV.
- TSV to JSON
Turn tab-separated rows into JSON records.
More converters
- CSV Delimiter ConverterSwitch a CSV file between comma, semicolon, tab and pipe.
- CSV to XMLTurn CSV rows into XML elements.
- CSV to YAMLTurn CSV rows into a YAML list of records.
- JSON to Markdown TableTurn JSON records into an aligned Markdown table.
- Markdown Table to CSVTurn a Markdown table into CSV.
- Markdown Table to JSONTurn a Markdown table into JSON records.
- OKLCH to HEXConvert OKLCH to hex, flagging out-of-gamut colours.
- TOML to YAMLTurn a TOML config into indented YAML.
- XML to CSVExtract a table from repeated XML elements.
- XML to YAMLTurn XML into readable indented YAML.
- YAML to CSVFlatten a YAML list into a CSV table.
- YAML to TOMLMigrate a YAML config to TOML.
- YAML to XMLTurn YAML into well-formed XML.