# URL parser > How is your web address put together? Take a URL apart into its scheme, host, path, query parameters and fragment, with every value decoded. Paste a web address to split it into scheme, host, port, path, query parameters and fragment, with percent-encoding decoded. Runs in your browser. - Page: https://how.box/url-parser/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/url-parser/?url={url} - `url` (text): The web address to take apart. Example: `https://example.com/a?x=1`. Example answer: https://how.box/url-parser/?url=https%3A%2F%2Fexample.com%2Fa%3Fx%3D1 The page computes the answer in the browser: read results from the agent tools below, not from the page HTML. ## Agent tools - `url_parser_parse`: Takes a web address apart with the WHATWG URL parser, in the browser. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"url_parser_parse","arguments":{"url":"https://example.com/a?x=1"}}}` - GET: https://how.box/mcp/run/url_parser_parse?url=https%3A%2F%2Fexample.com%2Fa%3Fx%3D1 ## How it works A web address has a fixed shape: a scheme such as https, then optional login details, a host, an optional port, a path, a query after a question mark and a fragment after a hash sign. The browser's own URL parser splits it the same way this tool does (WHATWG URL Standard, RFC 3986). The query is a list of name=value pairs joined by ampersands. In it a plus sign means a space, and %XX writes a byte, so %C3%A4 is ä. The table shows both the decoded value and the pair as written, and marks names that repeat. Hosts are written in lower case and a default port such as 443 for https is dropped, as browsers do. Only the address is analysed, nothing is fetched, so the tool says nothing about whether the page exists or is safe. A password inside a link is shown in plain text: take care when you share the result. ## FAQ **What is the difference between host and origin?** The host is the name, such as example.com. The origin adds the scheme and port, such as https://example.com:8080. Browsers use the origin for security rules. **Why is a plus sign turned into a space?** In a query, plus is the form-encoded way to write a space. In a path it is just a plus sign, so the path is decoded differently. **What happens with repeated parameters?** Each one is listed as its own row, in order, and the name is marked as repeated. Servers differ in which one they use. **Is the fragment sent to the server?** No. Everything after the hash sign stays in the browser. **Can I decode or encode a whole value here?** The query table decodes each value. To encode or decode any text, use the URL encoder and decoder. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)