URL Parser
Parse a URL into its components: protocol, host, port, path, query parameters, and fragment.
Runs entirely in your browser.
URL Parser Tool
Full URL
https://www.example.com:8080/path/to/page?name=John&age=30&city=New+York#section
Protocol
https:
Host
www.example.com:8080
Hostname
www.example.com
Port
8080
Pathname
/path/to/page
Search
?name=John&age=30&city=New+York
Hash
#section
Origin
https://www.example.com:8080
Username
(none)
Password
(none)
| Key | Value | Decoded |
|---|---|---|
name | John | John |
age | 30 | 30 |
city | New York | New York |
URL Structure
protocol://username:password@hostname:port/pathname?search#hash
About URL Parser
Parse and analyze URLs to understand their components and structure.
Learn more: JavaScript Window Location