Skip to content
P

Prettier

An opinionated code formatter

Free

#6224in Developer Tools
0In stores

Description

Prettier is an opinionated code formatter. It rewrites your code into one consistent style, so a team does not have to argue about formattin…

Highlights

  • Opinionated formatter with few options
  • Formats JavaScript, TypeScript, CSS, HTML, Markdown, GraphQL and more
  • Community plugins for Java, PHP, Ruby, Rust and more
  • Editor support for VS Code, WebStorm, Vim and others
  • Playground to try it in the browser

Ratings & Reviews

No ratings yet

Be the first to rate Prettier.

People also visit

D

DevGPT

Automate code formatting, debugging, refactor code

Developer Tools
Launch
S

Snippp

Code Toolkit Organizer

Developer Tools
Launch
A

AskCodi

Autocomplete code snippets, syntax highlighting

Developer Tools
Launch
B

Biome

Fast Rust-based formatter and code linter

Developer Tools
Launch
D

DevBox 🛠️

The Developer Toolbox

Developer Tools
Launch

Replit

Build software, collaboratively

Developer Tools
Launch

Prettier FAQ

What is Prettier?

An opinionated code formatter. It rewrites your code into one consistent style, so the team stops discussing formatting in code review.

Which languages does it format?

JavaScript, JSX, Flow, TypeScript, JSON, CSS, Less, SCSS, styled-components, HTML, Vue, Angular, Markdown, GraphQL and YAML. Community plugins add languages such as Java, PHP, Ruby, Rust and XML.

Which editors work with it?

The site lists support for VS Code, WebStorm, Visual Studio, Sublime Text, Vim, Emacs, Nova and Espresso, among others.

Is Prettier open source?

Yes. The source is on GitHub at prettier/prettier.

How do I install it?

Open the Install Prettier page on prettier.io. The site also has a playground where you can try it online first.

What are the best Prettier alternatives?

Popular alternatives to Prettier include DevGPT, Snippp and AskCodi. See all Prettier alternatives

Developer Stuff

Badges