Skip to content
hateitall

Query String Builder

Type parameters plainly and get a correctly encoded URL without escaping anything by hand.

Processed locallyIn: Text, URLOut: URL, Text

Loading tool…

How to use query string builder

  1. Enter a base URL, or leave it empty for just the query string.

  2. Add parameters as key and value pairs; repeat a key to send a list.

  3. Choose whether spaces become + (form style) or %20 (RFC 3986).

  4. Copy the full URL or only the query string.

What this tool does

  • Encodes &, =, #, spaces, emoji and every other reserved character correctly.
  • Imports an existing URL or query string so you can edit its parameters.
  • Switches parameters on and off without deleting them.
  • Decodes the result again and confirms it matches what you typed.

How the result is verified

The finished query string is split and decoded again, and the tool shows a tick only when every key and value comes back exactly as entered.

Frequently asked questions

Should spaces be + or %20?

Both decode to a space in query strings on nearly every server. + is what HTML forms send; %20 is the RFC 3986 form and is safer when the same text might end up in a path.

How do I send an array?

Repeat the key: tag=a&tag=b. Some frameworks such as PHP and Rails expect tag[]=a&tag[]=b instead; type the brackets into the key if your server needs them.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Decode every URL parameter and turn the query string into JSON

URL · Text→ JSONLight on device

Break a URL into scheme, host, port, path, query and fragment

URL→ ReportLight on device

Campaign links with utm_source, medium and campaign, checked for GA4

URL · Text→ URLLight on device

Build a correctly quoted curl command from a request form

URL · JSON · Text→ ShellLight on device