URL Parser — Break a URL into Scheme, Host, Path, Query and Fragment
Break down any URL into scheme, hostname, port, pathname, hash & query params.
| Scheme | https: |
|---|---|
| Host | www.example.com |
| Port | 8443 |
| Path | /produk/kopi%20arabika/ |
| Fragment (#) | ulasan |
| Origin | https://www.example.com:8443 |
| Path segments | produkkopi arabika |
utm_source | newsletter |
ukuran | 250g |
ukuran | 1kg |
catatan | tanpa gula |
- A non-default port is used.
- Tracking parameters are present (utm_, fbclid, gclid…). A clean version is below.
When to use the URL Protocol, Host, Path & Parameter Parser
Read the way browsers do
The URL is parsed with the WHATWG URL Standard used by Chrome, Firefox and Safari, so the result matches what browsers really open, default ports and path normalisation included.
Query parameters one by one
Every parameter is shown decoded, repeated keys such as size=250g and size=1kg included, which makes campaign links and API URLs easy to check.
International domains made readable
Punycode hosts (xn--) are also shown in Unicode form, helping you spot look-alike domains that use similar letters for phishing.
A clean version without trackers
Tracking parameters such as utm_, fbclid and gclid are recognised, and a clean URL is prepared for sharing without campaign data.
Frequently asked questions
What is the difference between host, hostname and origin?
The hostname is just the domain name, host adds the port when present, and origin is scheme, host and port together, which browsers use for security rules such as CORS.
Why do spaces become %20 or +?
URLs cannot contain spaces. Paths and queries usually use %20; HTML forms write + in the query. Both decode back to a space.
Is the URL I paste sent to a server?
No. The URL is parsed in your browser and never opened, so it is safe for checking suspicious links.
Why is a user name inside a URL dangerous?
A form like https://[email protected]/ looks like the bank's address, but the real host is the part after @. Phishers use this trick often.
How do I check a short link?
Short links such as bit.ly hide their real destination. Use the Short URL Expander to follow its redirects to the final address, then break that address down here.
Similar tools
- Google Analytics UTM Campaign Link BuilderBuild GA4 campaign links: encoded utm_ values, existing parameters and the #fragment kept, lowercase and space options, presets, many URLs at once and .txt/.csv export.
- Apache .htaccess 301/302 Redirect GeneratorGenerate Apache mod_rewrite 301 permanent redirects and HTTPS enforcement.
- Nginx return 301 & rewrite Rule GeneratorGenerate fast Nginx server block 301 redirects and non-www canonicalization.
- Cloudflare Bulk & Dynamic Redirect Rule BuilderExport CSV lists for Cloudflare Bulk Redirects or dynamic rule expressions.