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.