AscendLab

Developer tools

URL 解析器

Free browser tool

URL Parser

Parse a full URL into protocol, hostname, port, path, query parameters, and fragment directly in your browser.

URL input
Parse a complete URL into protocol, host, path, query parameters, and fragment.
Parsed URL
URL parts are ready to inspect or copy.
Quick answer

A URL parser splits a URL into protocol, hostname, port, path, query, and fragment.

This tool does not open or fetch the URL.

Best inputs

Use complete URLs

Include the protocol, such as https://.

Check encoded values

Pair this with URL decoding when query values are percent encoded.

URL parsing method
The tool uses the browser URL parser.
The URL constructor validates the input.
Search parameters are listed as key/value pairs.
The result is shown as copy-ready JSON.
Example, Assumption, and Limitation
Use the result as a practical estimate or transformation, then confirm edge cases for critical work.

Example

https://example.com/a?x=1#top splits into host, path, query, and hash.

Assumption

The input is a complete URL rather than a bare domain.

Limitation

It does not test whether the URL is reachable or safe.

Common use cases
These pages are built for lightweight browser-side work, examples, and planning.

QA logs

Inspect URLs from reports.

Campaign checks

Review path and query pieces.

Debugging

Break down redirect targets.

Docs

Explain URL structure.

Frequently asked questions

Does this fetch the URL?

No. It only parses the text of the URL locally and does not make a network request.

Can it parse query parameters?

Yes. Query parameters are listed as key and value pairs.

Does it replace the URL query parser?

No. The URL parser summarizes the whole URL, while the query parser focuses on parameter cleanup and repeated keys.

Does it need a backend?

No. URL parsing uses browser URL APIs.

Suggested workflow

URL QA workflow

Parse the full URL, inspect query parameters, then decode values if needed.