Turn an indented list or paths into an ASCII directory tree.
The ASCII Tree Printer turns a list of file paths or an indented outline into a tree drawn with line characters, like the output of the tree command. Choose Unicode connectors or plain ASCII ones. It is handy for READMEs, documentation and design notes.
A text tree shows a hierarchy such as a directory layout using connector characters. Each child is drawn with a branch symbol, the last child in a group gets a different corner symbol, and vertical bars carry the lines down through deeper levels. The idea comes from the tree command and is common in READMEs and pull request descriptions because it is plain text that survives copy and paste. This tool accepts two input forms. A list of slash-separated paths builds the hierarchy from the path segments and merges shared folders. An indented list builds it from the indentation depth, so you can describe any outline, not just files. The Unicode style uses box-drawing characters, while the ASCII style uses only plus, backslash, hyphen and the vertical bar.
No. It only formats text you paste. You can generate a list of paths with a command such as find or git ls-files and paste it in.
When the input has several top-level entries there is no single root, so a dot is used as the root, like the tree command.
No. Names are printed as given, with slashes only used to split path segments.
No. If any line is indented, the input is read as an indented outline and slashes stay part of the names.
No. The tree is built in the page and the input stays on your device.