Tools

Data Formatter & Converter

About Data Formatter & Converter

The Data Formatter & Converter tidies and checks JSON, YAML, and XML in a code editor with line numbers, folding, and search. Format type is detected automatically, and errors point to the exact line and column.

The Convert tab turns CSV into JSON, JSON into CSV, JSON into YAML, and YAML into JSON as you type. Paste text, open a file up to 5 MB, or drop it on the editor. Nothing is saved or uploaded.

Features

  • Format, minify, and validate JSON, YAML, and XML
  • Errors with exact line and column
  • JSON key sorting and duplicate-key notes
  • CSV ↔ JSON with delimiter and type detection
  • JSON ↔ YAML conversion, including multi-document YAML
  • Runs locally with no upload

How to use

  1. Paste your data, open a file, or drop it on the editor.
  2. Format, minify, or choose a conversion direction.
  3. Copy or download the result.

Frequently asked questions

Is my data sent to a server?

No. Formatting, validation, and conversion run in your browser, and nothing is saved.

Can it convert XML to JSON?

No. XML can be formatted and validated, but there is no single standard mapping from XML to other formats.

Will large numbers lose precision?

Formatting and minifying keep number literals exactly. Sorting keys and conversions warn you when a number would be rounded.

Paste or open data to check it, tidy it up, or convert it. Everything runs in this browser.

Input

Input

Paste or open data to validate it.

Output