phpSyntaxTree Extended Edition - drawing syntax trees made easy

Phrase (labelled bracket notation):

Open brackets: Closed brackets:


phpSyntaxTree allows you to generate graphical syntax trees from labelled bracket notation phrases. You can then include the graphics into your homework or assignments.

Please send your comments and suggestions to


Enter a phrase above using labelled bracket notation. Click "Draw" to create a syntax tree graph for the entered phrase. You can right-click on the generated tree image to copy-and-paste it into your documents, or left-click the tree image to download it.

To create a node with subscript parts, separate the subscript part using the _ character. For example "NP_1" will show in the graph as NP1. Optionally, select Auto subscript, to automatically number all equally named nodes (NP1, NP2 etc.).

Disable color and/or smooth lines to create a more black & white printer friendly image.


2007-03-07 - phpSyntaxTree Extended Edition

phpSyntaxTree Extended Edition is on its way! Very soon you will be able to define binding domains and mark movements with arrows. Stay tooned!

You can contact me at

Be sure to check out the official phpSyntaxTree website at