Beautify code
Prettier formatting for JS, TS, CSS, HTML, JSON, Markdown, YAML.
- 01Paste
- 02Adjust
- 03Copy
Paste text to begin. Free
01 — Steps
How to beautify code
- Paste code
The language is guessed from the content; override it if needed.
- Set style
Print width, tabs or spaces, semicolons, single or double quotes.
- Copy
Formatted output appears instantly.
02 — Questions
Frequently asked questions
Which formatter is used?
Prettier, the standard used by most JavaScript projects.
Can it minify?
No, this tool formats for readability. Use your build tool to minify.
Which languages are supported?
JavaScript, TypeScript, CSS, HTML, JSON, Markdown and YAML.
03 — Related
Related tools
04 — More
All developer tools