Break a URL into protocol, host, path, query params and hash
URL Parser is a secure developer utility built to break a url into protocol, host, path, query params and hash. Developers frequently handle sensitive tokens, JSON configs, and code blocks; this tool processes all text manipulations entirely offline, preventing leaks.
Paste the URL and the tool lists its protocol, username, password, hostname, port, origin, path, query string and hash, plus a table of query parameters. For example, https://example.com:8080/a/b?x=1#top has host example.com, port 8080, path /a/b, query ?x=1 and hash #top.
The hostname is only the domain name, like example.com. The host includes the port when one is given, like example.com:8080. This tool shows the hostname and the port as separate lines, along with the origin, which combines protocol, hostname and port.
Everything after the question mark and before any hash is the query string, made of name=value pairs separated by &. The parser lists each pair on its own row. A repeated key, like tag=a&tag=b, appears as two entries, and values are shown decoded.
The tool assumes https:// in front, so example.com/page?x=1 is parsed as https://example.com/page?x=1. If the text starts with another scheme such as ftp: or mailto:, it is used as is. Text that cannot form a valid URL shows an invalid message.
A port is shown only when the URL states one that differs from the default for its protocol. HTTPS uses 443 and HTTP uses 80 by default, so https://example.com:443/ shows an empty port. Default ports are dropped by the standard URL parser.
Avoid it. Credentials in a URL such as https://user:pass@example.com can leak through browser history, server logs and referrer headers, and many browsers now warn about or block them. Send credentials in headers or a login form instead.
No. Toolskyt operates under a zero-server policy. All calculations, data formatting, and file exports are executed locally on your machine.
No, this tool is 100% free. There are no limits, sign-ups, subscriptions, or hidden charges required.
Yes, absolutely. The tool executes 100% inside your local browser memory space. No inputs are sent to any servers.