Free online tools

URL and Query String Parser

Break a URL into its host, path and fragment, then read its query parameters in order. You can also parse a query string on its own.

Enter your values

Use a full web URL or a query string such as ?tag=red&tag=green.

This tool processes your input in your browser.

Result

Inspect the parts of a web URL

The browser separates the scheme, host, port, path and fragment. A default port is shown separately from an explicit non-default port. If the URL includes user information, the output indicates that it exists without copying it.

Read query pairs in order

The query parser decodes percent escapes and treats plus signs as spaces. A key that appears twice stays in the result twice. Empty values stay visible. The browser uses replacement characters for invalid byte sequences.

Frequently asked questions

Will the tool visit the URL?

The browser parses the text locally. The tool does not make a request to the destination.

Can I paste a query string without the question mark?

Yes. Select Query string only and paste the pairs, with or without an initial question mark.