Skip to content

URL Parser

Inspect a complete URL as labeled parts, including protocol, host, path, query parameters and fragment. The URL is parsed locally and is never fetched.

Runs locally in your browser

Protocolhttps:
Hostexample.com:8080
Hostnameexample.com
Port8080
Path/articles
Query?q=browser+tools
Fragment#details
Query: qbrowser tools

Parsing uses your browser’s URL API; the entered address is never fetched.

What is the URL Parser?

Inspect a complete URL as labeled parts, including protocol, host, path, query parameters and fragment. The URL is parsed locally and is never fetched.

How to use it

  1. 1Paste a full URL including its scheme.
  2. 2Read the parsed fields and individual query parameters.
  3. 3Edit the URL to see how each part changes.

How it works

The built-in URL API validates and separates the URL. URLSearchParams iterates decoded query names and values.

Inspect a search URL

In “https://example.com/search?q=tools#top”, the path is “/search”, q is “tools”, and the fragment is “#top”.

Limitations & notes

  • Relative URLs require a base URL and are not accepted here.
  • Parsing does not test whether the remote site exists.

No directly related discussion yet.

Start a focused thread and share the question this tool helped you explore.

Ask the community about URL Parser

You might also like