URL Parser & Query String Builder
Break URLs into protocol, host, port, path, and hash, and parse, edit, sort, or export query strings as JSON.
Related developer tools
All Developer toolsBase64 Encoder & Decoder
Encode or decode UTF-8 text and convert local files into Base64 data URLs.
URL Encoder & Decoder
Percent-encode or decode URLs and inspect or edit query string parameters.
UUID Generator
Generate cryptographically random UUID v4 or time-ordered UUID v7 identifiers.
Regex Tester
Test regular expressions with live match highlights, capture groups, and replacements.
About URL Parser & Query String Builder
Break full URLs into protocol, hostname, port, path segments, query parameters, and hash—or edit standalone query strings interactively, sort keys alphabetically, and export parsed parameters as JSON.
How to use URL Parser & Query String Builder
- 1
Paste either a complete https:// URL or a raw query string such as ?page=2&tag=ui.
- 2
Inspect the parsed URL components and add, edit, reorder, or delete query parameters in real time.
- 3
Copy the rebuilt URL, the standalone ?query string, or the parsed JSON object.
Frequently asked questions
How are duplicate query parameter keys handled in JSON export?
When a parameter appears multiple times (such as tag=a&tag=b), the JSON export automatically groups its values into an array.
Does this tool automatically percent-encode special characters in query values?
Yes. Rebuilding the URL uses the browser’s native URLSearchParams API so spaces, ampersands, and Unicode characters are encoded safely.
Can I parse a query string without typing https:// first?
Yes. Paste a standalone string starting with ? or key=value pairs and the tool switches to standalone query string mode automatically.
