Developer & Data

URL Parser

Split a URL into its scheme, host, path, query, and fragment components.

№ 016Runs locally

What this tool does

URL Parser. Split a URL into its scheme, host, path, query, and fragment components.

When to use it

Use it to inspect a link, debug query parameters, or understand where a URL points.

How to use

  1. Try this sample input first: https://example.com/a?q=tea#top.
  2. Choose or adjust the options this tool provides; leave unrelated settings at their defaults.
  3. Run the tool and read any validation or status message. Correct the input format before trying again if needed.
  4. Check whether the result matches the example output: host: example.com · query q: tea · fragment: #top. Then copy or download it.

Your input and files are processed in this browser. They are not uploaded by this toolbox.

Input and output example

Sample input
https://example.com/a?q=tea#top
Sample output
host: example.com · query q: tea · fragment: #top