Data converters

Format and validate JSON, XML and YAML files, or convert structured data between JSON, CSV, XML, and YAML without leaving the browser.

  • csv
  • json
  • xml
  • yaml
  • yml
  • tsv

Showing 11 tools

Convert CSV rows into a JSON array of objects.

CSV JSON

Pretty-print JSON with consistent two-space indentation.

JSON JSON

Convert JSON to JSON directly in the browser without uploading your file or creating an account.

JSON JSON

Convert JSON to JSON directly in the browser without uploading your file or creating an account.

JSON JSON

Convert an array of JSON objects into CSV.

JSON CSV

Convert JSON to XML directly in the browser without uploading your file or creating an account.

JSON XML

Convert JSON to YAML directly in the browser without uploading your file or creating an account.

JSON YAML

Convert XML to XML directly in the browser without uploading your file or creating an account.

XML XML

Check whether an XML document is well-formed.

XML JSON

Convert XML elements and attributes to JSON.

XML JSON

Parse YAML data and serialize it as JSON.

YAML YML JSON

Supported formats

Every format you can work with in the data category. Individual tool pages list their exact input and output pairs.

  • csv
  • json
  • xml
  • yaml
  • yml
  • tsv

Data questions

Answers that apply across this category.

Are my data files uploaded?

No. These tools parse and convert your files locally in your browser.

How is JSON represented in XML?

A JSON object's properties become child elements. Arrays are represented by repeated sibling elements; XML text and attributes become strings and @-prefixed properties when converted back to JSON.

Working with data files

Format and validate JSON, XML and YAML files, or convert structured data between JSON, CSV, XML, and YAML without leaving the browser.

Conversions in this category are designed to run on your device wherever the browser makes it possible. Where a format needs a codec the browser does not ship, the tool downloads that codec as a WebAssembly module the first time you use it, and the page tells you before you start.

Nothing is uploaded for supported tools. If a future tool needs to process a file on a server, that will be stated on the tool page before you select a file, along with how long the file is kept.