Skip to content
PluginStats

Black Formatter installs statistics

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

Formatting support for Python files using the Black formatter.

View on VS Code Marketplace Fresh · Dec 6, 2026

Black Formatter has 7,849,674 recorded installs on VS Code Marketplace, an increase of 1.4% over the past 30 days, ranking #120 of 2,515 tracked listings.

Installs
7,849,674
Official API · Dec 6, 2026
7-day growth
+0.3%
+25.3K installs
30-day growth
+1.4%
+104.7K installs
90-day growth
—
Insufficient history
Rank
#120
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)):

      "[python]": {
        "editor.defaultFormatter": "ms-python.black-formatter"
      }
    
  • 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:

      "[python]": {
        "editor.defaultFormatter": "ms-python.black-formatter",
        "editor.formatOnSave": true
      }
    
  • 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.

<table> <thead> <tr> <th>Settings</th> <th>Default</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>black-formatter.args</td> <td><code>[]</code></td> <td>Arguments passed to Black to format Python files. Each argument should be provided as a separate string in the array. E.g <code>"black-formatter.args" = ["--config", "&lt;file&gt;"]</code></td> </tr> <tr> <td>black-formatter.cwd</td> <td><code>[]</code></td> <td>Sets the current working directory used to format Python files with Black. By default, it uses the root directory of the workspace <code>${workspaceFolder}</code>. You can set it to <code>${fileDirname}</code> to use the parent folder of the file being formatted as the working directory for Black.</td> </tr> <tr> <td>black-formatter.path</td> <td><code>[]</code></td> <td>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 <code>["black"]</code>, it will use the version of Black available in the <code>PATH</code> environment variable. Note: Using this option may slowdown formatting. <br> Examples: <br> <code>["~/global_env/black"]</code> <br> <code>["conda", "run", "-n", "lint_env", "python", "-m", "black"]</code></td> </tr> <tr> <td>black-formatter.interpreter</td> <td><code>[]</code></td> <td>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 <code>[]</code>, 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.</td> </tr> <tr> <td>black-formatter.importStrategy</td> <td><code>useBundled</code></td> <td> Defines which Black formatter binary to be used to format Python files. When set to <code>useBundled</code>, the extension will use the Black formatter binary that is shipped with the extension. When set to <code>fromEnvironment</code>, 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 <code>black-formatter.path</code> setting takes precedence and overrides the behavior of <code>black-formatter.importStrategy</code>. </td> </tr> <tr> <td>black-formatter.showNotification</td> <td><code>off</code></td> <td> Controls when notifications are shown by this extension. Accepted values are <code>onError</code>, <code>onWarning</code>, <code>always</code> and <code>off</code>.</td> </tr> <tr> <td>black-formatter.serverTransport</td> <td><code>stdio</code></td> <td> Selects the transport protocol to be used by the Black server. When set to <code>stdio</code>, the extension will use the standard input/output streams to communicate with the Black server. When set to <code>pipe</code>, the extension will use a named pipe (on Windows) or Unix Domain Socket (on Linux/Mac) to communicate with the Black server. The <code>stdio</code> transport protocol is the default and recommended option for most users.</td> </tr> </tbody> </table>

Commands…

Description from the VS Code Marketplace listing.

  • black
  • formatting
  • python
  • toml

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

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

Adoption over time

Black Formatter installs on VS Code Marketplace, last 90 days: 7,849,674 installs as of Dec 6, 2026.Black FormatterInstalls on VS Code Marketplace · Last 90 days7,849,674installs7.7M7.7M7.8M7.8M7.9MSep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
Black Formatter installs on VS Code Marketplace, last 90 days: 7,849,674 installs as of Dec 6, 2026.

7/30/90-day growth

Black Formatter installs growth on VS Code Marketplace: +0.3% over 7 days, +1.4% over 30 days, 90-day growth unavailable.Black FormatterInstalls growth on VS Code Marketplace7,849,674installs now7-day growth+25,275 installs+0.3%30-day growth+104,667 installs+1.4%90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 6, 2026pluginstats.com
Black Formatter installs growth on VS Code Marketplace: +0.3% over 7 days, +1.4% over 30 days, 90-day growth unavailable.

Ranking history

Black Formatter VS Code Marketplace ranking history: currently #120 (by installs).Black FormatterVS Code Marketplace ranking · by installs · Last 90 days#120current rank#118#119#120#121#122#123#124Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec 6, 2026pluginstats.com
Black Formatter VS Code Marketplace ranking history: currently #120 (by installs).

Ratings over time

Black Formatter ratings on VS Code Marketplace, last 90 days: 54 ratings as of Dec 6, 2026.Black FormatterRatings on VS Code Marketplace · Last 90 days54ratings48505254565860Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
Black Formatter ratings on VS Code Marketplace, last 90 days: 54 ratings as of Dec 6, 2026.

Listing placement

All VS Code Marketplace2,515 listings · 126 pages · 1,259 shown · page 6, #20 (overall #120)
All VS Code Marketplace: every listing in installs order

Listing placement

Programming Languages795 listings · 40 pages · page 3, #12 (overall #52)
Programming Languages: every listing in installs order

Listing placement

Formatters284 listings · 15 pages · page 2, #3 (overall #23)
Formatters: every listing in installs order

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.

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

Recent observations

Full history (50)
Recent installs observations for Black Formatter
Date (UTC)InstallsChange vs. previous
7,849,674+3.1K
7,846,586+2.9K
7,843,652+4K
7,839,685+3.6K
7,836,090+5.3K
7,830,800+3.4K
7,827,393+3K
7,824,399+2.7K
7,821,660+2.8K
7,818,857+3.8K
7,815,042+3.4K
7,811,637+3.9K
7,807,693+5.1K
7,802,550—

Similar VS Code Marketplace Programming Languages plugins

All 20 Black Formatter alternatives

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 Dec 6, 2026. See the methodology.