Softwr
Prettier logo

Prettier

Opinionated code formatter

Prettier is free to use. Prettier is an opinionated code formatter. Softwr lists it under Developer Tools. Prettier is made by Prettier Contributors, launched in 2017, available on API.

Overview

What is Prettier?

Prettier is an opinionated, open-source code formatter. It parses source code and reprints it from scratch with its own rules, taking the maximum line length into account, so that style discussions do not need to happen in code review. The project removes the original styling of a file, apart from details such as blank lines and object literal layout, and produces output that does not change the syntax tree. It supports JavaScript, JSX, Flow, TypeScript, Angular, Vue, HTML, CSS, Less, SCSS, JSON, GraphQL, Markdown including GitHub-flavoured Markdown and MDX v1, YAML, Handlebars, Lightning Web Components and MJML. Community plugins add languages such as Java, PHP, Ruby, Rust, TOML and XML. It runs from the command line, in continuous integration checks, as a save action in editors including VS Code, WebStorm, Vim, Emacs and Sublime Text, and as a pre-commit step. Prettier is free to use and carries no licence fee, paid tiers or hosted service. The maintainers sell merchandise to help fund the project. It has few configuration options by design, so teams that want fine-grained control over style will find it restrictive. It formats code but does not find bugs or enforce rules about code quality, so it is usually paired with a linter such as ESLint. Plugins for languages outside the core list are community maintained and vary in quality, and results can differ between Prettier versions, so teams normally pin a version.

What people use it for

  • Automatically formatting TypeScript files to project style standards
  • Enforcing consistent HTML indentation across component files
  • Removing style-related comments from pull request reviews
  • Formatting GraphQL queries with consistent indentation

The honest half

Where does Prettier fall short?

The limits buyers hit most with Prettier: inflexible style rules that cannot be customized significantly, forcing teams to accept opinionated defaults; and developers must format entire files rather than selective line ranges in some contexts. Each is concrete and checkable: the half of a review a vendor will not write.

  • Inflexible style rules that cannot be customized significantly, forcing teams to accept opinionated defaults
  • Developers must format entire files rather than selective line ranges in some contexts
  • Limited language support compared to some alternatives, though it covers major languages

Cross-shopped

What are the alternatives to Prettier?

The closest alternatives to Prettier are ESLint and Yarn. Each is a tool buyers genuinely weigh against it, with the reason why.

  • Prettier vs ESLint

    ESLint: Highly configurable JavaScript linter for enforcing coding standards and catching bugs with customizable rules

  • Prettier vs Yarn

    Yarn: Package manager with integrated code formatting and workspace management capabilities

Pricing

How much does Prettier cost?

Prettier is free to use. Taken from the vendor's own pricing page; prices move, so check before you buy.

Open source

Free

Answered, with sources

Questions people ask

Each answer names the page it came from, so you can check it rather than take our word for it.

Is Prettier free and open source?

Yes, Prettier is completely free and open source, available as an npm package with no licensing costs or subscriptions.

Source
Can Prettier be integrated with ESLint?

Yes, Prettier integrates with ESLint by disabling ESLint formatting rules via eslint-config-prettier, allowing both tools to work together with Prettier handling formatting and ESLint handling code quality.

Source
Does Prettier support configuration customization?

Prettier is intentionally opinionated with limited configuration options to enforce consistency. You can create a .prettierrc file for basic customization, but Prettier does not support extensive rule customization like ESLint.

Source

Behind it

Who makes Prettier?

Prettier is made by Prettier Contributors, founded in 2016 and based in Open Source.

Company
Prettier Contributors
Based in
Open Source
Founders
James Long

Timeline

Prettier over time

  1. Launch2017-01-01

    Prettier open sourced and released publicly with Vjeux's support

    Source
  2. Founded2016-12-01

    James Long creates Prettier as an opinionated JavaScript code formatter

    Source

Checked against

Sources

The pages the facts above were read from. Prices and limits change, so the vendor's own page is the final word.

  • Prettier homeprettier.iosupported languages, plugins, editors, merchandise funding
  • Prettier docsprettier.iowhat it does, reprints from scratch, line length, languages
Share

Keep looking

Where to go from Prettier

Best Developer Tools software for

Compare Prettier with

Other Developer Tools software

  • Find and fix problems in JavaScript code

    Free plan11 researched notes
  • Fast, reliable, and secure dependency management

    Free plan10 researched notes
  • Metalinter that runs and manages linters, formatters and security scanners

    Free plan13 researched notes
  • AI-powered CLI for developers

    Free plan11 researched notes
  • Containerised build automation and CI tooling

    Free plan13 researched notes
  • A free, open source Git client from GitHub for Windows and macOS that covers common workflows rather than all of Git.

    Free plan14 researched notes
  • Open source C++ library and command line tool for point cloud translation and processing

    Open source15 researched notes
  • Desktop AI coding assistant that runs on DeepSeek models

    Free, then $5/mo15 researched notes
  • IDE-style autocomplete for your existing terminal

    Free plan4 researched notes
  • Free package manager for macOS, Linux and Windows Subsystem for Linux

    Free plan10 researched notes
  • Free graphical Git client from Atlassian for Windows and macOS

    Free plan11 researched notes
  • Platform for building and deploying realtime multiplayer servers on the edge

    Free plan12 researched notes
  • The IDE for Professional Python Development

    Free, then $24.9/mo9 researched notes
  • Browser-based IDE and AI app builder running full Node.js stacks via WebContainers

    Free plan12 researched notes
  • Highly configurable text editor built to enable efficient text editing

    Free plan13 researched notes
  • IDE for .NET and C++ development on Windows

    Free, then $45/mo12 researched notes
  • Next generation frontend tooling

    Free plan13 researched notes

Softwr does not host reviews and shows no star rating for Prettier, because a rating we did not collect is not ours to publish. What is here is the pricing and platform detail from the vendor’s own pages, limitations we could state concretely, and alternatives a reviewer confirmed people weigh against it. Tell us if any of it is wrong.

More on Prettier

Best Developer Tools software alternatives

Management console for Kubernetes, Docker, Swarm and Podman environments

subscription

Fast, light Docker and Linux machine runner for Mac, positioned as a Docker Desktop alternative

freemium

Local cloud emulator that runs AWS and Snowflake services in a container

freemium

Free package manager for macOS, Linux and Windows Subsystem for Linux

open-source

Free, open-source terminal emulator for macOS with split panes, triggers and shell integration

open-source

AWS agentic IDE and CLI built around spec-driven development

freemium

Cloud hosted development environments configured by dev container files

usage-based

TypeScript toolkit from Vercel for building AI applications and agents

open-source

Compare Prettier with alternatives