How it works
Prettier ignores how the code was typed: it parses it and prints it back out in its own style, wrapping lines at a set width. It handles JavaScript, TypeScript, JSX, CSS, HTML, JSON, Markdown, YAML and GraphQL, and plugins add more, such as sorting Tailwind classes. It deliberately has very few options (line width, quotes, semicolons, trailing commas), so there is little to configure or debate.
Most teams run it on save in the editor and check it in CI, which keeps code reviews focused on real changes. It does not look for bugs; that is ESLint's job, and eslint-config-prettier switches off ESLint's style rules so the two never fight. Biome includes a largely Prettier-compatible formatter that runs much faster.
Prettier pricing
Prettier vs the alternatives
Related terms
More in Dev workflow and DevOps
Everyday tools