Folder Tree Generator
Folder Tree Generator - a browser-based file tools utility.
Browser tool
About Folder Tree Generator
Turning a list of paths into the indented tree diagram that belongs in a README or a ticket, instead of drawing the branch characters by hand and getting one of them subtly wrong. Free, online, and without a sign up. The paths you paste never leave the page, and there is nothing to upload in the first place.
How to use it
- Paste your pathsOne per line, as produced by find, ls -R or a directory listing.
- Take the treeNesting is inferred from the path separators, with proper branch characters throughout.
- Paste it into a code blockIt relies on a monospaced font to line up, so it belongs inside a fenced block rather than in prose.
Where the paths come from
On macOS and Linux, find . -type f gives a complete list, and tree does the drawing itself if it is installed. On Windows, dir /s /b produces the same thing with backslashes. Whichever you use, the output pasted here becomes a diagram that renders identically for everyone reading your README, which a screenshot of a terminal does not.
What it does not do
- It renders the paths you supply. It cannot read a directory from your disk — a browser page has no such access, which is also why it is safe to paste into.
- Very deep trees wrap awkwardly in narrow layouts, however neatly they are generated.
Questions people ask
- Why does my tree look misaligned?
- Almost always a proportional font. The box-drawing characters only line up in monospace, so the diagram needs to sit in a code block or a pre element.
- Can it read a folder from my computer?
- No, and it should not be able to — a web page has no access to your filesystem. Generate the listing with a command such as find or tree and paste the output.
Questions about ToolsVerse itself — privacy, cost, what happens to your files — are answered in the frequently asked questions.
Related tools
The tools people most often need alongside Folder Tree Generator.
Can’t find the tool you need?
Tell us what you’re looking for and we’ll consider adding it.