Inside a URL: Schemes, Hosts, Paths and Query Strings
What each part of a URL does, how encoding changes it, and the mistakes that make links break.
A URL is a small structured document: scheme, authority, path, query and fragment. When a link behaves unexpectedly, the cause is usually in one of those parts — a stray space encoded as %20, a duplicated parameter, or a fragment that the server never sees.
Paste a URL to see each component and every query parameter decoded. Everything is parsed in your browser.
Runs locally in your browser — nothing is uploaded.
A bare string like example.com/path is ambiguous without a base. The tool tries https:// automatically and tells you when it did.
The part after #. Browsers use it for in-page anchors; it is not sent to the server in the request.
Yes, each occurrence is listed in order, which matters because servers often take the first or the last one.
Parameter order is not decoration: some servers take the first occurrence of a repeated parameter and others take the last, so a duplicated key can silently change behaviour. The parser lists every occurrence in order for exactly that reason.
The fragment is the part browsers keep to themselves. Anything after # is never sent in the HTTP request, which is why client-side routers rely on it and why server logs cannot see it.