Skip to main content
Cookie preferences

We use analytics cookies to understand usage and improve CleanTextLab. You can accept or decline Privacy policy. Manage preferences.

All tools

ASCII Tree Generator

Generate clean ASCII or Unicode folder trees from file paths for README and documentation.

Loading Tool…

ASCII Tree Generator for Folder Structures

Turn flat lists of file paths into a clean ASCII or Unicode folder tree. Ideal for README docs, onboarding guides, and quick architecture snapshots.

How it Works

  • 1Paste file paths (one per line) using either / or \ separators.
  • 2We normalize the paths, build a hierarchical tree, and render connectors.
  • 3Toggle Unicode vs ASCII style and choose sorting or input order.
  • 4Optionally strip a shared prefix to keep trees short and readable.

Key Features

Unicode and ASCII connector styles
Folder-first sorting or preserve input order
Optional root label and trailing folder slashes
Client-side processing for privacy

Common Use Cases

Add a project tree to your README or documentationShare quick repo structure in Slack or ticketsGenerate release notes for package layoutsDocument onboarding guides for new engineers

Frequently Asked Questions

Everything you need to know about using this tool effectively and securely.

Q.What input format does it accept?

Paste one file or folder path per line. The tool accepts both / and \ separators and ignores empty lines.

Q.Does it upload my file list?

No. The tree is generated entirely in your browser; nothing is sent to a server.

Q.Why do folders show a trailing slash?

Trailing slashes make directories easy to spot in plain text. You can disable them in the options panel.

ASCII Tree Generator | Folder Structure to ASCII | CleanTextLab