Directory Tree Generator

Draw the tree of a folder as text for a README.

Directory Tree Generator

Runs in your browser — your files are not uploaded

What it does

Draws the structure of a folder as a text tree with lines and indents. Useful for README files, documentation or showing someone how a project is organised. You get plain text you can copy or save.

About the .txt format

.TXT file extension
File Type
Plain Text File
Category
Text Files
MIME
text/plain

The TXT file extension is a common file format that is used for storing text data.

Directory Tree Generator questions

How do I use the Directory Tree Generator?

Drop the files on the box or choose them from your device, set the options and download the result.

Is my file uploaded?

No. The tool runs in your browser, so your file stays on your device.

Does renaming a file to .txt change its format?

No. The extension only tells programs what to expect, and the content of the file stays the same. To change the format, convert the file. The .txt page lists programs and converters for it.