URL Parser & Query String Splitter

Break any URL into protocol, host, port, path, query parameters and fragment.

Runs instantly in your browser — results update as you type.

What are the parts of a URL?

A URL is made of a scheme (https), optional user info, a host (shop.example.com), an optional port (:8443), a path (/en/shoes/), an optional query string (?size=42&color=red) and an optional fragment (#reviews). A URL parser splits the address into these components.

How to use the URL Parser & Query String Splitter

    Frequently asked questions

    What is the query string in a URL?

    The query string is everything after the question mark and before any # fragment. It contains key=value parameters separated by ampersands, such as ?size=42&color=red.

    Is the #fragment sent to the server?

    No. The fragment stays in the browser. It is used to jump to a section or by JavaScript apps, so servers and analytics logs never see it.

    What is the default port for HTTPS?

    Port 443. HTTP uses port 80. A URL only shows the port when it is not the default.

    Why does a URL contain an @ sign?

    Text before an @ in the host part is user information. Attackers use it to make a link look like it goes to a trusted site; the real host is what comes after the @.

    Does the parser support international domains?

    Yes. Internationalised domains are shown in their Punycode (xn--) form, which is how browsers send them.