Developer

Python Formatter✓

Format Python source with consistent layout and indentation for easier reading and review.

Tools will load when you run.
Input method
Plain Text
0 characters

How to use Python Formatter

  1. Choose your PY, PYI, plain text or paste text into the editor.
  2. Choose your Python source or paste it into the editor and review the supported parser or engine.
  3. Run the Python formatter and download the result.

Process multiple files

Use a workflow to apply the same settings to each file.

Formats and requirements

Input formats
PY, PYI, plain text
Output
Depends on the selected output options
Availability
Free in your browser and through the CLI
Files per operation
1
Browser file limit
8 MiB per file, 128 MiB total

What to expect

Formats source with default settings. Project configuration and external plugins are not loaded. Review the result.

Do my files leave my device?

No. Thanks to advanced file-processing technology, your files are processed directly on your device, inside your browser. OneKit does not receive your input files or results. Required public processing libraries may download when you first use the tool.

File privacy and local processing →

Install OneKit

Keep OneKit in its own app window, with a shortcut on your device.