Format
Format and minify JSON, XML, SQL, HTML, CSS and JavaScript online. Automatic indentation, syntax validation and exact error positions, all local.
Tools in this category
JSON Formatter
Format, validate and minify JSON in a collapsible tree with syntax highlighting and line numbers. Search, edit, delete or convert to Python dicts.
JSON to Code
Turn JSON into TypeScript interfaces, Go structs, Java classes or Rust structs, with missing keys marked optional. Runs locally in your browser.
SQL Formatter
Format SQL online: one clause per line, consistent keyword case, subqueries indented deeper. Minify strips comments and extra whitespace, all locally.
JSON5 Converter
Parse JSON5 into strict JSON: comments, unquoted keys, single quotes, trailing commas, hex and Infinity all work, with errors located by line.
XML Formatter
Format XML online by tag level, with comments, CDATA and DOCTYPE on their own lines and attribute values left untouched. Runs locally in your browser.
HTML Formatter
Format HTML online by tag level, keeping text and inline tags on one line and script or pre content untouched. Runs locally, with nothing uploaded.
JSONL Converter
Convert JSONL (NDJSON) and JSON arrays both ways: parsed line by line with the failing line number reported, blank lines skipped, CRLF and BOM handled.
CSS Formatter
Format CSS online: one declaration per line, selectors split at commas. Minify only strips structural whitespace, keeping meaningful spaces in values.
INI Converter
Convert INI and .properties to and from JSON: sections, comments, line continuations and escapes, numbers and booleans inferred only when lossless.
CSV Converter
Convert CSV / TSV and JSON both ways: delimiter detection, correct quoting and embedded newlines, Excel BOM stripped, numbers only when lossless.
JS Minify & Beautify
Minify JavaScript (comments and whitespace stripped, /*! licences kept) or beautify it by re-indenting on braces and semicolons. Nothing is uploaded.
YAML Converter
Convert YAML to JSON and back: multi-document files, anchors and merge keys, exact big integers, parse errors with a line and column.
Shell Formatter
Indent a shell script by structure: if/fi, for/done, case/esac and functions. Only leading whitespace changes; heredocs stay intact.
TOML Converter
Convert TOML and JSON both ways: all four date/time kinds, arrays of tables and dotted keys, big integers and inf/nan kept, errors located by line.
JS Obfuscate
Strip comments and whitespace, escape strings and numbers, rename local variables — smaller, and harder to skim. All local.
Python Formatter
Reindent Python code from a real tree-sitter parse, changing only leading whitespace.
Ruby Formatter
Reindent Ruby code from a real tree-sitter parse, changing only leading whitespace.
Java Formatter
Reindent Java code from a real tree-sitter parse, changing only leading whitespace.
C Formatter
Reindent C code from a real tree-sitter parse, changing only leading whitespace.
C# Formatter
Reindent C# code from a real tree-sitter parse, changing only leading whitespace.
JSON Structure Inspector
Inspect a JSON document: nesting depth, node count, type breakdown, longest array — and duplicate keys, which JSON.parse silently swallows.
PHP Formatter
Reindent PHP code from a real tree-sitter parse, changing only leading whitespace.
Perl Formatter
Reindent Perl code from a real tree-sitter parse, changing only leading whitespace.
VBScript Formatter
Reindent VBScript by pairing block keywords like Sub / If / For / Do, changing only leading whitespace.
SVG Minifier
Minify SVG: drop comments and metadata, collapse whitespace between tags, cut coordinate precision and remove unreferenced ids. viewBox is never touched.
XML ↔ JSON
Convert between XML and JSON with one fixed convention (attributes as @name, repeated tags as arrays) and a report of what the conversion dropped.
TOON ↔ JSON
Convert between TOON and JSON both ways, with comma, tab and pipe delimiters, and compare their character counts — characters only, not tokens.
Excel Converter
Drop in a .xlsx, .xls, .ods or .csv and convert it to CSV, JSON, a Markdown table or an HTML table. The file is never uploaded.