Git Folder Downloader. Open Source Client-Side App.
Go to any GitHub repository, navigate to the specific folder you want, and copy the URL from your browser's address bar.
Sample link to copy and paste in input bar:
Paste the link into Git Folder Downloader. The app automatically detects the branch, recursive path, and file structure. Click Download to get a ZIP file.
Use the Paste button to automatically paste a GitHub URL from your clipboard.
You can optionally set a custom filename in the input box to override the default download name.
Click the Settings (Gear icon) on the main page, paste your GitHub Personal Access Token, and save. Tokens are stored locally on your device.
You can generate direct download links for your team or documentation using the URL query feature.
Append the GitHub URL after ?= to the Git Folder Downloader URL:
?=/user/repo/tree/branch/folder?url=/user/repo/tree/branch/folder
When a user opens this link, Git Folder Downloader will automatically launch, fetch the files, and prepare the download without any user input.
&st=0 → Start file index (zero-based) for partial folder downloads&mx=10 → Max file index (non-inclusive end index) for partial folder downloads&name=my-backup.zip → Custom filename (no extension required; .zip will be added if
missing)&return=https://mysite.com/thank-you → Redirect after download (API/headless mode)The /api/ endpoint (headless mode) is designed for automated downloads and link
integrations.
It runs without UI inputs and supports the same options as the main app through query parameters.
&name).&return if provided and valid,The API page provides a simple progress card: title, numeric progress text, and a progress bar. When using the API from other pages, the calling page should handle UX (e.g., show a spinner while the new tab runs the API).
For private repositories you must provide a Personal Access Token (PAT). The app stores it
locally in localStorage. Recommended minimal scope:
repo — gives full control of private repositories (required for reading private content
via the API). For public-only usage, no token is required.Important: Keep tokens secure — only use PATs you control. The app never sends tokens anywhere except to GitHub's API from your browser session.
Click the Gear icon to open settings:
Use &st and &mx to target a specific range of files inside a folder. This is
useful for:
?st=0&mx=100,
?st=100&mx=200).
Indexing rules:
st=0).mx is treated as the end index (non-inclusive) — the code uses
slice(start, end).
st >= mx or values are invalid, the script falls back to downloading the entire
selection.Before downloading, Git Folder Downloader shows a live preview of the first 50 files and a progress bar during the download process. The API/headless page also exposes a simple progress UI (title, numeric status, and a bar).
The integration script injects a small "Download" menu item into GitHub's context/action lists and
provides a lightweight modal to configure name, st, and mx.
Name, st (start) and mx
(max)./api/ URL with parameters and opens it in a new tab to run the headless
download.MutationObserver so it keeps working as GitHub updates the DOM.MutationObserver to re-insert the item
if GitHub re-renders menus.Check your st and mx values — they are zero-based indices. If st
≥ mx, the script will fallback to downloading everything.
Raw content is fetched from raw.githubusercontent.com. If you see network errors, check your
network, ad-blockers, or corporate proxies. Private repos require a token — raw fetch won't work for
private content.
For private content, provide a PAT with repo scope. For read-only public access, you do not
need a token.
GitHub imposes rate limits on unauthenticated and authenticated requests. If you download many large repos quickly, you may hit rate limits. Using a token increases your rate limit quota.
Large repos can be slow. Use &st and &mx to download in chunks. JSZip keeps
everything client-side so memory is a limiting factor for very large zips.
Maintains full folder structure inside the downloaded ZIP.
Securely supports private repos via GitHub Tokens.
Cyberpunk, Dracula, AMOLED, and more built-in.
Works perfectly on iOS and Android browsers.
API version with no UI inputs, perfect for automated links.
API automatically detects referrer and redirects back after download.
API interface uses a beautiful MD3 Forest Minimalist theme.
Download only selected files from large folders using start/max limits.
Paste GitHub URLs directly from clipboard with one click.
See file previews and real-time progress bar during downloads.
Toast messages for success, errors, clipboard actions, and settings save.