Parse a URL and Edit Its Query Parameters
Paste an address to see its protocol, host, port, path and query parameters. Add, remove or edit parameters, then copy or download the rebuilt URL.
Use this tool in your browser without installing software.
About this tool
A URL is built from parts: protocol, host and port, path, query parameters and fragment. This page separates them so you can see what each one does. The part you usually edit is the query: everything after ? separated by &, where each piece is a key and a value. Add a parameter, remove one, or change a value, and the new address is built as you type. A flag such as ?flag and an empty value such as ?flag= are different, and both are kept. Values are decoded for editing and encoded again on the way out, so Persian text and spaces become safe characters in the final address. Only http and https addresses are accepted. Nothing is sent to a server or stored.
How to use it
- 1
Paste a full address. If you left out https, it is assumed and the page says so.
- 2
Read the parts and edit the query parameters. “Add parameter” creates a new row; the “No value” box is for flags such as ?flag.
- 3
Copy the rebuilt address or download it as url.txt.
Frequently asked questions
What is a query string?
It is the part of an address after ?, split by & into key=value pieces. Search terms, filters, pagination and file versions usually live there, for example ?q=book&page=2.
Why did my Persian text turn into %D8%B3...?
Addresses only allow a limited set of characters. Persian letters, spaces and symbols such as & have to be encoded so the browser and server do not read them the wrong way. This page decodes a value for editing and encodes it again in the output; the value is encoded for use in a query string.
What is the difference between ?flag and ?flag=?
The first is a parameter with no value at all; the second has an empty string as its value. Some servers treat them the same and some do not. This page keeps them separate; tick “No value” to build the first form.
Why did the host turn into xn--...?
International domain names are written in Punycode in the final address so every browser and server can read them. That conversion is standard and points at the same site; your browser does the same when it opens the address.
Is my address sent or stored anywhere?
No. Parsing and rebuilding happen in your browser, and no request is sent to a server. Just remember the parameters are part of the address and anyone who sees the link can see them, so keep passwords and personal details out of the query.