🛠️ Developer & Web

URL Parser & Query String Editor

See every part of a URL — and edit its query parameters.

  • 10URL parts shown
  • 5Tracking parameter families removed
  • LiveRebuilt URL
  • WHATWGURL standard used by the parser

Query parameters

KeyValue (decoded)

How to use the URL Parser

  1. 1

    Paste a URL

    Paste any link. If it has no scheme, https:// is assumed.

  2. 2

    Read the parts

    Protocol, user name, masked password, host, hostname, port, path, query string, fragment and origin are listed.

  3. 3

    Edit parameters

    Change keys or values, add a parameter, or remove one with ✕. The rebuilt URL updates immediately.

  4. 4

    Strip tracking and copy

    Press “Remove utm_* tracking” to drop campaign and click IDs, then copy the clean URL.

Features

Full breakdown

Only the parts present are shown, plus the default port for http, https, ftp, ws and wss.

Password masked

A password embedded in the URL is shown as •••• rather than in plain text.

Editable parameters

Values are shown decoded and re-encoded automatically when the URL is rebuilt.

Tracking cleaner

Removes utm_*, fbclid, gclid, msclkid and mc_eid.

Repeated keys kept

Parameters like tag=a&tag=b stay as separate rows in order.

Standard parsing

Uses the browser’s URL API, so results match what browsers do.

Who uses it — and for what

Marketers

Check campaign links and share clean versions without tracking tags.

Developers

Debug redirect URLs, OAuth callbacks and API query strings.

Support staff

Read long links from customers and spot wrong parameters.

Privacy-minded users

Remove click IDs before forwarding a link.

Anatomy of a URL

A URL is made of a scheme (https:), optional user info, a host (domain or IP), an optional port (443 is the default for HTTPS), a path, a query string of key=value pairs after ? separated by &, and a fragment after # that never reaches the server. The parser uses the browser’s standard URL API — the same rules browsers use — so internationalised domain names are shown in their encoded (punycode) form and percent-encoded values are decoded.

Editing query strings

Edit or add parameters in the table and the rebuilt URL updates with correct encoding (spaces become + in the query string, & inside values is escaped). Use “Remove utm_*” to strip Google Analytics campaign tags before sharing a clean link. Building your own tracked links? Keep tags consistent: utm_source (where), utm_medium (channel) and utm_campaign (which campaign). To encode a single value, use the URL Encoder.

Host, hostname, origin — the confusing ones

PartFor https://shop.example.com:8443/cartUsed for
Hostnameshop.example.comDNS lookups, cookie domains
Hostshop.example.com:8443The HTTP Host header; includes a non-default port
Originhttps://shop.example.com:8443Browser security: CORS, storage and same-origin checks
Path/cartWhich page or resource on the server

Two pages share an origin only if scheme, hostname and port all match, so http:// and https:// versions of a site are different origins. User info (user:pw@) is legal in URLs but deprecated for web pages: browsers may warn about it, and putting a password in a link exposes it in history and logs — that is why the tool masks it.

Worked examples

Cleaning a newsletter link

Input:

https://shop.example.com/search?q=steel%20bottle&flag&utm_source=newsletter&tag=a&tag=b#top

The parameter table shows q = steel bottle, flag = (empty), utm_source = newsletter, tag = a and tag = b. After “Remove utm_* tracking” the rebuilt URL is:

https://shop.example.com/search?q=steel+bottle&flag=&tag=a&tag=b#top

Notice two changes made by the standard rebuilding rules: the space is now written as + instead of %20, and the value-less flag became flag=. Both are equivalent for almost all servers, but if a system compares URLs character by character (signed links, some caches), use the original string instead of the rebuilt one.

Hosts, ports and missing schemes

  • example.com/path name?x=1 is read as https://example.com/path%20name?x=1; the path row shows it decoded as /path name.
  • https://bücher.example/ä becomes https://xn--bcher-kva.example/%C3%A4 — the host is converted to punycode and the path to percent-encoding.
  • https://user:pw@x.com:443/ has an empty port, because 443 is the default for https; the table shows “443 (default)”.

Pro tips

  • Open the rebuilt URL once before sharing it to make sure removing a parameter did not break the page.
  • Empty keys are skipped when rebuilding, so clearing a key box is another way to drop a parameter.
  • The fragment (#…) is never sent to the server, so it is safe to leave for in-page links but useless for server-side tracking.

Glossary

Scheme
The part before the colon, such as https or mailto, that says how to access the resource.
Origin
Scheme plus hostname plus port; the unit browsers use for security boundaries.
Punycode
An ASCII encoding for domain names that contain non-ASCII letters, starting with xn--.
Click ID
A parameter like gclid or fbclid that identifies one ad click for attribution.

Frequently asked questions

Is the #fragment sent to the server?

No, it stays in the browser and is used for in-page navigation and single-page apps.

Can a parameter appear twice?

Yes, e.g. ?tag=a&tag=b — both are shown and kept.

What are UTM parameters?

Tags that tell analytics tools where a visitor came from.

Why does my rebuilt URL use + for spaces?

Rebuilding follows the standard form-encoding rules for query strings, which write spaces as +. Servers decode + and %20 to the same space in query parameters.

Can it parse mailto: or tel: links?

Yes, any URL with a scheme is accepted. Such links have no host or meaningful origin, so fewer rows are shown.

Does it check whether the link works?

No. It only parses the text; it never opens or fetches the URL.

Found it useful? Share the URL Parser:

Last updated 2026-11-28 · Built by Vinayak Agarwal · Part of Developer & Web (77 tools)