URL Parser & Query Builder
Guide: How QR Codes Work and How to Make a Good One
Nothing you enter or choose here leaves your device. This tool runs in your browser.
Anatomy of a web address
Paste this address into the parser and it splits it into its parts:
https://shop.example.com:8443/products/shoes?color=red&size=10#reviews
| Part | Value | What it does |
|---|---|---|
| Protocol | https: | How to talk to the server |
| Host | shop.example.com | Which server to ask |
| Port | 8443 | Which door on that server. Left out, it's 443 for https and 80 for http |
| Path | /products/shoes | Which page or resource |
| Query | ?color=red&size=10 | Extra settings, as name and value pairs |
| Fragment | #reviews | A spot within the page |
Editing the query
Each query parameter gets its own row, so you can change a value, add a new one or delete one, and watch the full address rebuild. Values are shown decoded. Two%20words reads as two words, and anything you type is encoded again for you. That makes this useful for cleaning up a long tracking link or testing what an API does with different settings.
Characters that must be encoded
| Character | Encoded as | Why |
|---|---|---|
| Space | %20 | Spaces can't appear in an address |
& | %26 | It separates parameters |
= | %3D | It separates a name from its value |
# | %23 | It starts the fragment |
? | %3F | It starts the query |
/ | %2F | It separates path parts |
If a link seems to lose half its parameters, an ampersand or hash inside a value is almost always the cause. Encode the value, and the problem goes away.
Details that trip people up
- The fragment never reaches the server. Browsers keep what follows the hash to themselves. A server log can't tell which section someone jumped to.
- Paths can be case-sensitive. The host isn't, but /Shoes and /shoes may be different pages.
- A trailing slash can matter. /products and /products/ may be the same page or two pages, depending on the site.
- Double encoding. If you see
%2520, a percent sign was encoded twice. Decode once to fix it. - Credentials in an address. A link can include a username and password before the host. Be careful sharing such links, and treat any link with a token in it like a password.
Leaving out https:// still works, because the parser assumes it. Use the UTM link builder to add campaign tags, the Base64 encoder in URL mode to encode a value on its own, and the HTTP status codes list when a request comes back with an error.
Debugging with the parser
- Paste the address you were sent, and look at the host first. A link that looks like your bank but has a different host is the first thing to catch in a phishing email.
- Read the query list. Tracking labels, session ids and redirect targets all show up as separate rows.
- If a link with a redirect parameter fails, check that the value is encoded. An unencoded inner address with its own question mark breaks the outer one.
- Remove parameters one at a time to find which one changes the page.
Written by Akinrinmade Michael · Updated October 24, 2026
How to use
- 1Paste a URL into the box.
- 2Read its parts: protocol, host, port, path, query and fragment.
- 3Edit, add or remove query parameters and watch the URL update.
- 4Click Copy URL.
Frequently asked questions
What are the parts of a URL?
For https://user@example.com:8080/a/b?x=1#top the protocol is https:, the host is example.com, the port is 8080, the path is /a/b, the query is ?x=1 and the fragment is #top.
Are parameter values decoded?
Yes. Values such as two%20words are shown as two words, and new values are encoded again when the URL is rebuilt.
What happens if I leave out https://?
The parser assumes https:// so a bare address such as example.com/page still works.
Is my URL sent anywhere?
No. Parsing happens in your browser. Be careful sharing URLs that contain tokens or passwords.
Read the guides
Learn how this works and how to get the most from it.
Web & SEO
How QR Codes Work and How to Make a Good One
What a QR code stores, what the error correction levels mean, and the rules that make a code scan every time.
4 min read
Web & SEO
How to Build UTM Links and Track Your Campaigns
What the five UTM parameters mean, which ones are required, naming rules that keep reports clean, and mistakes that split your data.
3 min read
Developer
HTTP Status Codes Explained: The Ones You Actually Need
What 200, 301, 404, 500 and other HTTP status codes mean, how 401 differs from 403, and which code to return from your API.
4 min read
Related tools
Base64 & URL Encoder / Decoder
Encode and decode Base64 and URL-encoded text instantly.
HTTP Status Codes
Look up every HTTP status code, from 200 OK to 503 Service Unavailable.
String Escape / Unescape
Escape and unescape strings for JSON, JavaScript, Java, Python, HTML, SQL, regex and CSV.
QR Code Generator
QR codes for links, Wi-Fi, contacts, email, phone and text. PNG or SVG.