GitHub URL Parser

Pull the owner, repo, branch and path out of a GitHub link and get clone, raw and zip links.

How it works

Paste a GitHub link and get the owner, repository, branch, file path and line numbers. You also get ready clone, raw and zip links.

Worked example

https://github.com/torvalds/linux/blob/master/README gives owner torvalds, repo linux, branch master and path README.

Good to know

Common questions

Does it call GitHub?
No. It only reads the text of the link.
Does it work for private repos?
The parsing does. Opening the links still needs your access.
Which links are supported?
Repo, tree, blob, commit, issue and pull request links.

More in Developer.