The quick answer
Paste a URL and the parser splits it into its components: scheme, host, port, path, query parameters, fragment, and the full origin. Example: in https://example.com:8443/a/b?q=1#top, the host is example.com, the port is 8443, the query holds q=1. Parsing is pure local JavaScript; the URL is never fetched or uploaded.
What a URL is made of
A URL is a structure wearing a string. The parser takes any URL you paste and lays the structure bare: scheme, host, port, path, each query parameter as its own key-value pair, the fragment, and the full origin. It recomputes on every keystroke, entirely in this tab, following the same WHATWG URL Standard your browser itself uses.
Treat the page under the fold as URL Parser's documentation: the algorithm stated exactly, examples with the working shown, where results are convention-dependent, and the questions that brought other readers here.
What this parser shows, and what it is not
The URL Parser is a local, in-browser utility that dissects URLs into their components; it never fetches the address, follows redirects, or resolves DNS. "Browser-based" is the important part: the parsing runs on your machine using JavaScript, which means the links you inspect are never uploaded, stored, or seen by anyone but you. That is a structural guarantee, not a policy promise. There is no network request to intercept.
The day-to-day usage could not be simpler. The input arrives pre-filled with a sample URL (one carrying userinfo, an explicit port, a query and a fragment); replace it with your own and every component updates live: scheme, host, port, path, each query parameter, the fragment, the full origin. There is no "calculate" button waiting to be pressed and no page reload between input and answer. When you are done, close the tab and everything you entered is gone.
Parsing a URL, step by step
Here is the complete workflow, from empty input to a result you can copy and trust. Every step is optional except the first.
Paste your URL (or edit the pre-filled sample)
The input arrives loaded with https://user:pass@shop.example.com:8443/products/shoes?color=red&size=10#reviews; paste your own URL over it. The tool works live: every component row updates as you type.
Read the component rows
Protocol, Host, Port, Path, Query string, Fragment and Full origin label themselves; a URL with no explicit port shows (default) rather than a guessed number, and each query parameter appears as its own key = value line.
Copy what you need
Every result row carries its own Copy button, so a single component lands on your clipboard without dragging a selection across a long string.
Close the tab when done
Because processing is local, there is no history, no server copy and no residue; closing the tab erases the URL by architecture.
There is no tutorial to sit through: URL in, components out. The sections below exist for edge cases, not prerequisites.
The anatomy: scheme, host, port, path, query, fragment
Take a maximal example: https://user@example.com:8443/path/to/page?q=base64&x=1#section. The scheme is https; user is the userinfo (rare and worth noticing; see the FAQ); example.com is the host; 8443 is an explicit port; /path/to/page is the path; q=base64 and x=1 are two separate query parameters; and section is the fragment, which never leaves the browser for the server. Every URL is some subset of those slots, and the parser labels them all.
Two details the parser surfaces that hand-parsing usually misses. Default ports disappear: https implies 443 and http implies 80, so a URL without :port still has a full address (the Port row simply reads (default)). And percent-encoding reads differently in the two kinds of row: the raw path keeps %20 exactly as typed, while the query-parameter rows decode values (a value of a%26b shows as a&b, and + reads as a space under the form-encoding convention). Those two rules are where most manual parses go wrong.
A worked parse you can check by hand
Parse https://example.com:8443/a/b?q=base64&x=1#top by hand and check yourself here: scheme https, host example.com, port 8443, path /a/b, two query parameters (q → base64, x → 1), fragment top. Now try the trickier one, https://google.com@evil.com, and watch where the host actually lands: the browser then loads evil.com, because everything before @ is just a username. The examples on this page were verified against the parser's code path, so reading them is testing the tool.
The examples carry a guarantee no manual page can: each was checked against the parser's own code path (the browser's URL constructor), so they match the tool by construction.
Who reaches for a URL parser
URL dissection is a daily task in several jobs. The tool exists for the moment you need the structure, not the page, and need it without pasting a customer's link into a server-side utility.
Backend developers: an OAuth redirect fails, a webhook callback URL is rejected, and the cause is one component: a missing port, an extra path segment, a query parameter that arrived double-encoded. Splitting the URL into labeled parts is faster than eyeballing a 300-character string, and local parsing keeps tokens embedded in links off any server.
Security reviewers: phishing links hide their true destination in structure, not spelling: credentials before an @ sign, punycode hosts that render as other alphabets, unusual ports, redirects buried in query parameters. Decomposing the URL locally means the suspicious link is never opened, resolved, or reported anywhere; you read its anatomy cold.
Your URLs never leave the browser
This matters beyond principle: the inputs people bring to URL-dissection tools include drafts, documents, credentials, financial figures and health numbers, exactly the categories that should never cross an unnecessary network boundary. Here, local processing is the architecture rather than a feature claim.
Compared with devtools consoles and log tools
You have options for URL-splitting work. Here is how the mainstream alternatives stack up, including where they legitimately win.
| Alternative | Why people pick URL Parser instead |
|---|---|
| Browser devtools console (new URL()) | The same parse with zero page load; but it wants a console, a remembered API and typed code, while this page wants a paste |
| Command-line tools (curl -w, grep) | Excellent for scripted pipelines, at the cost of flags to remember and URLs living in shell history |
| Server-side log analyzers | Built for millions of URLs in aggregate; the wrong instrument for one link you need to understand right now |
Where the comparison loses, it says so: heavy batch jobs and aggregate analysis belong to the server-side tools listed in the table above.
Field notes and gotchas
Learn the technique for five minutes and skip the hour of guessing. This is the distilled usage advice for the URL Parser.
- Work the pre-filled sample first on any unfamiliar tool: a known input with a known output validates your understanding in ten seconds before you trust it with real data.
- Chain tools when a workflow needs more than one step: the related-tools links below are ordered by what people typically combine, and outputs copy cleanly between them.
When something behaves unexpectedly, the causes are almost always one of these:
- The host looks wrong on a URL like https://google.com@evil.com, but it is not: everything before @ is userinfo, and the actual host is what follows. The parser's host field is the authority.
- A query value contains %26 or %3D: those are & and = encoded as data so they cannot split parameters. Decode the value to read the real character; leave it encoded when passing the URL along.
The contact page is the escape hatch: real bug reports about URL Parser reach the people who can push a fix.
Frequently asked questions
These are the questions people actually search about URL parsing, answered directly. If yours is missing, the contact page takes feature and question requests.
Does the URL Parser work on mobile?
The URL Parser works on mobile: the controls are sized for touch, the layout adapts from phone to desktop, and results update as you type. Any modern browser (iOS Safari, Android Chrome, Firefox, Edge) is supported.
Do you store what I enter into the URL Parser?
No. URL Parser processes everything on your device with JavaScript; your inputs are never transmitted, logged or retained. Refresh the page and everything you entered is gone; that architectural privacy beats any policy promise.
Is the URL Parser free to use?
Yes. The cost is zero: no account, no email address, no limit on sessions. URL Parser runs entirely in your browser, so each extra use costs this site nothing and costs you nothing either. Clear your cache and reload as often as the job requires.
Why does https://google.com@evil.com not point to google.com?
Because everything before the @ is userinfo, not the host. That URL carries the username google.com and then loads evil.com: an old phishing trick that still works on hurried readers. The parser labels the pieces correctly, which is exactly how the trick dies: the host field says evil.com in plain text.
Can I use the URL Parser offline?
After your first visit, URL Parser keeps working offline because the processing runs locally in your browser. Tools that genuinely need live data (currency rates, IP lookups) say so on the page and pause gracefully when you are offline.
Does the parser fetch the URL or follow redirects?
No: parsing is pure string analysis with no network activity at all. The URL is never requested, resolved through DNS, or sent anywhere; the page also works offline. That is deliberate: a suspicious URL should be read, not visited.
What is the difference between the query string and the fragment?
The query (after ?) travels to the server with every request: parameters, tokens, search terms. The fragment (after #) never leaves the browser; it scrolls the page or drives client-side routing. That is why analytics URLs track in the query but single-page apps route in the fragment.
Are percent-encoded characters decoded by the parser?
In the query-parameter rows, yes: a value of a%26b shows as a&b, and + reads as a space under the form-encoding convention. The raw path and query-string rows keep percent-encoding exactly as typed, because ?, #, = and & are the URL's grammar; mixing grammar with data is what percent-encoding exists to prevent.
Tools that pair well with URL inspection
These tools share the URL Parser's workflow most often; the internal links exist because people genuinely chain them, not for keyword decoration.
- Query String Parser: takes the ?-part further: every parameter as key and value, plus the same data as JSON for piping into scripts.
- URL Encoder / Decoder: encodes or decodes the values you just read, %20, + and & conversions in both directions.
- Domain Extractor From URLs: paste a whole list of URLs and get the deduplicated hostnames; the batch version of the Host row.
The takeaway, and where to read further
Structure over string: that is what a URL parser gives you. Scheme, host, port, path, query and fragment, labeled, computed locally and never fetched. Paste a link and read its anatomy; close the tab and it never existed here.
Sources and further reading
- WHATWG URL Standard (living specification)(url.spec.whatwg.org)
- RFC 3986: Uniform Resource Identifier Generic Syntax(datatracker.ietf.org)
- MDN Web Docs: URL API reference(developer.mozilla.org)
- RFC 3492: Punycode (internationalized hostnames)(datatracker.ietf.org)
We cite primary sources (standards bodies, government agencies, official documentation) wherever they exist so you can verify every number on this page yourself.