GitHub URL Parser
Extract owner, repo, ref, file path and raw/clone/ZIP links from GitHub URLs.
Parts
- Type
File- Owner
vercel- Repository
next.js- Branch / Ref
canary- Path
package.json
Useful links
- Repository
https://github.com/vercel/next.js- Clone (HTTPS)
https://github.com/vercel/next.js.git- Clone (SSH)
git@github.com:vercel/next.js.git- Raw file
https://raw.githubusercontent.com/vercel/next.js/canary/package.json- Archive ZIP
https://github.com/vercel/next.js/archive/refs/heads/canary.zip
Your input is processed locally in this browser tab.
How to use GitHub URL Parser
Paste any GitHub repository, file (/blob/...), directory (/tree/...), PR, issue, commit, release tag, Gist, or git@github.com SSH URL.
Inspect owner, repo name, branch/ref, file path, and resource type.
Copy raw.githubusercontent.com URLs, HTTPS/SSH clone URLs, .patch links, or ZIP archives directly.
Frequently asked questions
Are raw file links generated automatically for /blob/ URLs?
Yes. Raw file links map directly to https://raw.githubusercontent.com/<owner>/<repo>/<ref>/<path>.
Does GitHub URL Parser make network calls to GitHub?
No. Everything is parsed offline directly from the URL structure.