What is a URL parser?
A URL parser takes a web address apart into its standard components: the protocol (https), optional username, the host name, the port, the path to the page, the query string of key-value parameters after the ?, and the fragment after the #.
Long links from ads, emails and search results are hard to read because the parameters are percent-encoded and run together. Developers use a parser to debug redirects, API calls and routing; marketers use it to check campaign tags; anyone can use it to see what a suspicious link really points to before clicking it.
How to use the URL Parser
1.Paste a URL
Full links or ones without https:// both work.
2.Read the parts
Each part is listed on its own line and query parameters are decoded.
3.Copy what you need
Grab a parameter value or the clean origin.
Example: a product link from a newsletter
https://user@shop.example.com:8080/products/shoes?colour=red&size=9&utm_source=newsletter&q=running%20shoes#reviews
- Host and port
- shop.example.com, 8080
- Path
- /products/shoes
- Parameters
- colour=red, size=9, utm_source=newsletter, q=running shoes
- Fragment
- reviews
- Tracking parameters
- 1 (utm_source)
The search term %20 is decoded to a space and the one tracking parameter is flagged.
Parsed by the browser's own URL engine
The link is parsed with the same WHATWG URL standard browsers use, so the result matches what a browser would request. Percent-encoded values like %20 are decoded, and a + in a query value is read as a space, as form submissions intend.
Tracking parameters such as utm_source, fbclid and gclid are counted separately. They're added by newsletters and ads for analytics; removing them gives a cleaner link to share without changing the page it opens.
Frequently asked questions
What is the origin of a URL?
The protocol, host and port together, such as https://shop.example.com:8080. Browsers use it for security rules like CORS.
Why is the port shown as default?
When a URL has no port, https uses 443 and http uses 80.
Is the part after # sent to the server?
No. The fragment is only used by the browser, usually to jump to a section of the page.
Can parameters repeat?
Yes, like ?tag=a&tag=b. Each occurrence is listed separately, in order.
Related tools
URL Encoder & Decoder
Percent-encode or decode URLs and query values, and see a URL's parts.
URL Extractor
Pull every link out of text or HTML, or list just the domains.
URL Slug Generator
Turn titles into clean, lowercase URL slugs.
Regex Tester
Test JavaScript regular expressions with live highlighting, groups and replace.
Text Diff Checker
Compare two texts by line, word or character and see what changed.
Cron Expression Explainer
Translate a cron schedule into plain English and see its next run times.
More Developer tools
JSON & data
CSV tools
Network & system
Web & API
Git & releases
Encoding & security
- Base64 encode & decode
- JWT decoder
- Hash generator
- HTML entity encoder
- Text to binary
- Morse code translator
- Caesar cipher & ROT13
- Random string generator
- Secret key generator
- 2FA code generator (TOTP)
- Encrypt & decrypt text
- Encrypt & decrypt files
- SSH key generator
- Base32 encoder and decoder
- Unicode escape converter
- Nano ID generator
- JWT generator