Split URLs into parts and params
- Free
- No sign-up
- No upload
- Works offline
Tool facts
- Price
- Free, no sign-up, no watermark
- Are files uploaded?
- No. Everything is processed in this browser, on your device.
- Offline use
- Works without a connection once this page has loaded
- Browser
- A recent Chrome, Edge, Firefox or Safari, on computer or phone.
Check it yourself: press F12, open the Network tab, then use the tool. No request carries your data.
About URL Parser
URL Parser splits a web address into its components: protocol, username and password, hostname, port, path, query string and fragment, exactly as the browser's own URL parser (the WHATWG URL Standard) sees them. Percent-encoded values are shown decoded, the path is listed segment by segment, and a missing port is shown as the protocol's default, such as 443 for HTTPS.
Query parameters appear as an editable list of key and value pairs. Change a value, delete a tracking parameter such as utm_source or add a new one, and the full URL is rebuilt and encoded for you. Repeated keys like tag=a&tag=b are kept in order, and Copy as JSON exports them as an object with arrays. Addresses without a scheme, such as example.com/page, are treated as HTTPS. Nothing is sent over the network.
URL Parser runs entirely in your browser. Your data is processed on your device and is never uploaded to Qiyi or anyone else.
How to use URL Parser
- Paste a URL into the URL box.
- Read the protocol, host, port, path, query and fragment in the URL parts table; use Copy on any row.
- Edit, remove or add entries under Query parameters; the URL box updates automatically.
- Click Copy to copy the rebuilt URL, or Copy as JSON to export the parameters.
Frequently asked questions
What are the parts of a URL?
In https://user:pass@example.com:8080/path/page?x=1#top, https: is the protocol (scheme), user:pass are the credentials, example.com is the hostname, 8080 the port, /path/page the path, ?x=1 the query string and #top the fragment. The host is hostname plus port, and the origin is protocol plus host.
Why does the parser show + instead of %20 after I edit a parameter?
When you edit parameters, the query string is rebuilt with the browser's URLSearchParams, which uses the HTML form encoding where a space becomes +. Servers decode + and %20 in query strings the same way, so the meaning of the URL does not change.
Is the fragment (after #) sent to the server?
No. Browsers keep the fragment on the client side; it is used to jump to an element on the page or by single-page apps for routing. The server only receives the path and the query string.
What happens with international domain names?
Domain names with non-ASCII letters, such as münchen.de, are converted to their ASCII Punycode form (xn--mnchen-3ya.de) by the URL standard. That is the name actually looked up in DNS, and the tool shows it as the hostname.
Why is my URL marked invalid?
Common reasons are spaces or other illegal characters in the host name, a port above 65535, or a scheme followed by nothing. Characters such as spaces in the path or query are allowed and get percent-encoded automatically.