Zero Signup ToolsFree browser tools

Developer Tools

Git Repo URL Parser

Parse any Git remote URL into protocol, host, owner, and repo, then rewrite it as HTTPS, SSH, SCP-style, or git://. Browser-only, no signup.

Mode

Paste any Git clone URL (HTTPS, SSH, SCP-style, or git://) to see its parts and rewrite it into the other clone forms.

Try a sample:

Git URL reference

HTTPS

https://host/owner/repo.git

Works without SSH keys. Used by CI runners with a token (basic-auth user is the token).

SSH

ssh://git@host:port/owner/repo.git

Allows a non-standard port. Required when SSH does not listen on 22.

SCP-like

git@host:owner/repo.git

The shortest form. The colon is a path separator, not a port. Git only accepts it without a port.

git://

git://host/owner/repo.git

Anonymous, read-only, and unauthenticated. Largely deprecated in favor of HTTPS.

How to use

  1. Paste any Git URL into the input. HTTPS, SSH, SCP-style (git@host:owner/repo.git), and git:// are all accepted.
  2. Read the URL anatomy panel for the parsed protocol, user, host, port, owner or group, and repository name.
  3. Use the Clone URLs panel to copy the same repository in HTTPS, SSH, SCP-style, or git:// form for the tool that needs it.
  4. Open the Web URLs panel for ready-to-share browse, tree, issues, and releases links on the detected forge.
  5. Switch to Bulk mode to parse many URLs at once and copy a TSV table for a migration or audit.

About this tool

Git Repo URL Parser breaks any Git clone URL into the parts Git actually cares about: protocol, user, host, port, owner or group, and repository name. It accepts all four shapes the git CLI accepts: HTTPS (https://host/owner/repo.git), SSH (ssh://git@host:port/owner/repo.git), SCP-like (git@host:owner/repo.git), and the legacy git:// transport. The SCP-like form is the one searchers run into most often because it is not a valid URI: the colon is a path separator, not a port marker, so JavaScript's built-in URL constructor rejects it. This tool hand-parses that form correctly, recognizes GitLab-style nested groups, strips the .git suffix, and detects the forge (GitHub, GitLab, Bitbucket, Codeberg, Gitea, SourceHut, Azure DevOps, AWS CodeCommit, or self-hosted) from the hostname. Once the URL is parsed it generates the equivalent clone URL in every form so you can copy whichever your workflow needs (CI runners use HTTPS with a token, developers use SSH locally, automation prefers SCP-like for shorter scripts) and produces the browse, tree, issues, and releases web URLs for forges that follow the well-known pattern. A bulk mode parses one URL per line and outputs a TSV table ready to paste into a spreadsheet, which is useful for migrating fleets of repositories or auditing remotes. Everything runs locally in your browser and no URLs leave the page.

Free to use. Works in your browser. No signup, no login.

Related tools

You may also like

All tools
All toolsDeveloper Tools