URL parser

Parse an URL into readable individual components.

  • Development
  • 100% free
  • No sign-up
  • Runs in your browser
URL parser

What is the url parser?

The URL parser splits a URL into its components: the scheme, host, port, username, password, path, query string and fragment. It uses the browser's standard URL parser, the same one that handles every link you click.

It's helpful when debugging long tracking links, checking which parameters a URL carries, or explaining the structure of a URL. A link without https:// is accepted too.

How to use the url parser

  1. 1Paste the URL.
  2. 2Press Parse.
  3. 3Review each component of the URL.

Features

Every component

Scheme, host, port, credentials, path, query and fragment.

Standard parsing

Uses the WHATWG URL standard, like browsers do.

Lenient input

URLs without a scheme are accepted.

Private

Parsing happens locally in your browser.

Frequently asked questions

What is a query string?

The part after the question mark, made of key=value pairs separated by &, used to pass data such as filters and UTM tags.

What is the fragment?

The part after #. It's handled by the browser and is never sent to the server.

Why is the default port not shown?

Default ports, 80 for http and 443 for https, are implied and omitted.

Are SEO friendly URLs important?

Short, readable URLs with keywords are easier to understand and share. Use the slug converter to create them.