100% client-side · nothing leaves your browser
format
anything
A no-nonsense console of eight formatters for code and data. Beautify, minify, and validate JSON, XML, HTML, YAML, SQL, Python, GraphQL and CSS — instantly, privately, and free.
$ echo '{"name":"ada","born":1815}' | format json
{
"name": "ada",
"born": 1815
}$ validate
✓ valid · 2 keys · 0 errors
ls ./formatters
8 tools available{ }
JSON
Format, validate & minify JSON data
./json-formatter→
</>
XML
Format, validate & minify XML documents
./xml-formatter→
< >
HTML
Format & beautify HTML markup
./html-formatter→
---
YAML
Format & structure YAML configs
./yaml-formatter→
db
SQL
Format & beautify SQL queries
./sql-formatter→
>>>
Python
Format & indent Python code
./python-formatter→
◈
GraphQL
Format GraphQL queries & schemas
./graphql-formatter→
#id
CSS
Format & beautify CSS stylesheets
./css-formatter→
cat features.txt
[01]
format
Beautiful, consistent indentation with configurable spacing.
[02]
validate
Real-time syntax checking with precise, readable error output.
[03]
private
Everything runs locally. Your data never touches a server.