Directory Tree Generator — Folder Structure Tool
Free directory tree generator. Create and visualize folder structure diagrams for README files, project documentation, and development workflows.
Directory Structure Input
How to Use
Type your folder and file names, using indentation (spaces or tabs) to show nesting.
Set the root folder name and choose standard or fancy (with emoji icons) style.
Click Generate. Copy the tree to paste into READMEs, docs, or code comments.
What is a Directory Structure Generator?
A directory structure generator creates an ASCII art representation of a folder hierarchy — the kind you see in project README files and documentation. Instead of manually typing ├── and └── characters, you simply list your folders and files with indentation, and the tool generates the correctly formatted tree. It supports standard ASCII style and a fancy style with folder/file emoji icons.
Frequently Asked Questions
How do I define nested folders?
What characters are used for the tree?
Can I use this for documentation?
Does it detect files vs folders?
What is the fancy style?
Share This Tool
Found it useful? Share it with your friends, classmates, or colleagues.