URL Parser
Break down any URL into its components, edit query parameters in a table, and rebuild the new URL instantly.
| Item | Value |
|---|
| Key | Value |
|---|
What is the URL Parser?
Working with long, complex URLs is a daily task in development, marketing, and data analysis. This URL Parser instantly breaks any link down into its constituent parts: protocol, host, path, and more. Go beyond simple analysis with an interactive table for query parameters where you can add, edit, or delete values. Clean up links for sharing with a one-click "Remove UTMs" button, or combine relative paths using the "Base URL" field. All parsing happens entirely in your browser; your data is never sent to a server.
How to use
- Paste a full URL into the "URL Input" field. If a scheme (like http://) is missing, it will be interpreted as https://.
- The URL is instantly broken down into a "Components" table, showing items like Protocol, Host, and Path. You can copy any individual value.
- Any query string values appear in the "Query Parameters" table. Edit keys and values directly in their text fields.
- Use "+ Add Parameter" to add new pairs, "Remove UTMs" to clean up tracking tags, or "Sort by Key" to organize them alphabetically.
- All edits are reflected in the "Reassembled URL" in real time. Click "Copy" to use the new URL, or "Apply to Input" to analyze it again.
URL Parser guide
How this tool is used in real work, and what to watch out for.
UTM Parameters: The Tags That Track Ad Performance
The `utm_` values you see at the end of a URL are tags used to record where a visitor came from. While the names were defined by Google Analytics, they've become an industry standard that most analytics tools understand.
This tool automatically identifies tracking parameters and flags them with a "Tracking" chip. Below the value, it also explains what each parameter means.
| Parameter | Meaning | Example |
|---|---|---|
| utm_source | Where the traffic came from (source) | google, bing, instagram |
| utm_medium | The type of traffic | cpc (paid search), display, email, social |
| utm_campaign | The campaign name | spring_sale_2026 |
| utm_term | The search keyword | cordless drill |
| utm_content | The specific content or ad | banner_a / banner_b (for A/B testing) |
| gclid / fbclid | Click ID automatically added by ad platforms | Google Ads, Meta Ads |
Clean Your Links Before Sharing
If you click a search ad, then copy the product page URL and send it to a friend, your friend's click will also be attributed as 'paid search traffic'. Clicks you didn't pay for are counted towards ad performance, polluting your reports and potentially leading to incorrect conclusions about your cost-per-conversion.
The "Remove UTMs" button strips all `utm_` parameters as well as click IDs like `gclid`, `fbclid`, `msclkid`, and `igshid` in one go. The resulting URL is much shorter and cleaner.
- When adding links to blogs or documentation: If you use a URL with someone else's UTM tags, you'll be inflating their campaign stats.
- In emails to customers: It's surprisingly common for internal testing UTMs to be left on links in outgoing emails. Paste the URL here to double-check before sending.
- From an SEO perspective: When the same page is indexed under multiple URLs that differ only by UTM parameters, it creates duplicate content. The correct fix is to use a `canonical` tag to point to the primary URL.
Why You See %-Codes in URLs (Percent-Encoding)
URLs can originally only contain ASCII characters. To include a non-ASCII character like '๋', it's first converted into its UTF-8 byte sequence, and then each byte is represented in `%XX` hexadecimal format. A single Korean character can take up 3 bytes, turning it into a long string of nine characters (e.g., `%EB%93%9C`). This is why even short search terms can make URLs very long.
This tool shows the decoded result below any encoded path, query, or fragment. In the parameters table, values are shown in their decoded form for easier editing.
- Domain names use a different system. A domain with non-ASCII characters isn't percent-encoded; it's converted using Punycode and starts with `xn--`. This tool will highlight if it detects a Punycode domain in the hostname.
- A space can be encoded as either `%20` or `+`. In a query string, both are interpreted as a space, but their representation is different.
- If a parameter value must contain a special character like `&` or `=`, it must be encoded. If not, it will be misinterpreted as a parameter separator, breaking the URL.
Parameter Order and Caching
To a server, `?a=1&b=2` and `?b=2&a=1` are often the same request. But to a browser cache, CDN, or proxy, they are different resources because the URL strings don't match. This leads to duplicate caching and lower cache hit rates.
The "Sort by Key" button normalizes the URL by arranging parameters alphabetically. If you're generating links programmatically, it's best practice to sort parameters at the time of creation.
- Cache Keys: Multiple URLs differing only in parameter order will create separate, redundant entries in a CDN cache.
- Log Analysis: Pageview counts get fragmented across several URLs that all point to the same content.
- Security & Firewalls: Rules that rely on URL pattern matching can be bypassed or triggered incorrectly if the parameter order changes.
Other Details This Tool Provides
- Default Port: If a port is not specified, the tool shows the default for that protocol (e.g., 443 for HTTPS). Note that explicitly including the default port (like `:443`) changes the URL's `origin` string, which can affect CORS policies.
- Origin: The combination of protocol + host + port. This is the basis for the 'same-origin policy' that governs security for CORS, cookies, and `postMessage`.
- Relative Paths: By filling in the 'Base URL' field, you can resolve a relative path like `../images/a.png` into a full, absolute URL. This is useful for validating links in HTML.
- Scheme Inference: If you paste a URL without a scheme, like `example.com/page`, the tool will prepend `https://` and notify you that it has done so.
- If a URL contains authentication credentials (in `user:pass@host` format), the password will be automatically obfuscated for security.
Frequently asked questions
What are UTM parameters and why remove them?
UTMs are tags for marketing analytics. The "Remove UTMs" button creates a cleaner, shorter URL for sharing, without changing the destination page.
Can I analyze a relative URL like /path/page?
Yes. Paste the relative path in "URL Input" and provide the full website address (e.g., https://example.com) in the "Base URL" field to resolve it.
Is the URL I enter sent to your server?
No. All parsing and editing happens entirely within your web browser. The URL you enter is never sent to our server or any other.
How are special characters in the path or query handled?
The tool shows you both the original encoded value and its human-readable decoded version, so you can see exactly what the URL contains.