Formatters online tools — same implementation for humans and agents · 19 tools
root:formatter·Human page + Agent API · same engine
Convert camelCase and snake_case
text-utils
Upper, lower, title, and toggle case
text-utils
Prettier CSS parser pretty-print (pairs with CSSO minify)
prettier
Prettier HTML parser pretty-print (pairs with html-minifier-terser)
prettier
Format JavaScript, TypeScript, or JSON with Prettier (bounded input size)
prettier
Validate, pretty-print, or minify via JSON.parse with line/column errors; optional sortKeys
JSON.parse
Minify JSON by stripping whitespace via JSON.parse/stringify
JSON.parse
Prefix each line with a line number
line-index
Add prefix/suffix to each line
text-utils
Strip empty lines from text
text-utils
Collapse consecutive whitespace and trim
ws-collapse
Sort lines alphabetically
text-utils
Pretty-print SQL with sql-formatter
sql-formatter
Strip SQL comments and excess whitespace
sql-collapse
Parse and re-serialize TOML via smol-toml
smol-toml
Trim, collapse, or strip whitespace
text-utils
Validate and pretty-print XML
fast-xml-parser
Minify XML with fast-xml-parser
fast-xml-parser
Pretty-print or compact YAML via js-yaml
js-yaml