ToolBrivo

Press slash to focus search.

Developer

URL parser

Split an http or https address into its host, path, query, and fragment.

The address is read with the standard URL parser. The page shows the protocol, hostname, port, path, each query parameter, and the fragment. Only absolute http and https addresses are accepted. Other schemes, including javascript: and data:, are rejected. The address is not opened and nothing is fetched.

Only an absolute http or https address is parsed. This page does not open it and does not fetch it.

Paste an absolute http or https URL.

How to use it

  1. Paste an absolute http or https URL.
  2. Read the parts. A repeated query name is listed once for each value.
  3. Copy the parsed values or reset the field.

Examples

A URL with a port, query, and fragment

https://example.com:8080/tools?a=1&a=2#top has protocol https:, host example.com, port 8080, path /tools, two a parameters, and fragment top.

Limits

  • A host with non-ASCII letters is shown in the ASCII form produced by the URL parser.
  • The default port for http and https is left blank and labeled default.
  • Relative paths and addresses without a scheme are rejected.
  • The field stops at 2,000 characters.

Privacy

The address stays in this browser. It is not sent to a server, opened, or written to local storage.

Questions