---
title: "RepoTree: Generate ASCII Tree from GitHub Repositories"
url: https://daily.dev/posts/repotree-generate-ascii-tree-from-github-repositories-rbtvcnq3x
source_url: https://daily.dev/posts/repotree-generate-ascii-tree-from-github-repositories-rbtvcnq3x
type: freeform
source: "Dev Squad"
author: "Ralph Rosael"
published: 2024-11-17T15:30:43.087Z
updated: 2024-12-08T20:57:19.586Z
tags: ["tools", "github"]
reading_time: 1
upvotes: 20
comments: 2
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# RepoTree: Generate ASCII Tree from GitHub Repositories

**[Dev Squad](https://daily.dev/sources/devsquad)** · [@coderralph](https://daily.dev/coderralph) · 1 min read · 20 upvotes · 2 comments

## Summary

RepoTree is a web app that generates an ASCII tree structure from any GitHub repository URL, making it useful for documentation purposes. It allows users to visualize their GitHub repository hierarchy and export it to a text format. The project was inspired by Nathan Friend's Tree Online and ASCII Tree Generator.

## Content

Hey folks! 🎉

I’ve built a simple web app called [RepoTree](https://ascii-repotree.vercel.app/), which takes any GitHub repository URL and converts its structure into a clean ASCII tree format. This tool is perfect for documentation purposes or when you want to easily share the structure of a repository.

With RepoTree, you can quickly visualize your GitHub repository hierarchy and export it to a text format to include in your docs. It’s a small utility that can save you time and effort while documenting your projects!

Check it out on [GitHub](https://github.com/coder-ralph/RepoTree)!

This project was inspired by Nathan Friend's [Tree Online](https://gitlab.com/nfriend/tree-online) and [ASCII Tree Generator](https://ascii-tree-generator.com/).

P.S.

A year ago, I saw a question on Stack Overflow about how to make a directory tree from a GitHub repo, and we had the same question and that got me inspired to create RepoTree. 😊

https://stackoverflow.com/questions/75522166/how-do-i-get-the-directory-tree-structure-from-a-github-repository-link

![Screenshot](https://media.daily.dev/image/upload/s--e0spSJvE--/f_auto/v1732009350/ugc/content_8425e367-8ef9-49ac-be01-f7d9848ff098)

## Community discussion

Top comments from developers on daily.dev.

**@mirzaiqbal** · 1 upvotes

> how is this different from the vs code tree extensions?

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments
- [CNCF Unveils Schedule for KubeCon \+ CloudNativeCon Europe 2026](https://daily.dev/posts/cncf-unveils-schedule-for-kubecon-cloudnativecon-europe-2026-ikhcoa5cb) · CNCF · 2 upvotes · 0 comments
- [CNCF Debuts KubeCon \+ CloudNativeCon Japan 2026 Schedule](https://daily.dev/posts/cncf-debuts-kubecon-cloudnativecon-japan-2026-schedule-xp5pyudub) · CNCF · 1 upvotes · 0 comments

---

Tags: [#tools](https://daily.dev/tags/tools), [#github](https://daily.dev/tags/github)

[View this post on daily.dev](https://daily.dev/posts/repotree-generate-ascii-tree-from-github-repositories-rbtvcnq3x)
