URL Parser
Parse any URL into protocol, host, path, query params, and hash.
Protocol
https:Host
example.com:8080Hostname
example.comPort
8080Pathname
/path/pageSearch
?foo=bar&baz=quxHash
#sectionOrigin
https://example.com:8080Query Params
foo = bar
baz = quxHow to Use
- Paste a complete URL into the input field (e.g. https://example.com:8080/path?foo=bar#section).
- View the parsed breakdown instantly — protocol, hostname, port, pathname, query params, hash, and origin are all shown separately.
- Copy any individual field value directly from the results.
Frequently Asked Questions
- How are duplicate query parameters handled?
- Each key-value pair is listed separately. If the same key appears multiple times, all occurrences are shown in the Query Params row.
- Does it support relative paths?
- No — the browser URL API requires a fully qualified URL with a protocol (e.g. https://). Relative paths like /foo/bar are not valid input.
- How are percent-encoded characters displayed?
- Encoded sequences such as %20 or %2F are shown decoded in their readable form for the query params and path fields.