TontonTools

URL Parser

Parse a URL into its parts — scheme, host, path, query, fragment.

100% Free No signup Privacy-friendly Website Management
Updated Sep 2026

Invalid URL. Include the protocol (e.g. https://).

Share X / Twitter Facebook LinkedIn WhatsApp

How to use URL Parser

  1. Paste the URL.
  2. Read the labeled components — scheme, host, path, query params (listed), fragment.
  3. Inspect the query parameters — each key-value pair separated out.
  4. Decode encoded parts with the URL Decoder if values contain %-codes.

What is URL Parser?

A URL parser breaks a URL into its named components: scheme (https), host (example.com), port, path (/blog/post), query parameters (?id=5&sort=new — split into individual key-value pairs), and fragment (#section). It reveals the anatomy of a URL that looks like one string but is really a structured address.

URLs pack a lot into a small space, and parsing untangles it — especially query strings, where multiple parameters cram together and the parser separates them into a readable list of what each one is and holds.

About the URL Parser

Paste a URL and see it decomposed — each component labeled, query parameters listed individually.

Where parsing helps: debugging query parameters — a URL with a dozen tracking and functional parameters becomes a clear table of what's being passed (utm_source, page IDs, filters, session tokens); understanding URL structure — learning how a URL is built, which components exist, what the fragment vs query does; API and integration work — verifying an endpoint's parts, extracting a specific parameter's value, checking the path structure; and SEO and analytics — seeing exactly which parameters a URL carries (and whether they're creating duplicate-content variants that need canonical tags).

Component meanings worth knowing: the fragment (#anchor) is client-side only — browsers use it to scroll, servers never receive it; the query (?key=value) IS sent to the server and drives behavior; and the port is usually implied (443 for https, 80 for http) unless specified. Pair with our URL Decoder (for percent-encoded parts) and URL Encoder to build and read URLs precisely.

Frequently Asked Questions

Scheme (https://), host (example.com), optional port (:443), path (/blog/post), query (?id=5&sort=new), and fragment (#section). Each has a distinct role — the parser labels them all.
The query (?key=value) is sent to the server and affects the response. The fragment (#anchor) stays in the browser — it's never sent to the server, used only for scrolling to page sections or client-side routing.
Parse the URL and read the query-parameter list — each key and its value shown separately. Handy when a URL crams many parameters together and you need just the id, or the utm_campaign, or a token.
Different parameter combinations create different URLs for the same content (?sort=new vs ?sort=old), which can cause duplicate-content issues. Parsing shows what parameters exist so you can decide which need canonical tags or parameter handling.
Only when non-standard — https implies 443, http implies 80, and those are usually omitted. A visible port (:8080, :3000) means a non-default one, common in development and specific services.

Learn more

Phishing Explained: How to Spot and Avoid Scam Emails

Phishing is the most common cyberattack and it targets people, not computers. Here is how to recognise the red flags and protect yourself.

Read the guide

We use cookies for analytics and to keep the tools free via ads. See our Privacy Policy.