About this tool
Paste any GitHub address, such as a file, folder, raw file, pull request, commit, release, API or SSH clone URL, and see its owner, repository, branch and path. From that it builds the links you usually go looking for: the raw file URL, HTTPS and SSH clone addresses, ZIP and tarball downloads, a jsDelivr CDN link, history, blame and REST API endpoints. Everything is worked out from the text of the URL; nothing is requested from GitHub.
How to use GitHub URL Parser
- Paste a GitHub URL or owner/repo.
- Check the detected owner, repository, branch and path.
- Copy the link or command you need from the list.
Frequently asked questions
How do I get the raw URL of a file?
Paste the file's normal github.com/…/blob/… address and copy the Raw file link, which points to raw.githubusercontent.com.
Why might the branch be wrong?
Branch names can contain slashes, and a URL does not mark where the branch ends, so the first segment after blob or tree is taken as the branch.
Does it work for private repositories?
The links are built the same way, but opening them still requires you to be signed in with access to the repository.