URL Parser & Builder

Paste a URL to see every part decomposed: protocol, username, password, host, port, path, query parameters, hash. Or fill in the parts and build a URL. Live two-way binding — edit either side, the other updates.

Query parameters

How to use the URL Parser & Builder

Paste a URL. Each component is broken out into a labeled field. Edit any field and the full URL above updates. Add or remove query parameters with the buttons. The query parameter table also shows decoded values when they were percent-encoded.

About URL parts

A URL has up to seven components in the standard format protocol://user:pass@host:port/path?query#fragment. Most URLs use only protocol, host, and path. The userinfo (user:pass) is deprecated by most browsers for security reasons but the URL spec still permits it. The fragment (anything after #) is never sent to the server — it's a client-side anchor.

Query parameters are not part of any standard — they're a convention. Servers parse ?a=1&b=2 however they want (most use application/x-www-form-urlencoded). Some accept multiple values for the same key (?tag=a&tag=b); some use bracket notation (?tags[]=a&tags[]=b); some use comma-separated values. The tool reports raw and decoded values for each parameter so you can debug whichever convention the API uses.

Frequently asked questions

What parts does it break a URL into?

Protocol, username, password, host, port, path, query parameters and hash, each shown separately and editable.

Can I edit and rebuild a URL?

Yes. It uses two-way binding, so editing any part updates the full URL and editing the URL updates the parts.

Does it decode query parameters?

Yes. It parses the query string into individual key-value pairs and handles percent-encoding so you can read and edit values directly.
Embed this tool on your site

Free to embed, no attribution required (but appreciated). Paste this where you want the tool to appear: