Git URL Parser
Parse a Git repository URL (HTTPS or SSH) and extract the host, owner, and repository name.
Paste any Git remote URL - HTTPS or SSH form - and this tool breaks it down into its host, protocol, owner, and repository name.
Useful for scripting or documentation when you need to programmatically extract the repository name from a list of remote URLs.
What Is a Git URL?
A Git remote URL identifies where a repository lives and how to connect to it. The two common forms are HTTPS (e.g. https://github.com/owner/repo.git) and SSH (e.g. git@github.com:owner/repo.git) - both point to the same repository but authenticate differently.
Why Use This Tool?
Useful when you need to quickly identify the host, owner, and repository name from a URL - for example when writing a script that works across many repositories, or documenting which host a remote points to.
How to Use It
- Paste a Git remote URL in either HTTPS or SSH form.
- Click Parse.
- Review the extracted host, protocol, owner, and repository name.
Limitations
This recognizes common Git hosting URL patterns (GitHub, GitLab, Bitbucket, and generic host:owner/repo.git SSH forms) - a highly non-standard self-hosted Git server URL may not parse perfectly.