Code Formatter
Universal Code Formatter
Paste any code or data — auto-detection picks the right formatter. Supports JSON, YAML, TOML, XML, HTML, CSS, SQL, JS/TS and more.
Input
Output
Formatted output will appear hereIndentation
Style
Size
Print width
JS / TS
Trailing comma
Quotes
Semicolons
Bracket spacing
SQL
Dialect
Keywords
Identifiers
Display
Font size
Line numbers
Word wrap
Minify output