Free developer tool

URL parser

Parse any pasted URL into protocol, hostname, port, path, query parameters, and fragment. Private URL inspection with no remote request.

Runs locallyUpdates as you type
Output
Your result will appear here.
Processed only on this device

About this tool

What url parser does

Inspect the exact structure of a URL without opening it. The result separates credentials, hostname, port, pathname, query string, repeated parameters, and fragment.

How it works

The browser's standards-based URL parser normalizes the pasted absolute URL and exposes each component. The target is never requested, resolved, or checked for availability.

Common uses

When to use it

  • Debug callback, redirect, and deep-link URLs
  • Review query parameters copied from application logs
  • Separate a hostname, path, port, and fragment before editing

Scope

Limits to know

  • Parsing confirms URL syntax but does not confirm that a host or page exists
  • Pasted credentials are displayed locally; avoid using real production secrets

Worked example

Example input and result

Use the prefilled value in the tool above or paste a similar value of your own.

Input
https://admin@example.com:8443/tools?mode=safe#output
Result
Protocol: https: · Host: example.com:8443 · Path: /tools · Query: mode=safe · Fragment: #output

Quick answers

URL parser FAQ

Does the parser visit the URL?

No. It only analyzes the pasted string and performs no DNS, HTTP, or reputation lookup.

Can it parse repeated query parameters?

Yes. Repeated parameter names are preserved as arrays rather than silently overwritten.

What is the difference between host and hostname?

Hostname is the domain or IP portion. Host includes the port when a non-default port is present.