Source text
Paste text or upload a file
Result
Type is not detected yet
Statistics appear after formatting
Parses a Python literal or debug output and reprints it with indentation, one entry per line.
The input is parsed with ast.parse in safe mode (no code execution), and the result is reprinted with the chosen indent; a syntax error reports the exact line and column, the same way a Python traceback would.
The formatter understands not just plain dict/list, but what actually shows up in logs: <Command.SET: 6>, datetime.datetime(...) with numeric arguments — these become readable string values instead of breaking the parse.