Stays on your computer How this works

Prettier online: free code formatter

Format JavaScript, TypeScript, CSS, HTML, JSON, Vue, Markdown, YAML and more with the real Prettier and all its options — paste and it formats, entirely in your browser

More options and .prettierrc
Input
Formatted

Recent changes

  • Code Formatter (Prettier online) formats as you paste, handles Vue, Angular, JSON5 and MDX, takes your .prettierrc, and shows the changes
Everything new on the site