URL Parser
URL Parser parses a single URL or relative path locally into protocol, credentials, host, port, path, hash, and query parameter rows, lets you edit them, and previews the rebuilt URL.
Input URL
Auto add https:// when missing scheme
Characters
0 / 500,000
Details
Protocol
Hostname
Port
Username / Password
Username
Password
Pathname
Hash
Query parameters
0
No parameters
Output URL
Quick Start
Common Scenarios
API debugging
break down endpoint URLs, inspect or adjust query parameters, and quickly pinpoint parameter issues.
Link analysis
unpack complex marketing or tracking URL text to inspect UTM parameters, referrer values, and target paths.
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 URL text and confirm the target host, port, path, and parameters without following the redirect.
Deep-link inspection
paste custom-scheme links to preview rebuilt text, with limited field editing for non-hierarchical schemes.
Usage Advice
Parsing & Rebuild Boundaries
Limitations & Compatibility
Privacy & Security
FAQ
A URL (Uniform Resource Locator) is an internet "address" used to locate resources on the web. A complete URL usually includes: • Scheme (protocol): for example https:, ftp:, mailto: • Auth info: user:pass@ (optional), often used in FTP/intranet scenarios • Hostname: domain name or IP address • Port: optional; HTTPS defaults to 443, HTTP defaults to 80 • Path (pathname): points to a specific resource • Query string: key-value pairs after ?, separated by & • Fragment (hash): anchor after #, used client-side only and not sent to the server For example, https://user:pass@example.com:8080/path?key=value#section contains all of the above parts. This tool mainly targets hierarchical URLs and relative paths; editing and reassembling non-hierarchical schemes like mailto:, data:, and file: are limited.
With auto-add enabled, the tool prepends https:// when a scheme is missing; when disabled, it uses http://. Relative paths such as /api/data?id=1 are parsed in relative-path mode, so protocol and hostname stay empty.
Make sure each parameter key is not empty, because rows with empty keys are ignored in output. Enter Chinese, spaces, or symbols directly in the query table; rebuilt key/value rows are percent-encoded automatically.
No. It only parses and rebuilds URL text locally. It does not send network requests, follow redirects, check HTTP status, run DNS/TLS checks, or confirm the final destination.
+ means space only in application/x-www-form-urlencoded contexts. This parser keeps literal + as + and writes spaces as %20 in rebuilt query values, so inspect form payloads before treating + as a space.
In standard URLs, query parameters after ? are sent to the server, while content after # is client-side only. This tool prioritizes the query before #; if that query is empty and # contains ?, it parses those as hash query parameters.