How to use this developer tool
- Paste Python source code.
- Choose JSON, outline, or symbol-table output.
- Select which symbol types to include.
- Click Parse Python.
- Copy or download the generated structure.
Parse Python source into a searchable structural outline containing imports, classes, functions, decorators, parameters, and line numbers. The browser-based parser does not execute code and can export its findings as JSON.
It performs indentation-aware static extraction of common Python declarations. The output is useful for code navigation, documentation, and lightweight dependency review.
Dynamic declarations, unusual multiline signatures, and metaprogramming may not be fully represented.
class Circle:
def area(self, radius):
return radius ** 2Circle area(self, radius)
Enable Include functions and run the parser to list function names, signatures, and line numbers.
Enable classes and functions; nested methods appear with their indentation level.
Choose Text Outline and parse the source.
Yes. Choose JSON Structure and download the result.
Keep imports and decorators enabled; they are extracted into separate fields.
| Functions | Name, signature, line |
|---|---|
| Classes | Name, bases, line |
| Imports | Module and source line |
| Decorators | Associated declaration |