Generate ASCII directory trees from indented text.
Indent children with 2 spaces or one tab.
├── src │ ├── components │ │ ├── Header.tsx │ │ └── Footer.tsx │ ├── pages │ │ ├── index.tsx │ │ └── about.tsx │ └── utils │ └── helpers.ts ├── README.md └── package.json
Turn an indented file/folder list into a clean ASCII tree perfect for READMEs, documentation, and tech blogs. Paste indented text (2- or 4-space, or tabs), get a tree with proper box-drawing characters (├──, └──, │). Or write a tree and convert it back to a path list.
The ASCII Directory Tree Generator provides a fast, web-based method for converting indented text lists into clean folder structure diagrams. It eliminates manual formatting work when preparing directory trees for README files, technical documentation, and blog posts. With generous rate limits and instant browser-based execution, it simplifies a tedious documentation task without requiring local software installations.
Good to know: Very large directory structures with hundreds of nested files may be cumbersome to paste and format as raw indented text.
Quickly convert indented text lists into professional ASCII directory structures for your documentation.
Access the ASCII Directory Tree Generator
Open the web tool to begin converting your file and folder structures into visual trees.
Paste your indented directory list
Input your text using 2-space, 4-space, or tab indentations to represent your folder hierarchy.
Select your desired conversion mode
Choose to generate a tree from text or convert an existing ASCII tree back into a path list.
Review the generated box-drawing characters
The tool automatically applies proper characters like ├── and └── to create a clean visual structure.
Copy the output for your documentation
Copy the final ASCII tree and paste it directly into your README, tech blog, or project documentation.
Estimated time: PT1M
Share this tool
Encode and decode Base64 strings instantly.
Generate v4 UUIDs instantly, single or in bulk.
Explain any code in plain language — all languages supported.
Percent-encode or decode URL strings instantly.
Encode/decode HTML entities like < > &.
Convert Unix epoch timestamps to/from readable dates.
Convert text or Markdown to a Word .docx file with live preview, RTL, and page-setup options.
Draw a Secret Santa with exclusions and share a private reveal link for each person.
Make custom bingo cards from your own words — play, print, or share a link.
Convert images to video with the Ken Burns zoom/pan effect. Add music and export as WebM.
Load and compare multiple URLs side by side in resizable iframes.
Rank anything with quick 1-v-1 matchups → a full ordered list you can share.
Convert Markdown to a fully customized, RTL-ready PDF.
See your public IP address plus full location, ISP, ASN, timezone, coordinates, and more.