GitHub Selective Download
A lightweight web tool for selectively downloading files and folders from GitHub repositories
without cloning the entire repository.
Features
- Selective Downloads — choose files and folders instead of entire repos
- No Installation Required — runs entirely in your browser
- GitHub Token Support — optional authentication for higher rate limits
- Visual File Tree — expandable folder structure
- Batch Operations — select all, select none, or individual files
- ZIP Archive — downloads selected files as a ZIP
- Rate Limit Monitoring — real-time GitHub API limit display
- Privacy Focused — token never stored or logged
Usage
- Navigate to a GitHub folder in your browser
- Copy the URL (example format below)
https://github.com/user/repo/tree/branch/path/to/folder
- Paste the URL into the tool above
- (Optional) Add a GitHub personal access token
- Click Fetch Files
- Select files or folders
- Click Download Selected
GitHub Token (Optional)
Using a GitHub token increases your rate limit from
60 to 5,000 requests per hour.
- Go to GitHub Settings → Developer settings → Personal access tokens
- Create a new token (no scopes required for public repositories)
- Paste the token into the optional field
Note: The token is used only in your browser and sent exclusively to
api.github.com.
Technical Details
- Pure HTML, CSS, and JavaScript
- GitHub API v3 for repository trees
raw.githubusercontent.com for file downloads
- ZIP creation via zip.js
- Strict Content Security Policy
Browser Compatibility
Works in all modern browsers supporting ES6+ and the Fetch API.