Url Parser / Query String Splitter
Parse a URL into its components (scheme, host, port, subdomain, domain, TLD, path, query string…) and split the query parameters.
Loading tool...
URLs Explained
URI, URL and URN
A URI identifies a resource. A URL also tells you where and how to fetch it. A URN gives a persistent, location-independent name.
Syntax of a URL
scheme://username:password@host:port/path/file.suffix?query#fragment
| Part | Description |
|---|---|
| Scheme | http, https, ftp... |
| Host | Domain name or IP address |
| Port | Optional TCP port |
| Path | Hierarchical part |
| Query string | Key=value pairs after ? |
| Fragment | Part identifier after # |
The query string
By convention: key=value pairs separated by &. Characters not allowed are percent-encoded.
Common schemes and default ports
| Scheme | Port | Purpose |
|---|---|---|
http |
80 | Web |
https |
443 | Secure web |
ftp |
21 | File transfer |
ssh |
22 | Secure shell |
smtp |
25 | Sending email |