Skip to content
PluginStats

Black Formatter installs statistics

By Microsoft (223 listings) · VS Code Marketplace · Programming Languages

Formatting support for Python files using the Black formatter.

View on VS Code Marketplace Fresh · Oct 18, 2026

Black Formatter has 7,666,846 recorded installs on VS Code Marketplace.

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

It is rated 3.4 out of 5 from 54 ratings.

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

Installs
7,666,846
Official API · Oct 18, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#122
Among tracked VS Code Marketplace listings

Rating: 3.35 / 5 from 54 ratings

About Black Formatter

Formatter extension for Visual Studio Code using the Black formatter

A Visual Studio Code extension with support for the Black formatter. The extension ships with black=26.5.1.

Note: The minimum version of Black this extension supports is 26.5.1.

This extension includes support for all actively supported versions of the Python language.

For more information on the Black formatter, see https://black.readthedocs.io/en/stable/.

Usage and Features

The Black extension for Visual Studio Code provides formatting support for your Python files. Check out the Settings section for more details on how to customize the extension.

• Integrated formatting: Once this extension is installed in VS Code, Black will be automatically available as a formatter for Python. This is because the extension ships with a Black binary. You can ensure VS Code uses Black by default for all your Python files by setting the following in your User settings (View > Command Palette... and run Preferences: Open User Settings (JSON)): • Format on save: Automatically format your Python files on save by setting the editor.formatOnSave setting to true and the editor.defaultFormatter setting to ms-python.black-formatter. You can also enable format on save for Python files only by adding the following to your settings: • Customize Black: You can customize the behavior of Black by setting the black-formatter.args setting. • Keyboard Shortcuts: The code formatting is available in Visual Studio Code through the following keyboard shortcuts: • On Windows: Shift + Alt + F • On Mac: Shift + Option + F • On Linux: Ctrl + Shift + I

Disabling formatting with Black

If you want to disable Black formatter, you can disable this extension per workspace in Visual Studio Code.

Settings

There are several settings you can configure to customize the behavior of this extension.

Settings Default Description

black-formatter.args [] Arguments passed to Black to format Python files. Each argument should be provided as a separate string in the array. E.g "black-formatter.args" = ["--config", "<file>"]

black-formatter.cwd [] Sets the current working directory used to format Python files with Black. By default, it uses the root directory of the workspace ${workspaceFolder}. You can set it to ${fileDirname} to use the parent folder of the file being formatted as the working directory for Black.

black-formatter.path [] Path or command to be used by the extension to format Python files with Black. Accepts an array of a single or multiple strings. If passing a command, each argument should be provided as a separate string in the array. If set to ["black"], it will use the version of Black available in the PATH environment variable. Note: Using this option may slowdown formatting. Examples: ["~/global_env/black"] ["conda", "run", "-n", "lint_env", "python", "-m", "black"]

black-formatter.interpreter [] Path to a Python executable or a command that will be used to launch the Black server and any subprocess. Accepts an array of a single or multiple strings. When set to [], the extension will use the path to the selected Python interpreter. If passing a command, each argument should be provided as a separate string in the array.

black-formatter.importStrategy useBundled Defines which Black formatter binary to be used to format Python files. When set to useBundled, the extension will use the Black formatter binary that is shipped with the extension. When set to fromEnvironment, the extension will attempt to use the Black formatter binary and all dependencies that are available in the currently selected environment. Note: If the extension can't find a valid Black formatter binary in the selected environment, it will fallback to using the binary that is shipped with the extension. The black-formatter.path setting takes precedence and overrides the behavior of black-formatter.importStrategy.

black-formatter.showNotification off Controls when notifications are shown by this extension. Accepted values are onError, onWarning, always and off.

black-formatter.serverTransport stdio Selects the transport protocol to be used by the Black server. When set to stdio, the extension will use the standard input/output streams to communicate with the Black server. When set to pipe, the extension will use a named pipe (on Windows) or Unix Domain Socket (on Linux/Mac) to communicate with the Black server. The stdio transport protocol is the default and recommended option for most users.

Commands

Command Description

Black Formatter: Restart Force re-start the format server.

Logging

From the Command Palette (View > Command Palette ...), run the Developer: Set Log Level... command. Select Black Formatter from the Extension logs group. Then select the log level you want to set.

Alternatively, you can set the black-formatter.trace.server setting to verbose to get more detailed logs from the Black server. This can be helpful when filing bug reports.

To open the logs, click on the language status icon ({}) on the bottom right of the Status bar, next to the Python language mode. Locate the Black Formatter entry and select Open logs.

Troubleshooting

In this section, you will find some common issues you might encounter and how to resolve them. If you are experiencing any issues that are not covered here, please file an issue.

• If the black-formatter.importStrategy setting is set to fromEnvironment but Black is not found in the selected environment, this extension will fallback to using the Black binary that is shipped with the extension. However, if there are dependencies installed in the environment, those dependencies will be used along with the shipped Black binary. This can lead to problems if the dependencies are not compatible with the shipped Black binary.

To resolve this issue, you can:…

Description from the VS Code Marketplace listing.

  • black
  • formatting
  • python
  • toml

Where Black 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 7, #2 (overall #122)
All VS Code Marketplace: every listing in installs order
PNG SVG
Programming Languages792 listings · 40 pages · page 3, #13 (overall #53)
Programming Languages: every listing in installs order
PNG SVG
Formatters287 listings · 15 pages · page 2, #3 (overall #23)
Formatters: every listing in installs order
PNG SVG

Charts

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

Adoption over time

Black Formatter installs on VS Code Marketplace, last 90 days: 7,666,846 installs as of Oct 18, 2026.Black FormatterInstalls on VS Code Marketplace · Last 90 days7,666,846installs7.7M7.7M7.7M7.7M7.7M7.7M7.7M7.7M7.7MJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 18, 2026 · 3 observations · Updated Oct…pluginstats.com
Black Formatter installs on VS Code Marketplace, last 90 days: 7,666,846 installs as of Oct 18, 2026.
PNG SVG

7/30/90-day growth

Black Formatter installs growth on VS Code Marketplace: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.Black FormatterInstalls growth on VS Code Marketplace7,666,846installs 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
Black Formatter installs growth on VS Code Marketplace: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.
PNG SVG

Ranking history

Black Formatter VS Code Marketplace ranking history: currently #122 (by installs).Black FormatterVS Code Marketplace ranking · by installs · Last 90 days#122current rank#120#121#122#123#124Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 16, 2026 – Oct 18, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
Black Formatter VS Code Marketplace ranking history: currently #122 (by installs).
PNG SVG

Ratings over time

Black Formatter ratings on VS Code Marketplace, last 90 days: 54 ratings as of Oct 18, 2026.Black FormatterRatings on VS Code Marketplace · Last 90 days54ratings48505254565860Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 18, 2026 · 3 observations · Updated Oct…pluginstats.com
Black Formatter ratings on VS Code Marketplace, last 90 days: 54 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 Black Formatter
Date (UTC)InstallsChange vs. previous
7,666,846+1.3K
7,665,509+2.3K
7,663,230—

Similar VS Code Marketplace Programming Languages 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=ms-python.black-formatter. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.