📋 Code Formatter

Format JSON, YAML, XML and other code formats - all in your browser

JSON
YAML
XML
SQL
HTML
CSS

Examples

JSON Example
{"users":[{"id":1,"name":"John","active":true},{"id":2,"name":"Jane","active":false}]}
YAML Example
database: host: localhost port: 5432 name: myapp development: debug: true
XML Example
Johntrue
SQL Example
SELECT u.name, p.title FROM users u JOIN posts p ON u.id = p.user_id WHERE u.active = 1 ORDER BY p.created_at DESC;
Code formatted successfully!