Dhatas Dhatas Downloader
← All tools
Dev Tool

GitHub Subdirectory Downloader

Grab one folder from a GitHub repo as a .zip — no full clone required.

Download a GitHub folder →

Cloning an entire repository just to grab one example or subfolder is wasteful. Paste a GitHub folder URL (a /tree/branch/path link) and download just that subdirectory, nested structure and all, as a .zip.

How it works

  1. Navigate to the folder on GitHub and copy its URL (should look like .../tree/main/path/to/folder)
  2. Paste it into the GitHub Subdirectory Downloader on the Dev Tools tab
  3. Click Download Folder

Why use this tool

Frequently asked questions

Does this work on private repositories?

No, only public repositories are supported since it uses GitHub's public API.

Is there a file-count limit?

Folders with up to 300 files are supported — plenty for almost any example, template, or module folder.

Only download content you own, have permission to save, or that the source platform explicitly allows downloading. See our Disclaimer.