01What is URL Parser?
URL Parser splits a URL into its parts using your browser's own URL parser. That parser follows the WHATWG URL Standard, the same one fetch() and every link on a web page use. So you get the answer the browser would give, not a regex guess. That matters when a URL becomes a cache key, an allow-list entry or a redirect target. The parser also normalises as it goes. The hostname is lower-cased, and an internationalised domain shows up in its punycode form. A default port such as 443 for https is dropped. Dot segments like /a/../b are resolved to /b. If you leave out the scheme, the tool adds https:// for you, so pasting localhost:3000/api just works. The colour-coded breakdown shows protocol, credentials, hostname, port, path, query and fragment. Protocol, Hostname, Port, Pathname, Hash / Fragment and Username each get an editable field. Query parameters are listed one per row and decoded. They keep their original order, repeated keys such as tag=a&tag=b stay as separate rows, and + is read as a space. You can change, add or delete rows. The Rebuilt URL at the bottom is put back together with the same URL API. So anything you type is percent-encoded correctly. Type my file?.txt into the path and it comes out as /my%20file%3F.txt, instead of silently starting a query string. Parameters are written back in form encoding, so spaces come out as + and a bare key like ?debug becomes ?debug=. Here is a worked example. Paste https://EXAMPLE.com:443/a/../b and you get hostname example.com, an empty port, path /b and origin https://example.com. Three normalisation rules show up in one short URL. There are some limits to know about. There is no separate password field, so editing the URL cannot change a password. Keep the original text if you need it. The tool does not flag double-encoding or check a URL against RFC 3986, and an input the browser cannot parse simply shows an error. Nothing is sent anywhere. The parsing happens entirely in your browser tab.
Web developers who need to see exactly how a browser reads a URL before they log it, cache it, allow-list it or hand it to a redirect. The tool runs entirely in your browser, so your data never leaves your device.
02How to use URL Parser
- Paste or type a URL into the URL field, or pick one of the examples. It is parsed as you type
- Read the colour-coded breakdown and the individual fields below it
- Edit Protocol, Hostname, Port, Pathname, Hash / Fragment or Username as needed
- Change query parameter rows, delete them with the trash icon, or click Add to append one
- Click Copy next to the Rebuilt URL
03Worked examples
- Input:
https://example.com:8080/api/users?page=1&limit=10&sort=name#section2 - Result:
Protocol: https | Hostname: example.com | Port: 8080 | Path: /api/users | Params: page=1, limit=10, sort=name | Hash: section2 - A non-default port is kept and every part gets its own field.
- Input:
https://www.example.com/search?q=developer+tools&tag=api&tag=http&name=Jos%C3%A9 - Result:
q = developer tools | tag = api | tag = http | name = José - + decodes to a space, repeated keys stay as separate rows, and %C3%A9 is decoded as UTF-8.
- Input:
https://EXAMPLE.com:443/a/../b - Result:
Hostname: example.com | Port: (empty) | Path: /b | Origin: https://example.com - The host is lower-cased, the default port 443 is dropped and .. is resolved.
- Input:
bücher.example/katalog?q=a b - Result:
Protocol: https | Hostname: xn--bcher-kva.example | Path: /katalog | q = a b - https:// is added because no scheme was given, and the domain is shown in punycode.
- Input:
localhost:3000/api?debug, then Pathname changed to /my file?.txt - Result:
Rebuilt URL: https://localhost:3000/my%20file%3F.txt?debug= - The path is percent-encoded and the bare key debug is written back as debug=.
04Common use cases
- Reading the individual query parameters of a long tracking or OAuth redirect URL
- Checking how the browser normalises a URL (host case, default port, punycode, dot segments) before using it as a cache key or allow-list entry
- Changing one parameter, such as a page number or redirect_uri, and copying a correctly encoded URL back
- Finding out what an internationalised domain looks like on the wire before adding it to a DNS or CORS config
- Spotting credentials embedded in a URL before it ends up in a log or a bug report
- Typing a file name with spaces into the path and getting a safely encoded link
05Tips
- If you see %2520 in a URL, a space was encoded twice (space to %20 to %2520). The decoded parameter will still show %20, which is the giveaway.
- Servers differ on repeated keys. Some take the first value, some the last, some build an array. Do not rely on one behaviour across frameworks.
- The fragment (#hash) is never sent to the server, so values kept there are invisible to server logs.
- Compare URLs after normalising them, not as raw strings. EXAMPLE.com:443/a/../b and example.com/b are the same resource to a browser.
- Avoid user:password@ URLs. Browsers strip or warn about them, and they leak into logs and bug reports.
06Related concepts
WHATWG URL Standard, Query string, Percent encoding, Punycode.
Frequently Asked Questions
What is URL Parser?
URL Parser is a free, browser-based developer tool on AIDToolStack. Parse and edit URL components — protocol, host, path, query params, and hash. It requires no installation or sign-up and works entirely in your browser.
Is URL Parser free to use?
Yes. No sign-up, no fees and no usage cap.
Does URL Parser store my data?
No. It runs in your browser; nothing is uploaded.