URL Parser
About this tool
About URL Parser
Long links from ad platforms, redirects and API logs are hard to read with all their percent-encoding. Paste one here and see it laid out: protocol, username and password, host, port, path with its decoded segments, every query parameter in a decoded table, and the #fragment. Repeated keys such as color=red&color=blue stay as separate rows in their original order, and plus signs are read as spaces the way HTML forms send them. Everything is editable. Change the host or port, rename a parameter, untick one to drop it or add new rows, and the rebuilt URL below is re-encoded correctly as you type. The tool also shows the origin and which port is really used when none is written (443 for https, 80 for http). Links without a scheme, such as example.com/page or localhost:3000, are read as https:// so you can paste them straight from a chat. Parsing uses your browser's own URL engine, so it matches how browsers see the link, and nothing is uploaded.
Built and maintained by Abhi JainUpdated
How to Parse a URL
- 1
Paste the URL
Paste a link into the URL box, or click Sample.
- 2
Read the parts
See Protocol, Host, Port, Path, Username, Password and Fragment under Parts, and decoded values under Query parameters.
- 3
Edit and rebuild
Change any field or parameter row; the Rebuilt URL updates with correct encoding. Copy it, or click Use as input.
URL Parser: questions and answers
What are the parts of a URL?
scheme://user:password@host:port/path?query#fragment. The scheme (https) picks the protocol, the host and port say where to connect, the path names the resource, the query carries key=value parameters, and the fragment after # stays in the browser and is never sent to the server.
Why is the port empty for most URLs?
Each scheme has a default port, 443 for https and 80 for http, and browsers drop it when it matches. The tool shows the port actually used when none is written.
Is + in a query string a space?
In query strings produced by HTML forms, yes: + means a space and a literal plus is written %2B. The parser follows that rule when decoding. In the path, + is just a plus sign.
How do I decode %20 and other escapes in a URL?
Paste the URL and read the Query parameters table and the path Segments: both show decoded text, so %20 appears as a space and %C3%A9 as é.
Can a URL have the same parameter twice?
Yes. a=1&a=2 is valid and many frameworks read it as a list. The parser keeps both rows in order instead of keeping only the last one.
Related Tools
- URL CleanerStrip tracking parameters such as utm_*, fbclid and gclid from links, in bulk.
- Query String BuilderTurn key/value rows into an encoded query string and back again.
- UTM BuilderBuild campaign URLs with utm_source, utm_medium and utm_campaign, in bulk, with a QR code.
- GitHub URL ParserSplit GitHub URLs into owner, repo, branch and path, and get raw, clone, ZIP and CDN links.