Skip to content
PluginStats

Prettier - Code formatter installs statistics

By Prettier (4 listings) · VS Code Marketplace · Formatters

Code formatter using prettier

View on VS Code Marketplace Fresh · Oct 18, 2026

Prettier - Code formatter has 72,367,040 recorded installs on VS Code Marketplace.

It ranks #11 of 2,500 tracked VS Code Marketplace listings by installs.

It is rated 3.5 out of 5 from 492 ratings.

PluginStats has 3 daily observations since Oct 16, 2026; the latest is from Oct 18, 2026.

Installs
72,367,040
Official API · Oct 18, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#11
Among tracked VS Code Marketplace listings

Rating: 3.54 / 5 from 492 ratings

About Prettier - Code formatter

Prettier Formatter for Visual Studio Code

Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.

JavaScript · TypeScript · Flow · JSX · JSON CSS · SCSS · Less HTML · Vue · Angular HANDLEBARS · Ember · Glimmer GraphQL · Markdown · YAML Your favorite language?

Installation

Install through VS Code extensions. Search for Prettier - Code formatter

Visual Studio Code Market Place: Prettier - Code formatter

Can also be installed in VS Code: Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.

Default Formatter

To ensure that this extension is used over other extensions you may have installed, be sure to set it as the default formatter in your VS Code settings. This setting can be set for all languages or by a specific language.

Note: VS Code does not support combined language syntax for editor.defaultFormatter. You must set the formatter for each language separately:

If you want to disable Prettier on a particular language you can either create a .prettierignore file or you can use VS Code's editor.defaultFormatter settings.

The following will use Prettier for all languages except Javascript.

The following will use Prettier for only Javascript.

Additionally, you can disable format on save for specific languages if you don't want them to be automatically formatted.

Prettier Resolution

This extension will use prettier from your project's local dependencies (recommended). When the prettier.resolveGlobalModules is set to true the extension can also attempt to resolve global modules. Should prettier not be installed locally with your project's dependencies or globally on the machine, the version of prettier that is bundled with the extension will be used.

To install prettier in your project and pin its version as recommended, run:

NOTE: You will be prompted to confirm that you want the extension to load a Prettier module. This is done to ensure that you are not loading a module or script that is not trusted.

Prettier Versions

This extension bundles Prettier 3.x by default. If your project has a local installation of Prettier (in node_modules), that version will be used instead of the bundled version. This allows you to use a specific version of Prettier in your project.

Prettier 2.x Compatibility: Projects using Prettier 2.x are still fully supported. If you have Prettier 2.x installed locally in your project, the extension will automatically use that version.

Plugins

This extension supports Prettier plugins when you are using a locally or globally resolved version of prettier. If you have Prettier and a plugin registered in your package.json, this extension will attempt to register the language and provide automatic code formatting for the built-in and plugin languages.

Configuration

There are multiple options for configuring Prettier with this extension. You can use VS Code settings, prettier configuration files, or an .editorconfig file. The VS Code settings are meant to be used as a fallback and are generally intended only for use on non-project files. It is recommended that you always include a prettier configuration file in your project specifying all settings for your project. This will ensure that no matter how you run prettier - from this extension, from the CLI, or from another IDE with Prettier, the same settings will get applied.

Using Prettier Configuration files to set formatting options is the recommended approach. Options are searched recursively down from the file being formatted so if you want to apply prettier settings to your entire project simply set a configuration in the root. Settings can also be configured through VS Code - however, these settings will only apply while running the extension, not when running prettier through the command line.

Configuring Default Options

Some users may not wish to create a new Prettier config for every project or use the VS Code settings. In order to set a default configuration, set prettier.configPath. However, be careful, if this is set this value will always be used and local configuration files will be ignored.

Visual Studio Code Settings

You can use VS Code settings to configure prettier. Settings will be read from (listed by priority):

1. Prettier configuration file 1. .editorconfig 1. Visual Studio Code Settings (Ignored if any other configuration is present)

NOTE: If any local configuration file is present (i.e. .prettierrc) the VS Code settings will NOT be used.

Usage

Using Command Palette (CMD/CTRL + Shift + P)

Keyboard Shortcuts

Visual Studio Code provides default keyboard shortcuts for code formatting. You can learn about these for each platform in the VS Code documentation.

If you don't like the defaults, you can rebind editor.action.formatDocument and editor.action.formatSelection in the keyboard shortcuts menu of vscode.

Format On Save

Respects editor.formatOnSave setting.

You can turn on format-on-save on a per-language basis by scoping the setting:

Format Selection

Format selection works on several languages depending on what Prettier itself supports. The following languages currently are supported:

Format Document (Forced)

If you would like to format a document that is configured to be ignored by Prettier either because it is in a .prettierignore file or part of a normally excluded location like node_modules, you can run the command Format Document (Forced) to force the document to be formatted. Forced mode will also ignore any config for requirePragma allowing you to format files without the pragma comment present.

Linter Integration…

Description from the VS Code Marketplace listing.

  • angular
  • commonmark
  • css
  • ember
  • flow
  • formatter
  • glimmer
  • graphql
  • handlebars
  • html
  • ignore
  • javascript
  • js
  • json
  • jsx
  • less
  • markdown
  • md
  • mdx
  • multi-root ready

Where Prettier - Code formatter sits in the listing

Each band is one page of 20. Installs on a log scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

All VS Code Marketplace2,500 listings · 125 pages · page 1, #11 (overall #11)
All VS Code Marketplace: every listing in installs order
PNG SVG
Formatters287 listings · 15 pages · page 1, #2 (overall #2)
Formatters: every listing in installs order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

Prettier - Code formatter installs on VS Code Marketplace, last 90 days: 72,367,040 installs as of Oct 18, 2026.Prettier - Code formatterInstalls on VS Code Marketplace · Last 90 days72,367,040installs72.3M72.3M72.4M72.4M72.4M72.4M72.4MJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 18, 2026 · 3 observations · Updated Oct…pluginstats.com
Prettier - Code formatter installs on VS Code Marketplace, last 90 days: 72,367,040 installs as of Oct 18, 2026.
PNG SVG

7/30/90-day growth

Prettier - Code formatter installs growth on VS Code Marketplace: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.Prettier - Code formatterInstalls growth on VS Code Marketplace72,367,040installs now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
Prettier - Code formatter installs growth on VS Code Marketplace: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.
PNG SVG

Ranking history

Prettier - Code formatter VS Code Marketplace ranking history: currently #11 (by installs).Prettier - Code formatterVS Code Marketplace ranking · by installs · Last 90 days#11current rank#9#10#11#12#13Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 16, 2026 – Oct 18, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
Prettier - Code formatter VS Code Marketplace ranking history: currently #11 (by installs).
PNG SVG

Ratings over time

Prettier - Code formatter ratings on VS Code Marketplace, last 90 days: 492 ratings as of Oct 18, 2026.Prettier - Code formatterRatings on VS Code Marketplace · Last 90 days492ratings440460480500520540560Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 18, 2026 · 3 observations · Updated Oct…pluginstats.com
Prettier - Code formatter ratings on VS Code Marketplace, last 90 days: 492 ratings as of Oct 18, 2026.
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Recent observations

Full history (3)
Recent installs observations for Prettier - Code formatter
Date (UTC)InstallsChange vs. previous
72,367,040+9.5K
72,357,551+17.2K
72,340,371—

Similar VS Code Marketplace Formatters plugins

Data source

Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.

Listing: https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.