URL Parser

Parse and analyze URLs into their individual components: protocol, host, path, query parameters, and more.

URL Input

Basic Components

Protocol: https
Hostname: www.example.com
Port: 8080
Host: www.example.com:8080
Origin: https://www.example.com:8080

Path

Full Path: /path/to/page

Path Segments:

1 path
2 to
3 page

Query Parameters

query: param
foo: bar

Other

Hash: section
Username: (none)
Password: (none)

Full URL

https://www.example.com:8080/path/to/page?query=param&foo=bar#section