Developer tool

URL Parser

Paste a URL to inspect every useful part and its query parameters.

Runs in your browser. No upload.

The URL is analyzed locally.

URL components
Protocol
—
Host
—
Path
—
Query
—
Hash
—
Query parameters
—

About this tool

URL Parser made simple.

A clear way to debug links, UTM tags, redirects and query strings without sending the URL to a server.

Guide

Using URL Parser

The URL Parser splits a web address into its parts. You paste a full URL, press the button, and see the protocol, host, path, query string, hash and a list of each query parameter with its decoded value. It helps when you debug links and tracking tags. It does not open the link, check that the page exists, or measure traffic or backlinks.

How to use it

  1. Paste a complete URL into the box, starting with a protocol such as https://.
  2. Press Parse URL. The tool trims spaces around the text and reads it with the browser's own URL parser.
  3. Read the five parts: protocol, host, path, query and hash. Empty ones show (none). The path shows / when there is none.
  4. Check the Query parameters box, which lists each name and value as JSON, with percent codes and plus signs already decoded. Press Clear to start over.

Worked examples

A link with tracking tags

You enter
Url
https://example.com:8080/a/b?utm_source=news&utm_campaign=spring%20sale&x=1#top
You get
Protocol
https:
Host
example.com:8080
Path
/a/b
Query
?utm_source=news&utm_campaign=spring%20sale&x=1
Hash
#top
Params
Name: utm_source; Value: news; Name: utm_campaign; Value: spring sale; Name: x; Value: 1

The port is part of the host line. The query keeps its raw text, while the parameter list shows %20 as a space.

Run through the tool’s own code.

A bare domain

You enter
Url
https://example.com
You get
Protocol
https:
Host
example.com
Path
/
Query
(none)
Hash
(none)
Params
No query parameters.

With no path, the browser's parser adds a single slash. Query and hash are empty, so the tool shows (none).

Run through the tool’s own code.

Repeated names and a default port

You enter
Url
HTTPS://User:pw@Example.COM:443/x?a=1&a=2
You get
Protocol
https:
Host
example.com
Path
/x
Query
?a=1&a=2
Params
Name: a; Value: 1; Name: a; Value: 2

The protocol and host are lowercased, the default port 443 is dropped from the host, and both values of the repeated name are listed. The user and password part is not shown on its own.

Run through the tool’s own code.

Plus signs and encoded characters

You enter
Url
https://example.com/search?q=a+b%26c
You get
Params
Name: q; Value: a b&c

In a query, a plus sign becomes a space and %26 becomes an ampersand, so the value reads a b&c.

Run through the tool’s own code.

A link without a protocol

You enter
Url
example.com/page
You get
Message
Enter a complete URL, including https://.

The parser needs a protocol to know it is a URL. Without one, it fails and the tool clears all parts.

Run through the tool’s own code.

When it helps

  • Read the utm tags on a campaign link before you publish it.
  • Find out which host and path a long redirect or share link points to.
  • Check that a query value is decoded the way you expect.
  • Teach how the parts of a web address fit together.

Limits to keep in mind

  • The address must be complete, with a protocol. Text such as example.com/page is rejected.
  • The tool does not show the username, password or port as separate fields. The port is included in the host line only when it is not the default for the protocol.
  • It only reads the text. It does not visit the link, follow redirects or tell you if the page is safe.
  • Other protocols are accepted, but some, such as mailto:, give an empty host and put the address in the path.
  • Repeated parameter names are all listed, and no value is combined or removed.

Tips

  • Paste the full address from the browser bar, including https://, to avoid the error message.
  • Compare the raw Query line with the parameter list to see what was encoded.
  • Use Clear between links so an old result is not left on screen.

Sources

Common questions

About URL Parser.

What parts of a URL does this tool show?

It shows the protocol, the host (with the port when it is not the default), the path, the query string and the hash, followed by a list of query parameters. It reads them with the browser's standard URL parser.

Why does the tool say to include https://?

Without a protocol, text like example.com/page could be a file name or a search term, so the standard parser refuses it. Add https:// or http:// in front of the address and parse it again.

Does it send my URL anywhere?

No. The page says the URL is analyzed locally in your browser. The tool does not open the link or send it to a server, though you should still avoid sharing links that contain private tokens.

Can I use it to check utm tags?

Yes. Paste the full link and look in the parameter list for names such as utm_source and utm_campaign. The tool decodes the values for you. It does not measure traffic or check whether the tags are right for your analytics.

What is the hash of a URL?

It is the part after the # sign, often used to jump to a spot on a page. It is not sent to the server by the browser when a page is requested, which is why it is shown on its own.

Why does the path show a single slash?

A web address with no path, like https://example.com, is treated by the standard as having the path /. The tool shows what the parser returns, not what you typed.

Is this the same as the URL encoder tool?

No. The encoder changes text into percent codes or back. The parser splits a whole address into parts. They work well together when you want to read an encoded query.

What parts of a URL can this parser show?

It separates the protocol, host, path, query string, fragment and individual query parameters.

Can I inspect tracking parameters in a URL?

Yes. Paste a complete URL to inspect and decode values such as utm_source and utm_campaign locally. It does not measure backlinks or website traffic.