Paste your Python code, and the tool converts tabs to spaces, trims trailing whitespace, and tidies up blank lines.
It normalises Python whitespace — converts tabs to 4 spaces, removes trailing whitespace on each line, and collapses runs of blank lines to at most two (PEP8's maximum).
No. Python's indentation is meaningful, so re-deriving it could change what your code does. This tool only normalises whitespace it can safely touch. For full auto-formatting, run Black or autopep8 locally.
Mixing tabs and spaces is a common cause of Python IndentationErrors. PEP8 recommends 4 spaces per indent level, so this tool standardises on that.