Put code in order
Code formatters
Format a document using the rules of its language.

/
Search by tool or task. Use ↓ to choose, Enter to open.

Even eight arms couldn’t find that.
Try a shorter name, like “text”, “color” or “code”.
- JSON formatterFormat, minify or validate JSON with line and column errors.
- XML formatterIndent XML while preserving declarations, comments and mixed content.
- SQL formatterFormat SQL for a selected dialect while keeping comments and placeholders.
- YAML formatterFormat YAML, keep comments, and see a JSON conversion.
- Markdown formatterTidy Markdown and compare the result before copying it.
- CSS formatterPaste CSS to format it with the bundled Prettier 3.9.8 parser.
- GraphQL formatterPaste GraphQL to format it with the bundled Prettier 3.9.8 parser.
- HTML formatterPaste HTML to format it with the bundled Prettier 3.9.8 parser.
- JavaScript formatterPaste JavaScript to format it with the bundled Prettier 3.9.8 parser.
- JSON5 formatterFormat comments, quoted keys and trailing commas.
- SCSS formatterPaste SCSS to format it with the bundled Prettier 3.9.8 parser.
- TypeScript formatterPaste TypeScript to format it with the bundled Prettier 3.9.8 parser.