広告が嫌いですか? 行く 広告なし 今日

Directory / Folder Tree Generator (ASCII)

開発者文章

オプション

ガイド

Directory / Folder Tree Generator (ASCII)

Directory / Folder Tree Generator

Turn a plain indented file list or a set of slash-separated paths into a clean ASCII directory tree with proper box-drawing characters. Perfect for READMEs, technical documentation, blog posts, and code reviews where a visual project structure communicates more than a flat list of file paths.

使用方法

  1. Paste an indented file list (spaces or tabs) or a list of slash-separated paths (one per line) into the input box.
  2. Pick an input format — leave it on 自動検出 for most cases.
  3. Choose a tree style: Unicode box-drawing, plain ASCII, or pure-space indent.
  4. Toggle file/folder icons, trailing slash on folders, or compact mode as needed.
  5. クリック コピー button to grab the generated tree, or ダウンロード it as a tree.txt ファイル。

機能

  • Two input formats – Indented list or slash-separated paths, with automatic detection.
  • Three render styles – Unicode box-drawing (├── └── │), pure ASCII (|– `– |), or plain indentation.
  • Icon toggle – Prepend 📁 and 📄 markers to distinguish folders from files at a glance.
  • Trailing slash option – Mark folders with a trailing slash for unambiguous output.
  • Compact mode – Tighter horizontal spacing for deeply nested trees.
  • Auto-folder detection – Any path that contains children is rendered as a folder; leaves become files unless you append a trailing slash.
  • Instant client-side rendering – No upload, no server round-trip, no data ever leaves your browser.

一般的な使用例

  • README documentation – Show project layout so contributors can navigate the codebase quickly.
  • Tutorials and blog posts – Illustrate file structure before introducing code examples.
  • Code review & design docs – Communicate proposed folder structure for new features.
  • Onboarding materials – Help new engineers understand monorepo or microservice layouts.
  • Issue reports & bug reproductions – Paste a minimal repo layout when filing GitHub issues.

よくある質問

  1. What are box-drawing characters?

    Box-drawing characters are Unicode glyphs (range U+2500–U+257F) designed to draw boxes, lines, and tree connectors with monospace text. The directory tree style uses ├ (U+251C), └ (U+2514), ─ (U+2500), and │ (U+2502) to render branching structures without bitmap graphics. They render reliably in any UTF-8 environment, including code editors, Markdown previews, and terminals.

  2. When should I use ASCII style instead of Unicode box-drawing?

    Use plain ASCII (|-- and `--) when the target environment may not render Unicode correctly: legacy terminals, certain log aggregators, plain-text emails, or systems with strict ASCII-only constraints. Box-drawing characters look cleaner in modern editors, GitHub READMEs, and most documentation platforms.

  3. How does the tool tell folders from files?

    In slash-separated input, any path component that has children below it is treated as a folder, while leaf names are treated as files. You can override the heuristic by appending a trailing slash (for example my-project/empty-folder/) to force a node to render as a folder even when it has no children. In indented input the same leaf-vs-parent rule applies.

  4. Why use a monospace font for tree output?

    Tree connectors only line up vertically when each character occupies the same horizontal width. Proportional fonts compress narrow glyphs like the vertical bar, breaking the alignment between parent and child rows. Always paste the output into a monospace context such as a code block, terminal, or pre-formatted Markdown.

広告なしで楽しみたいですか? 今すぐ広告なしで

拡張機能をインストールする

お気に入りのブラウザにIOツールを追加して、すぐにアクセスし、検索を高速化します。

に追加 Chrome拡張機能 に追加 エッジ拡張 に追加 Firefox 拡張機能 に追加 Opera 拡張機能

スコアボードが到着しました!

スコアボード ゲームを追跡する楽しい方法です。すべてのデータはブラウザに保存されます。さらに多くの機能がまもなく登場します!

ニュースコーナー 技術ハイライト付き

参加する

価値ある無料ツールの提供を継続するためにご協力ください

コーヒーを買って