GitHub URL Parser
CodeParse a GitHub URL (repo, pull request, issue, commit, or file with line range) into structured components
Paste any github.com URL and get back its owner, repository, and the specific thing it points to: a pull request or issue number, a commit SHA, a file path with an optional line range, a directory, or a release tag. GitHub encodes all of this in the path segments of its own URL routing, so this tool just parses those segments back into structured fields instead of you having to eyeball a long URL to figure out what it references. It only understands github.com URLs over HTTP(S): SSH remotes like git@github.com:owner/repo.git and other Git hosts such as GitLab or Bitbucket are out of scope.
How to use GitHub URL Parser
- 1.Paste a github.com URL, or pick one of the sample links to see the format for a repo, pull request, issue, file, or release.
- 2.Read off the owner, repo, and type badge, plus whatever fields apply (PR/issue number, ref, file path, or line range).
- 3.Use this to quickly extract structured data from a pasted link before scripting against it, e.g. building a changelog or PR summary tool.
Frequently asked questions
Use via API, SDK, or MCP
cURL# Free: 1,000 req/day · Pro: 10,000 req/day
curl -X POST https://api.utilix.tech/v1/tools/github-url-parser \
-H "Authorization: Bearer utx_live_..." \
-H "Content-Type: application/json" \
-d '{"url":"https://github.com/facebook/react/blob/main/packages/react/index.js#L10-L20"}'Get an API key from your dashboard · Full API docs →