Is dir-tree free to use?
Yes. The core directory tree reader, editor, annotation editor, and ASCII export workflow are intended to stay free for individual use.
Why not just use the terminal `tree` command?
Use `tree` when you need a quick terminal snapshot. Use dir-tree when you need to edit the structure, hide noisy nodes, add aligned comments, import existing output, or publish the result.
How is dir-tree different from tree.nathanfriend.com?
tree.nathanfriend.com is useful for typing a simple indented structure and generating ASCII. dir-tree reads real folders and ZIP files, imports existing tree output, edits visually, and adds annotations.
Are my files uploaded to dir-tree servers?
For core features, no. Folder reading, ZIP parsing, tree editing, ASCII rendering, and export all run in your browser. dir-tree builds structure from file and folder names; it does not upload file contents for core tree generation. Local ZIP parsing reads archive bytes in the browser to discover entries, but file contents are not uploaded.
What data is sent when I use AI annotations?
AI annotation is optional. It sends a compact visible path tree, node type markers, existing annotations, node count, and language preference so AI can respond in the right language. It does not send file contents, source code, file sizes, or modification times.
Can dir-tree import output from `tree -J`, `tree -X`, or `tree -H`?
Yes. dir-tree is designed to parse common external tree formats, including ASCII text, JSON, XML, HTML, and Markdown list structures.
Should I use AI annotation for sensitive projects?
Use caution if file or folder names contain client names, internal project codenames, unreleased product names, or other sensitive information. You can use manual annotations instead, rename sensitive paths before generating AI comments, or limit the visible tree depth before sending.
Which browsers are supported?
dir-tree works best in modern desktop browsers with folder picker or folder drag-and-drop support. Chromium-based browsers provide the strongest File System Access API support. Firefox and Safari can use drag-and-drop or legacy file picker fallbacks, though large directory loads may vary.
Does dir-tree read file contents?
No, for core features. dir-tree builds structure from names, hierarchy, and optional metadata for display. It does not inspect source code, document bodies, binary file contents, secrets, or credentials.
Can I use dir-tree offline?
The core workflow, including reading, editing, rendering, and exporting, runs in the browser and can work offline after the page has loaded. AI annotation and remote ZIP fetching require network access.
Is there a CLI or API?
Not yet. A CLI and API are strong candidates for future monetization. The CLI could support local batch workflows such as auto-updating README trees in CI, while the API could provide programmatic tree rendering and AI annotation for documentation platforms.
Ready to visualize your first directory tree?
Use the live reader above. No sign-up, no install, browser-first.