Skip to content
Web & Developer

URL Parser

Splits a URL into its component parts: protocol, hostname, port, path, query parameters and fragment. Query parameters are listed individually, which is what makes a long tracking URL readable.

Free, no signupRuns entirely in your browser
Input
Result
Protocol
https:
Hostname
vibeland.site
Port
8080
Pathname
/tools/playground
Query Params
{ "name": "Vibeland", "category": "dev" }
Hash/Fragment
#top
About

What the URL Parser does

This is most useful for campaign URLs. A link with five UTM parameters plus click identifiers is effectively unreadable as a single string, but trivial to check once each parameter is on its own line.

How it works

Using the URL Parser

  1. 1Paste the URL.
  2. 2It is parsed using the browser's built-in URL parser.
  3. 3Protocol, host, port, path, query and fragment are separated.
  4. 4Each query parameter is listed as a name and value pair.
  5. 5Percent-encoded values are decoded for readability.
Use cases

What people use it for

  • Checking UTM parameters on a campaign link
  • Debugging a redirect that loses a parameter
  • Extracting a value from a long callback URL
  • Verifying an OAuth redirect URI
FAQ

Frequently asked questions

6 related

Related tools

All tools →