Paste any GitHub link and get every equivalent form of it. The converter understands repository pages, blob and tree links, raw.githubusercontent.com URLs (including the refs/heads/ form), commits, pull requests, issues, release pages and asset downloads, archive links, gists, [email protected]:owner/repo.git SSH remotes, .git URLs, existing jsDelivr cdn.jsdelivr.net/gh/... links, *.github.io Pages URLs and plain owner/repo or owner/repo@ref/path shorthand.

For a file you get the blob page, the raw URL, the jsDelivr CDN URL (plus the .min variant for JS and CSS and the cache purge link), a Statically mirror, blame and history pages, HTTPS and SSH clone URLs, ZIP and tarball downloads and a GitHub Pages guess. Pull requests also get .diff/.patch links and the commands to check them out locally. Click any value to copy it.

Batch mode: put one URL per line and pick a field under Batch output, for example Raw URL or jsDelivr CDN URL, to convert a whole list in one go. Lines that do not have that form are marked with a # comment instead of being skipped silently.

A few things to keep in mind:

  • This is pure string conversion. Nothing is fetched, so the tool cannot tell whether a branch, file or gist really exists.
  • Branch names containing / are ambiguous in GitHub URLs. The first path segment after blob/ or tree/ is taken as the ref.
  • A link with a branch name moves when the branch moves. If the URL contains a full commit SHA you also get a Permalink that always points at the same content.
  • Without a ref, HEAD is used for raw and archive links (the default branch), and jsDelivr gets no version, which it resolves to the latest release or default branch.