CraftTools

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
PartValueWhat it does
Protocolhttps:How to talk to the server
Hostshop.example.comWhich server to ask
Port8443Which door on that server. Left out, it's 443 for https and 80 for http
Path/products/shoesWhich page or resource
Query?color=red&size=10Extra settings, as name and value pairs
Fragment#reviewsA 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

CharacterEncoded asWhy
Space%20Spaces can't appear in an address
&%26It separates parameters
=%3DIt separates a name from its value
#%23It starts the fragment
?%3FIt starts the query
/%2FIt 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

  1. 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.
  2. Read the query list. Tracking labels, session ids and redirect targets all show up as separate rows.
  3. 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.
  4. Remove parameters one at a time to find which one changes the page.

Written by Akinrinmade Michael · Updated October 24, 2026

How to use

  1. 1Paste a URL into the box.
  2. 2Read its parts: protocol, host, port, path, query and fragment.
  3. 3Edit, add or remove query parameters and watch the URL update.
  4. 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

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.