URL Parser
Paste a full address, or a relative path with a base URL. The parser lists each part of the address in a table. Change a query parameter in the grid, and the rebuilt address updates right away. Nothing you paste leaves your browser.
URL Parser runs entirely in your browser: the text you paste is never sent to a server. It is free and needs no sign-up.
How to use it
- Paste a URL In the URL Parser, paste an absolute URL such as https://example.com/path?x=1#top. For a relative address such as ../x?y=1, also type a base URL such as https://a.com/b/c/d.
- Read the parts The parts table lists the protocol, username, password, host, hostname, port, path, query string, fragment and origin. Each row has a copy button. A port that is not written in the URL is marked as the default.
- Edit the query Add, change or remove parameters in the grid, and the rebuilt URL below updates. Spaces are written as %20 in the rebuilt URL, and the other parts of the URL stay as they were.
Questions
Why does a relative URL show a missing scheme error?
A relative address such as ../x?y=1 does not say which site it belongs to. Enter a base URL such as https://a.com/b/c/d in the Base URL box, and the tool resolves the address against it. Without a base, a URL must start with a scheme such as https://.
Why does my query string change after I edit a parameter?
Editing a parameter rewrites the whole query string in standard form. A key with no equals sign, such as ?a, is written as a=, and a plus sign that stood for a space is written as %20. Keep a copy of the original if you need it unchanged.
How are international domain names shown?
A host with non-ASCII letters is stored in punycode, such as xn--bcher-kva.example. The parts table adds a Unicode row that decodes these labels back to readable text. All parsing happens in your browser, and the URL is never sent to a server.