Skip to content

URL Parser

URL Parser

URL Parser breaks common URLs into protocol, hostname, port, path, and query parameters, then lets you edit each part and preview the rebuilt URL in real time.

Input URL

Details

Protocol

Hostname

Port

Username / Password

Username

Password

Pathname

Hash

Query parameters

0

No parameters

Output URL

URL Parser

Quick Start

1
Paste or type a URL (or a relative path) in the input box; the tool will try to parse it automatically.
2
In "Details", edit protocol, hostname, port, path, fragment, and other fields one by one.
3
In "Query parameters", add, remove, or edit key-value pairs.
4
"Output URL" updates in real time and can be copied with one click.
5
Enable "Auto add https:// when missing scheme" to prepend https:// for inputs without a scheme.

Common Scenarios

API debugging

break down endpoint URLs, inspect or adjust query parameters, and quickly pinpoint parameter issues.

Link analysis

unpack complex marketing/tracking URLs to inspect UTM parameters, referrer sources, and more.

Parameter tuning

quickly add, remove, and edit paging, filtering, sorting, and other query parameters with less manual URL concatenation.

Link cleanup

remove unnecessary tracking parameters before sharing a cleaner URL.

Redirect troubleshooting

inspect redirect URLs and verify target host, port, and path.

Deep-link construction

assemble app deep links (including custom schemes) and preview the full URL instantly.

Usage Advice

When input has no scheme and looks like a domain or host:port, keeping "Auto add https:// when missing scheme" enabled is recommended. To test a specific scheme, enter the full scheme prefix directly.
Query parameter values are URL-encoded/decoded automatically; just enter plain text.
If search is empty and the part after # contains ?, the tool treats it as query parameters in hash.
Relative paths are supported (for example, /api/users?page=2). In this mode, protocol and hostname stay empty.
After editing, copy from "Output URL" with one click to avoid manual concatenation errors.
Need standalone encoding/decoding for a value? Use the companion tool "URL Encoder/Decoder".

Limitations & Compatibility

This tool relies on the browser's built-in URL API; some non-standard URL formats may fail to parse. Field-based editing and reassembly of non-hierarchical schemes like mailto:, data:, and file: are limited.
Automatic encoding follows RFC 3986, which may differ from legacy/non-standard encoding used by some old systems.

Privacy & Security

All processing happens locally in your browser. You can replace, clear, and re-run the current content at any time.
Username/password in URLs are displayed in plain text. Avoid using this tool with sensitive URLs in public environments.
This tool only parses and assembles URLs. It does not send HTTP requests or visit target addresses.

FAQ

5

Continue with these related tools for the next step.