How to use this developer tool
- Paste Python code or upload it as plain text.
- Choose an indentation style and maximum consecutive blank lines.
- Select the cleanup rules to apply.
- Click Format Python or press Ctrl + Enter.
- Review, copy, or download the formatted .py output.