How to use URL Parser
The URL parser breaks any absolute URL into its component parts and lays them out clearly: protocol, hostname, port, path, hash fragment, and origin, plus a table of every query parameter with its value already percent-decoded. It is the fastest way to make sense of a long tracking URL, debug a redirect, or confirm exactly which parameters a link is carrying. Parsing uses the browser’s own URL engine, so results match what a browser actually sees, and nothing is uploaded.
- Paste an absolute URL into the input.
- Read the protocol, host, port, path, and hash.
- Review the query parameters in the table.
- Copy the summary if you need it.
Your data never leaves your device — 100% private processing.
Anatomy of a URL
Every URL follows the same structure, even when it looks like an unreadable wall of characters. The protocol (https) says how to fetch the resource. The hostname (example.com) says which server, optionally followed by a port when it is not the protocol default. The path (/products/42) identifies the resource on that server. Everything after a question mark is the query string, a set of key–value pairs the server or page reads as input. Finally, anything after a hash is the fragment, which never reaches the server and is used by the page itself to scroll to a section or drive client-side routing. Separating these parts makes a confusing URL immediately legible.
| Part | Value | Meaning |
|---|---|---|
| Protocol | https | How to fetch it |
| Hostname | example.com | Which server |
| Path | /path | Which resource |
Query strings and encoding
Query parameters carry data in the URL, and because URLs may only contain a limited set of characters, anything else must be percent-encoded: a space becomes %20, an ampersand inside a value becomes %26, and so on. This is why raw URLs are so hard to read. The parser decodes each value for you, so you see the real text rather than the escaped form. It also splits repeated keys correctly and preserves their order, which matters when a system reads only the first or last occurrence. The fragment after the hash is shown separately because it behaves differently — it is never sent to the server, so it cannot be a parameter the backend reads.
Worked examples
Full URL
Inputs: https://example.com/p?q=hi#top
Result: https · example.com · /p · q=hi · #top
Decoded
Inputs: ?q=a%20b
Result: q = "a b"
Port
Inputs: http://localhost:3000/x
Result: port 3000
Glossary
- Protocol
- The scheme such as http or https that says how to fetch the resource.
- Query string
- The part after ? carrying key–value parameters.
- Fragment
- The part after #, used by the page and never sent to the server.
- Percent-encoding
- Escaping special characters as % followed by hex digits, e.g. %20 for a space.
Related reading
Frequently Asked Questions
Why use URL Parser?
- Splits a URL into protocol, host, port, path, and hash
- Lists every query parameter with decoded values
- Uses the browser’s native URL parser for exact results
- Flags URLs that are not valid absolute URLs
Common use cases
- Inspect a long tracking or campaign URL
- Debug which query parameters a link carries
- Check the host and path of a suspicious link
- Read percent-encoded parameter values as plain text
Get weekly tool tips & updates
New tools, power-user tips, and productivity hacks — delivered free every Friday.
No spam, ever. Unsubscribe with one click.
Related Developer Tools
Base64 Encoder & Decoder
Encode text or files to Base64, or decode Base64 strings back to text in seconds. Free, private, and fully in-browser now.
JSON Formatter & Validator
Format, validate, and minify JSON instantly. Includes syntax highlighting, error detection, and a collapsible tree view — free, private, in-browser.
JSON to CSV Converter
Convert JSON arrays to CSV format online. Supports nested objects, custom delimiters, and CSV to JSON conversion. Free and private.
Number Base Converter
Convert numbers between binary, octal, decimal, and hexadecimal instantly. Essential tool for programmers and developers.
Regex Tester
Test and debug regular expressions online. See live matches, capture groups, and replace output. Free, private, instant.
URL Encoder / Decoder
Encode and decode URLs and URL components online. Convert special characters to percent-encoding and back instantly — free, private, and fast.
Explore all Developer Tools.