Query String Parser

Paste a URL to break it into its components: scheme, host, port, path, query parameters, and fragment.


Frequently Asked Questions

What is a query string?

A query string is the part of a URL after the ? character, containing key-value pairs separated by &. Example: ?name=John&age=30. It is commonly used to pass parameters to web pages and APIs.

What components are parsed?

This tool extracts: protocol (http/https), hostname, port, pathname, query parameters (as individual key-value pairs), and hash/fragment. It uses the browser's URL API for accurate parsing.

Does it handle encoding?

Yes. The parser automatically decodes percent-encoded values in query parameters. For example, %20 becomes a space, and %26 becomes &.