Code Beautifier
Format HTML, CSS, JS, TypeScript, JSON, Markdown, YAML and XML with Prettier.
Result
Paste code to start
Language
—
Lines
—
Before
—
After
—
Engine
—
- Code—Pasted or opened
- Language—Detected or chosen
- Parsed—Into a syntax tree
- Printed—With your options
Formatted code
Options
Changes apply at once.
JSON and XML have no options besides the indent.
Output
Press Format to see the result.