URL Parser & Builder
Split any URL into protocol, host, port, path, query parameters and hash, edit them and rebuild the URL or a curl command.
That is not a valid absolute URL. It needs a scheme, for example https://
Components
Host details
Query parameters
| On | Name | Value |
|---|
This URL has no query parameters yet.
Rebuilt URL
curl command (GET)
Encode / decode
The input contains a broken percent escape, so it cannot be decoded.
How to use the URL parser
- Paste a URL — it is split into protocol, credentials, host, port, path, query parameters and hash straight away.
- Edit any field or query parameter, switch rows off to drop them, and the rebuilt URL below updates live.
- Copy the finished URL, or copy the generated curl command to reproduce the same GET request in a terminal.
FAQ
What is punycode and why is my host different?
Domain names with non-ASCII characters are transmitted in an ASCII form that starts with xn--. The browser normalises them automatically, so the tool shows both the ASCII form that actually goes on the wire and the readable Unicode form.
When should I use encodeURIComponent instead of encodeURI?
Use encodeURIComponent for a single query value — it escapes &, =, ? and / so they cannot break the URL structure. Use encodeURI when you have a whole URL and only want illegal characters such as spaces escaped.
Does the URL leave my browser?
No request is made. Parsing uses the browser URL API locally, so tokens or signed links you paste are never sent anywhere.