URL Parser
Paste a full URL to split it into its protocol, host, port, path, query string and hash, with each query parameter listed separately.
How to parse a URL
- Paste a full, absolute URL such as https://example.com/path?a=1 into the box.
- Read the components and the query parameter table that appear below.
- Copy any single part you need.
Examples
A URL with auth, port, path, query and hash
https://user:pass@example.com:8080/a/b?x=1&y=2#top
host: example.com:8080, pathname: /a/b, params: x=1, y=2
Frequently asked questions
What counts as a valid URL here?
An absolute URL with a scheme, such as https://example.com. Relative paths like /about have no host, so they cannot be parsed on their own.
What is the difference between host and hostname?
Hostname is just the domain, like example.com. Host includes the port when one is present, like example.com:8080.
How are repeated query parameters handled?
Each key is listed as its own row, so a=1&a=2 shows two entries. This keeps the original order and every value intact.
Does it decode percent-encoded values?
Yes. Parameter keys and values are shown decoded, so %20 appears as a space and other escapes are resolved.
Is my URL sent anywhere?
No. Parsing happens entirely in your browser using the standard URL engine, and nothing is uploaded.
Related tools
Query String Parser
Parse a URL query string into key value pairs or JSON, and build one from pairs. Handles repeated keys, encoded characters and empty values.
URL Encoder
Encode or decode URLs and query strings online. Percent-encode a value, escape a full URL, or decode back to plain text. Free, fast and private.
.env to JSON
Convert a .env file to JSON, or JSON back to .env. Parses KEY=value lines, comments, quotes and export. Runs entirely in your browser.
Aspect Ratio Calculator
Calculate aspect ratios fast. Enter a ratio like 16:9 and one dimension to get the other, or enter width and height to simplify the ratio.
Base32 Encode
Base32 encode and decode text online using the standard RFC 4648 alphabet with proper padding. UTF-8 safe, fast and private in your browser.
Base58 Encoder
Encode and decode Base58 online with the Bitcoin alphabet. Convert text to Base58 or back, UTF-8 safe, no confusing 0 O I l. Runs in your browser.