URL Parser

Paste any link to see every part of it, decoded, as your browser reads it. GitHub links also get their owner, repository, branch and the raw, clone and ZIP links.

How it works

The link is read by the same URL parser your browser uses for every page it loads, so the parts shown are the parts the browser will act on. That matters for the awkward cases: host names are lowercased, international names become punycode, and a port that matches the scheme default is dropped.

The path is split into its segments and each one is percent-decoded, so caf%C3%A9 shows as café. The query is split into its parameters in the order they appear, with + read as a space the way forms send it, and repeated names kept rather than merged.

If the link points at GitHub, a second section says what it is (a repository, a file, a folder, an issue, a pull request, a commit, a release or a gist) and builds the links people usually want next. All of this runs on this page; the link is never fetched or sent anywhere.

How to use it

  1. 1 Paste a URL into the box. A link without https:// works too; the page says when it assumed it.
  2. 2 Read the parts, the decoded path segments and the decoded query parameters below.
  3. 3 For a GitHub link, use the GitHub section for the raw file, the clone command or the ZIP download.
  4. 4 Copy any single value with its Copy button, or everything at once with Copy all results.

Good to know

  • The fragment (the part after #) is never sent to the server. If a server needs a value, it has to be in the path or the query.
  • A port shown as "Not written" means the scheme default: 443 for https, 80 for http.
  • A user name and password inside a URL are sent in the clear to anyone who can read the link. Browsers hide them from the address bar for a reason.
  • GitHub branch names may contain a slash, and a URL cannot show where the branch ends and the file path begins. The tool reads the first part as the branch.

Browser support

  • Chrome 94 and later
  • Firefox 93 and later
  • Safari 16.4 and later
  • Edge 94 and later

These are the oldest versions with everything the tool uses. They are worked out from the tool itself, so they change when it does.

Version numbers checked on 2026-09-04.

Taking one URL apart, piece by piece

Take this link: https://user:pa%20ss@shop.example.com:8443/en/caf%C3%A9/menu?q=red+shoes&q=blue#reviews. It looks like one long string, but a browser reads it as eight separate parts, each with its own rules. Paste it into the box above and you get the same answer as below. Walking through it once makes most URL bugs easy to spot.

The scheme comes first, https:, and decides everything after it, including the default port. Next is the user name and password, user and pa%20ss, which decodes to "pa ss". Credentials in a link are a relic and a risk: anyone who sees the link sees the password. Then the host, shop.example.com:8443. The host name is shop.example.com and the port is 8443. Had there been no port, https would mean 443, and the browser would drop a written :443 because it is the default. The origin, https://shop.example.com:8443, is scheme plus host plus port, and it is the unit browsers use for security: cookies, storage and CORS all work per origin.

The path is /en/caf%C3%A9/menu. Split on the slashes it gives three segments: en, café and menu. The middle one shows why decoding matters. The letter é is not allowed raw in a URL, so it is turned into its two UTF-8 bytes, C3 and A9, and each byte is written as a percent sign and two hex digits. A server that splits the path before decoding gets the right three segments; one that decodes first could be fooled by an encoded slash, %2F, into seeing four.

The query is ?q=red+shoes&q=blue. It holds two parameters, both named q. The first value is "red shoes", because a + in a query means a space. The second is "blue". Repeated names are legal and common, for filters and multi-select boxes, but frameworks disagree on what to do with them. PHP keeps the last one unless the name ends in [], Express makes a list, and URLSearchParams.get() returns the first. That is why this tool lists every parameter in order instead of merging them. Last comes the fragment, #reviews. The browser keeps it and never sends it to the server, which is why single-page apps once used it for routing and why it is useless for anything the server must know.

GitHub links get a section of their own, because their paths have a meaning of their own. In github.com/solidjs/solid/blob/main/packages/solid/src/index.ts the owner is solidjs, the repository is solid, "blob" means a file view, main is the branch and the rest is the path. From that the tool builds the raw link, raw.githubusercontent.com/solidjs/solid/main/packages/solid/src/index.ts, plus the HTTPS and SSH clone addresses and a ZIP of that branch. One honest limit: a branch can be called feature/login, and the URL gives no way to tell where the branch name ends and the path begins. GitHub resolves that by looking at the repository. This tool only has the URL, so it reads the first part as the branch, and says so.

Frequently asked questions

What is the difference between the host and the host name?

The host name is just the name, such as shop.example.com. The host adds the port when one is written: shop.example.com:8443. With no port written, the two are the same.

Why does the decoded query show a space where my link has a +?

HTML forms send spaces as +, so in a query string a bare + means a space. A real plus sign is written %2B. The tool follows the same rule your server framework almost certainly uses.

Why did my host name turn into xn--something?

Domain names outside plain ASCII, such as bücher.example, are stored in DNS as punycode. The browser converts them before it looks them up, and this tool shows the converted form because that is what is actually used.

Can it get the raw file from a GitHub link?

It builds the raw.githubusercontent.com link from a file view link, and the github.com link back from a raw one. It does not fetch the file: the link is made from the URL alone, so private repositories still need you to be signed in.

Is the link I paste sent anywhere?

No. The parsing is done by your browser on this page. Nothing is fetched and nothing is logged.

Related tools

Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.