URL Parser (Break a URL into Parts)

Paste a URL to see each part and every decoded query parameter. It is parsed in your browser.

Runs in your browser — nothing you enter is uploaded

URL Parser

Your result will appear hereFill in the fields and press “Parse”.

Formula

  • scheme://username:password@host:port/path?query#fragment
  • The query is split at & into name=value pairs and percent-decoded
  • The default port for the scheme is shown when none is written

A URL is built from a fixed set of parts in a fixed order.

Worked example

A URL with a port, query and fragment

URL
https://user@example.com:8080/docs/page?name=Ada%20Lovelace&tag=a&tag=b#section-2

Host

example.com

Scheme: https

Path: /docs/page

Query parameters: 3

name = Ada Lovelace
tag = a
tag = b

How it works

A URL has a standard anatomy: a scheme (https), optional credentials, a host, an optional port, a path, a query string introduced by ? and a fragment introduced by #. This tool splits any URL into those parts using the browser's built-in URL parser, so it follows the same rules your browser does, and lists every query parameter with its percent-encoding decoded.

If you leave out the scheme and the text looks like a domain, https:// is assumed and the page tells you so. Repeated parameters, such as tag=a&tag=b, are flagged because servers differ in how they treat them. If a URL contains a username or password the tool warns you, since credentials in links are visible to everyone who sees them. Nothing you paste is sent anywhere.

To encode or decode a single value use the URL Encode and Decode tool, to build a clean path from a title use the Slug Generator, and to inspect the contents of an access token in a link try the JWT Decoder.

Assumptions and limits

  • Follows the WHATWG URL standard used by browsers.
  • Only parses the text; it does not fetch the address.