FILE TOOL // 049

Folder Tree Generator

Turn a selected folder's relative paths into a clean tree for documentation, audits, issue reports, and project handoffs.

Processed locally in your browser

Choose a folder

Relative paths become a tree
FileSizeType
No files selected.
Choose files to begin.0 files
Advertisement

How to use Folder Tree Generator

  1. Choose a folder to generate a structured tree from the file paths exposed by your browser.
  2. Adjust the options for the report you need.
  3. Select “Generate Tree,” review the result, and download the generated file.

What this file tool does

Turn a selected folder's relative paths into a clean tree for documentation, audits, issue reports, and project handoffs.

Relative paths are split into segments and inserted into a nested in-memory tree, then rendered deterministically as text, Markdown, or JSON.

Processing stays on this device. Empty folders are not included because standard folder upload provides files, not independent empty-directory entries. Use Empty Folder Finder for supported directory access.

Supported inputs and limits

Empty folders are not included because standard folder upload provides files, not independent empty-directory entries. Use Empty Folder Finder for supported directory access.

InputFolder files with webkitRelativePath
FormatsText, Markdown, nested JSON
Depth1 to 100 levels
Empty foldersUnavailable in upload fallback

Example and practical tips

Practical example

Generate a Markdown tree for a code project, paste it into a README, and keep file sizes visible for quick review.

Tips

  • Use a smaller maximum depth for concise documentation.
  • Folder-first sorting is usually easiest to scan.
  • Do not publish trees that reveal sensitive filenames.

Frequently asked questions

How do I create a folder tree from local files?

Choose the folder, select an output style, and download the generated tree.

Can the tree include files inside subfolders?

Yes. The browser-provided relative paths preserve subfolder structure.

Why are empty folders missing from the tree?

Standard folder upload only exposes files, so directories containing no files are not represented.

Can I generate a Markdown directory tree?

Yes. Choose Markdown to wrap the plain tree in a fenced code block.

Are file sizes included in the folder tree?

They are optional and can be turned on with the file-size checkbox.

Folder Tree Generator details

Tool number049
CategoryFolder & Storage Analysis
ProcessingLocal browser operation
DownloadGenerated report or verification bundle

Browse more file tools

Callfile categories
File Organization & Naming

Rename, clean, sequence, and validate file names.

View all
Archive & Compression

Create, inspect, compress, and extract archives.

View all
Integrity & Verification

Generate checksums, manifests, and signatures.

View all
File Inspection & Analysis

Inspect bytes, headers, MIME types, and entropy.

View all
Folder & Storage Analysis

Analyze folder size, contents, age, and distribution.

View all
File Splitting & Assembly

Split, join, extract, patch, and verify chunks.

View all
File Security & Privacy

Encrypt files and inspect privacy or safety signals.

View all
Backup & Change Tracking

Compare backup sets and detect file changes.

View all