Skip to content

Python Formatter

Format Python in syntax-highlighted editors, normalizing indentation while keeping comments and blank lines if you want them.

The problem it solves

Python copied between editors, docs, and chat often ends up with mixed or broken indentation, which changes what it means.

Included in the app for
  • macOS
  • Windows
  • Linux
Python Formatter with formatted code

Features

  • Normalize indentation #

    Re-indent code consistently at the width you choose.

  • Keep comments and blank lines #

    Choose whether comments and blank lines survive formatting.

Private by design

  • Your code and data stay on your machine: no stranger’s server sees them, and no AI trains on them.
  • Every tool works offline. The only network use is checking for updates.
  • Free to use with no ads or paywalls, ever. Source available on GitHub.