Break a URL into its components or assemble a URL from parts.
A URL (Uniform Resource Locator) is composed of several parts: the protocol (scheme), host, optional port, path, query string, and fragment. This tool uses the browser's built-in URL API to parse URLs accurately, then decodes each query parameter individually.
Protocol — The scheme: https, http, ftp, mailto, etc.
Host — The domain name or IP address. Does not include the port.
Port — The TCP port number. Empty when using the default for the protocol (80 for HTTP, 443 for HTTPS).
Pathname — The path component starting with /.
Query string — Everything after ?, split into key-value pairs. Values are URL-decoded.
Hash / Fragment — Everything after #. Not sent to the server; used by the browser for in-page navigation.
https://). Relative URLs like /path?q=1 cannot be parsed without a known base URL.?tag=a&tag=b), each occurrence is shown as a separate row in the parameters table.encodeURIComponent before being appended to the URL, so special characters are properly escaped.