Skip to content

Free URL Parser & Query Builder

Inspect URL components, edit repeated query parameters, resolve relative links and choose cleanup or encoding options. Copy or export results without opening the URL.

✓ Free to use✓ No sign-up✓ Browser-based

Loading tool…

How to inspect a URL and build its query parameters

Split a web URL into editable components, resolve relative links and rebuild repeated query parameters. Copy or download the result without opening the destination.

  1. Paste a complete HTTP or HTTPS URL. For a relative path, also enter an absolute base URL.
  2. Choose Parse URL and inspect the hostname, port, path, fragment and decoded query fields.
  3. Edit components or add query parameters. Select cleanup and space-encoding options only when they match the destination requirements.
  4. Copy the rebuilt URL, download a JSON report or export the query parameters as CSV.

Who needs to take a URL apart

Long links hide a lot of detail. A marketing link may carry five tracking tags. An API request may repeat the same filter name several times. A support ticket may include a relative image path that only makes sense next to a page address. Reading these by eye is slow and error prone.

This tool suits marketers cleaning campaign links, developers debugging query strings, SEO specialists checking canonical paths, and support staff working out why a link breaks. It never opens the link, so you can inspect suspicious or private URLs safely.

It also works as a builder. You can change the scheme, hostname, port, path or fragment, add or remove query rows, and copy the rebuilt link or export the parameters as a CSV file for a spreadsheet.

A worked example: cleaning a product link

Paste https://shop.example.com:8443/catalog/desk%20lamp?tag=office&tag=lighting&utm_source=newsletter#specifications and select Parse URL. The hostname is shop.example.com, the port is 8443, the pathname is /catalog/desk%20lamp, and the fragment is specifications. The query list shows three rows: tag = office, tag = lighting and utm_source = newsletter. The path segment view decodes desk%20lamp to desk lamp.

Now tick Remove UTM and common click-ID parameters and Remove fragment. The generated URL becomes https://shop.example.com:8443/catalog/desk%20lamp?tag=office&tag=lighting. Both tag values stay, in their original order.

For a relative link, enter ../images/banner.png?width=1200&quality=80 with the base URL https://www.example.com/guides/setup/. The tool resolves it to https://www.example.com/guides/images/banner.png?width=1200&quality=80.

How parsing and rebuilding work

The tool uses the browser's standard URL parser, the same rules a modern browser follows when you click a link. Query names and values are decoded for editing and then encoded again when the URL is rebuilt. By default, spaces in the query become %20. Choosing + form encoding writes them as + instead, so q=red shoes becomes q=red+shoes.

The tracking cleanup removes any parameter starting with utm_ plus fbclid, gclid, dclid, msclkid, ttclid, mc_cid and mc_eid. Other options sort names, remove exact duplicate pairs, drop empty values and strip embedded usernames and passwords.

Warnings appear for plain HTTP links, embedded credentials, Punycode hostnames, invalid percent escapes and parameter names that look like tokens or keys. The CSV export guards cells that begin with characters like = so spreadsheets do not run them as formulas.

Common mistakes to avoid

Do not edit the input box and then expect the builder to update by itself. Select Parse URL again after any change to the original link or base.

Be careful with signed links, such as download links from cloud storage. Sorting, removing or re-encoding any parameter can break the signature. Also remember that removing tracking tags may matter to whoever built the link, so check before sharing a cleaned version with a client. Finally, a parameter named key or token may hold a secret; review exports before posting them anywhere.

Useful tips and limitations

  • The original resolved URL is available separately when rebuilding changes it.
  • Changing parameter order, values or percent encoding can invalidate signed links.
  • Use the Load a sample menu to see how IPv6 hosts and international domain names are displayed before testing your own links.
  • Check the Effective port row, which shows 443 or 80 when a URL relies on the default port for its scheme.

Common questions

Does the URL parser visit the destination?

No. It uses browser URL parsing and string operations. It does not open, fetch or check the destination.

Can a query contain the same parameter more than once?

Yes. Repeated names and their order are retained. Exact name/value duplicates are removed only when you enable that option.

Why does a rebuilt URL look different?

The URL API normalizes hostnames, dot segments and default ports. Rebuilding query parameters can change encoding, including how spaces are represented.

Does the URL export hide credentials automatically?

No. Enable removal of embedded credentials and review query values before sharing. Tokens in custom parameters can remain in copied or exported URLs.

Which URL schemes does the parser accept?

Only HTTP and HTTPS. Other schemes such as mailto, ftp or file are rejected with a message.

How many query parameters can it handle?

Up to 1,000 parameters per URL, and the URL itself must stay under 100,000 characters.

Why does an international domain show strange letters?

Domains with non-ASCII characters are stored in Punycode, which starts with xn--. The tool shows that ASCII form so you can confirm the real domain before opening it.

Your input is processed in your browser without a ToolWorld Online account. Copy or download anything you want to keep before leaving the page.

Read our privacy policy · About ToolWorld Online