Code Beautifier

Code Beautifier

Format HTML, CSS, JS, TypeScript, JSON, Markdown, YAML and XML with Prettier.

Ready In your browser

Result

Paste code to start

Language —
Lines —
Before
—
After
—
Engine
—
  1. Code
    —
    Pasted or opened
  2. Language
    —
    Detected or chosen
  3. Parsed
    —
    Into a syntax tree
  4. Printed
    —
    With your options

Formatted code

Options

Changes apply at once.

Output

Press Format to see the result.

Scroll to Top