Format tools
JSON, CSV, YAML, HTML, CSS, SQL, and Markdown rewrites in this tab. Formatting changes whitespace after a successful parse. YAML support is a maps-and-lists subset.
13 tools
Pretty-print or minify
Use the JSON formatter to read a document, or the JSON minifier to strip whitespace. CSV, YAML, HTML, CSS, SQL, and Markdown live in the same group. Turn on repair when the input is almost JSON but not strict.
- CSS Formatter CSS Formatter in this browser.
- CSS Minifier CSS Minifier in this browser.
- CSV to JSON CSV to JSON in this browser.
- HTML Formatter HTML Formatter in this browser.
- HTML Minifier HTML Minifier in this browser.
- JSON Formatter Pretty-print JSON. Choose spaces or tabs, indent width, and whether to repair common mistakes.
- JSON Minifier Parse JSON and emit a compact single-line document. Invalid JSON is rejected unless repair is on.
- JSON to CSV JSON to CSV in this browser.
- JSON to YAML JSON to YAML in this browser.
- Markdown Preview Markdown Preview in this browser.
- SQL Formatter SQL Formatter in this browser.
- XML Formatter XML Formatter in this browser.
- YAML to JSON YAML to JSON in this browser.