Polysh for agents is in early access. Your coding agent records the demo, and Polysh finishes it. Join the waitlist →

Query Parameter Builder

Get a URL with your query parameters added and correctly encoded.

Loading your browser tool…

What Query Parameter Builder does

Adding ?lang=de&ref=docs by hand goes wrong in small ways: a second ?, a space left unencoded, or an & inside a value that splits it in two. Paste the base URL, write one parameter per line, and the builder joins them onto the URL with the right separators and encoding.

When a name already exists, the new value replaces it by default; choose Add another under More options for repeated keys like tag=a&tag=b. Nested redirect URLs, such as a next= or return_to= value, are encoded in full so their own ? and & stay inside the value.

Example

You enter

Base URL: https://example.com/search?sort=new#top
Parameters:
q=screen recorder
sort=popular

Result

https://example.com/search?sort=popular&q=screen%20recorder#top

sort=new was replaced by sort=popular in the same position, and q was added after it. The space became %20 and #top stays at the end.

How to use Query Parameter Builder

  1. Enter the Base URL, or click Use example.
  2. Write one name=value per line under Parameters; More options sets what happens If a name already exists, and whether Values are already URL-encoded.
  3. Click Copy.

Good to know

  • A replaced parameter keeps its old position. If the name appeared more than once, the repeats are removed and only the first spot is kept.
  • A line with no = becomes a parameter with no value, such as ?debug. Write debug= if the server needs an explicit empty value.
  • Only http and https addresses are accepted, so app links like myapp://open are rejected.
  • For analytics tags, the UTM Builder fills in the standard names and normalizes the values.

Questions about Query Parameter Builder

How do I add parameters to a URL?

Put a ? after the path, then name=value pairs joined by &, like /search?q=video&page=2. If the URL already has a ?, add more pairs with &. The builder picks the right separator and encodes each value.

How do I pass a URL as a query parameter?

Percent-encode the whole inner URL so its :, /, ? and & don't break the outer one. Write it as a normal line here, such as next=https://example.com/a?b=1, and the builder encodes it and tells you it did.

Can a URL have the same parameter twice?

Yes. Many servers read tag=a&tag=b as a list. Choose Add another under If a name already exists to keep both; the default, Replace it, keeps only your new value.

Is there a maximum URL length?

The standard sets no fixed limit, but browsers, servers and proxies impose practical ones. Keep links under about 2,000 characters to be safe; beyond that some systems truncate them or return errors.