Skip to content
hateitall

GitHub URL Parser

Take any GitHub address apart and get the raw, clone, download and API links that go with it.

Processed locallyIn: URL, TextOut: Links, JSON

Loading tool…

How to use github url parser

  1. Paste one or more GitHub addresses, one per line.

  2. Read the owner, repository, page type, branch or tag, path, number and line range.

  3. Copy the derived links: clone over HTTPS or SSH, raw file, ZIP, blame, history and the API address.

  4. Copy everything as JSON to use in a script.

What this tool does

  • Reads web links, raw.githubusercontent.com links, SSH remotes, git+https addresses, API addresses and owner/repo shorthand.
  • Recognises file, folder, commit, pull request, issue, release and comparison pages.
  • Builds raw file, blame, history and jsDelivr links for files, and .patch and .diff links for commits and pull requests.
  • Checks owner and repository names against GitHub's naming rules.

How the result is verified

The repository link built from the parts is parsed again and must give back the same owner and repository.

Frequently asked questions

How do I get the raw link of a GitHub file?

Paste the file's normal GitHub address. The parser turns /blob/<branch>/<path> into raw.githubusercontent.com/<owner>/<repo>/<branch>/<path>.

Does this tool contact GitHub?

No. It only reads the text of the address you paste and builds links from it, so nothing about what you look up is sent anywhere.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Searchable git commands by task, with undo recipes and risk warnings

Text→ CommandLight on device

Clean branch names from a ticket and description, checked against git rules

Text→ Branch nameLight on device

Combine .gitignore templates for languages, editors and OSes, then test paths

Selection · Text→ gitignoreLight on device

Major, minor, patch, pre-release and build parts, with rule-by-rule errors

Version→ PartsLight on device