Flowchart Lab
Your code, drawn precisely —
then played back live.
Paste Python and get a flowchart built from the real syntax tree — every loop, branch, function and exception path in its right place. Run it and watch the chart light up step by step, then export a lab sheet your teacher will accept.
Write or pick a sample
Start from a classic — factorial, primes, patterns — or paste your own program.
Generate the chart
An AST-powered engine maps every construct exactly; anything it cannot draw is flagged, never faked.
Run, watch, export
Play the execution on the chart, check the logic, and download a PNG or a print-ready lab sheet.
Your Python code
Edit freely — the chart is rebuilt from the code every time you generate.
Run it live
Executes your program safely in the browser and plays the run back on the chart.
Program output
Nothing yet — run the trace to see output here.
Flowchart
Drag to pan, Ctrl+scroll to zoom. Click any block to jump to its code line.
No chart yet
Your flowchart will appear here — precise to the last branch.
Spotted by static checks
Found instantly from the chart structure — no AI needed.
AI help
Uses your normal daily AI answers — the chart itself is always free.
Export
For records, assignments and slides — crisp at any size.
Anyone opening the link sees this code loaded in the Lab.