Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>BlackNew to Visual Studio Code? Get it now.
Black

Black

mikoz

|
371,674 installs
| (5) | Free
Format Python code with black.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode Extension for black

GitHub Visual Studio Marketplace Installs Visual Studio Marketplace Version

VSCode extension for formatting Python code with black. Maybe better, maybe not...

Install Now

If you like this extension, consider staring!

GitHub Repo stars

Consider using Composite Formatter to run multiple formatters at once as a single formatter.

Extension Settings

Name Description
black-py.useIntegratedTerminal Whether to use integrated terminal instead of hidden terminal. (Not recommended)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft