Drawing neat tree diagrams by hand or in slide software is slow. This tool lets you add and connect nodes, auto-lay out a tree, recolour nodes and export a PNG, ready to drop into a worksheet, slide or revision note.
Turn on binary tree mode to limit each node to two children, then choose a traversal trace (pre-order, in-order or post-order) to show the visiting order on your diagram. It's ideal for practising traversal questions or building binary search trees by hand.
Teachers are welcome to use exported diagrams in their own lessons. To see traversal happen step by step with the call stack, try the tree traversal animation.
Trees and tree traversal, GCSE and A-Level (OCR and AQA).
Browse all free Computer Science resources →
Want one-to-one help with this topic? I'm Damian Biasone, a qualified Computer Science teacher with 20 years' experience, tutoring GCSE and A-Level students online.
OCR A-Level (H446) tuitionAQA A-Level (7517) tuition