GitHub URL Parser
Split a GitHub link into owner, repo, branch and path, and get the raw file, clone and ZIP links for it.
Runs in your browser. Nothing leaves this device.
How to use GitHub URL Parser
- 1Paste a GitHub link, or type owner/repo.
- 2Read the owner, repo, branch, path and line numbers.
- 3Copy the raw file, clone, ZIP or history link you need.
Questions
Does this call the GitHub API?
No. It only reads the link you paste, so it works for private repos too and nothing leaves your browser. It cannot check that the repo or file exists.
Which links does it understand?
Repo, folder (tree), file (blob), raw.githubusercontent.com, commit, issue, pull request and release links, plus SSH clone addresses like git@github.com:owner/repo.git.
Why does the ZIP link say main?
When your link does not name a branch, the tool cannot know the default branch without asking GitHub, so it uses the branch you set in the side panel.
What happens to a branch name with a slash?
GitHub links do not mark where a branch ends and the path starts, so feature/login/src reads as branch feature and path login/src. Check the parts and fix the branch if needed.
Is it free?
Yes. No account, no watermark and no daily limit.
Related tools
- DeveloperBase64 EncoderEncode text or files to Base64 and decode it back, with URL-safe and data URL options.
- DeveloperDiff CheckerCompare two texts and see what was added and removed, line by line or word by word, and download a patch.
- DeveloperHash GeneratorGet the MD5, SHA-1, SHA-256, SHA-384 and SHA-512 of text or any file, and check it against a hash you were given.
- DeveloperJSON FormatterFormat, check and minify JSON, with the exact line of any error.
- DeveloperJWT DecoderRead the header and claims of a JSON Web Token, see when it expires, and check an HMAC signature.
- DeveloperRegex TesterTest JavaScript regular expressions live: every match highlighted, capture groups in a table, and a replace preview.