README directory structure

ASCII Tree Generator

Enter an indented file hierarchy to generate a README-style tree, or clean a tree back into plain hierarchy text.

Local

Input

INPUT

Ready.

Result

OUTPUT
The ASCII Tree Generator is useful for GitHub READMEs, project documentation, and handoff notes. Type a hierarchy with spaces or tabs and the tool generates a standard tree with branch connectors. The reverse cleaner turns an existing tree back into editable indented text. All conversion logic runs locally in JavaScript.

Practical guide

ASCII Tree Generator

Create readable directory trees for README files, issue reports, tutorials, and architecture notes.

How to use

  1. Paste an indented list, path list, or rough hierarchy into the input area.
  2. Generate a tree with branch characters and consistent indentation.
  3. Clean up names or spacing, then copy the result into Markdown or plain text.
  4. Use the reverse or cleanup mode when you need to normalize a messy tree.

Common use cases

  • Showing repository structure in a README without running terminal commands.
  • Documenting project folders in tutorials or student assignments.
  • Cleaning pasted file lists before sharing a bug report.

Privacy note

Only pasted text is processed, and it never leaves your browser.