URL Parser - Split a URL and Edit Query Parameters
Break a URL Into Its Parts
Long URLs from analytics links, OAuth redirects and API calls are hard to read. This parser splits a URL into its components and lists every query parameter in a table with the percent-encoding removed. You can then change values, add or remove parameters, and the URL is rebuilt for you with correct encoding.
Anatomy of a URL
Take this URL:
https://admin:[email protected]:8443/search/red%20shoes?q=size+9&sort=price&tag=sale&tag=new#results.
It breaks down as follows:
| Part | Value |
|---|---|
| Protocol | https: |
| Username / password | admin / s3cret |
| Host | shop.example.com |
| Port | 8443 |
| Path | /search/red%20shoes |
| Query | ?q=size+9&sort=price&tag=sale&tag=new |
| Hash | #results |
The query parameters decode to q = size 9,
sort = price, tag = sale and
tag = new. The decoded path is /search/red shoes.
The hash (fragment) is never sent to the server; the browser keeps it
for in-page navigation or for single-page apps.
How to Use the URL Parser
- Paste a full URL into the box at the top.
- Read the components and decoded parameters below it.
- Edit a key or value in the table, or use + Add and × to change the list.
- Copy the updated URL from the input box or the Normalised URL panel.
Common Tasks
- Strip tracking parameters. Delete the
utm_source,utm_medium,fbclidorgclidrows and copy a clean link. - Debug OAuth redirects. Check
redirect_uri,stateandscopevalues.redirect_uriis a whole URL encoded inside another one, which is hard to read raw and easy to get subtly wrong. - Build test URLs. Start with a base URL, add parameters in the table and let the parser handle encoding of spaces, ampersands and Unicode.
Repeated Keys and Arrays
A query string can contain the same key more than once, as in
tag=sale&tag=new. The parser keeps each occurrence as
its own row, in order, because servers handle duplicates differently:
PHP keeps only the last tag unless the key is written
tag[], Express (with its default qs parser) returns an
array, and other frameworks keep only the first value. Keys with brackets, such as
filter[color]=red, are shown exactly as written so you can
see what the server receives. Order is preserved when the URL is
rebuilt, which matters for signed URLs where the signature covers the
exact query string.
Encoding Notes
When the URL is rebuilt, parameters are written in
application/x-www-form-urlencoded form, the same format
HTML forms and URLSearchParams use. Spaces become
+ and reserved characters become %XX. To
encode or decode a single value, or to see which characters need
encoding, use the URL encoder and
percent-encoding table.
Related Tools
JWT Decoder
Decode JSON Web Tokens and inspect header, payload and signature.
Base64 Encode / Decode
Encode text to Base64 or decode Base64 strings back to plain text.
URL Encode / Decode
Percent-encode or decode URLs and query-string parameters safely.
Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text.