URL Parser

Break a URL into protocol, host, port, path, query parameters and fragment.

How it works

Paste a URL and see it split into protocol, username, host, port, path, query parameters and fragment. Query parameters are decoded and listed.

Worked example

https://user:pass@www.example.com:8080/docs/intro?tab=2&lang=en#setup has host www.example.com, port 8080, path /docs/intro, parameters tab=2 and lang=en, and fragment setup.

Good to know

Common questions

What is the difference between host and hostname?
The host includes the port, the hostname does not.
What is a query string?
Everything after the ? as key=value pairs joined by &.
Does it open the link?
No. It only reads the text.

More in Developer.