PRETTIER FOR ENTERPRISE

Try It Online Install Prettier

Limited edition tshirts are now available to buy! $10 per tshirt goes to maintain the project.

What is Prettier?

  • An opinionated code formatter
  • Supports many languages
  • Integrates with most editors
  • Has few options

» Why?

  • Your code is formatted on save
  • No need to discuss style in code review
  • Saves you time and energy
  • And more

Works with the Tools You Use

JavaScript JSX Flow TypeScript
JSON HTML Vue Angular
Ember / Handlebars CSS Less SCSS
styled-components 💅styled-jsx GraphQL GraphQL Schemas
Markdown CommonMark GitHub-Flavored Markdown MDX v1
YAML Community Plugins Apex Elm (via elm-format)
Java PHP Ruby Rust
TOML XML And more...

Editor Support

Emacs prettier-el Apheleia Espresso
espresso-prettier Nova Prettier Prettier⁺
Sublime Text JsPrettier Vim vim-prettier
neoformat ALE ecoc-prettier Visual Studio
JavaScript Prettier VS Code prettier-vscode WebStorm
Built-in support

Got more? Send a PR


Used By People You Rely On

See others

Established in the Ecosystem

Regularly used by:

  • More than 83% of respondents to State of JS 2021.
  • More than 70% of respondents to State of JS 2020.
  • More than 9.3 million dependent repositories on GitHub

Check Them Out

  • More than 19.3k dependent packages on npm

See them all


Under Construction New! Generate your own 90s page here! Under Construction