A URL with one parameter is hard to get wrong. A URL with several is where links quietly break: a separator goes missing, a value contains a character that was never meant to be structure, or the base address already carried a parameter that gets overwritten. The page at the other end loads, reads a different instruction than the one you meant, and shows the wrong search, the wrong page or the wrong campaign.
Correctly, in this guide, has a precise meaning. It is the three things hand-typing gets wrong, each one mapped to a behavior of the free Query String Builder on Ovatly, which assembles URLs from a simple table of names and values instead of leaving you to type question marks and ampersands by hand.
Contents
- Quick answer
- First failure point: the separators
- Second failure point: the encoding
- Third failure point: the base URL
- The two edge rules
- How to build the URL, step by step
- Worked example: the two-row build, and the cautionary contrast
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
Quick answer
To build a URL with multiple parameters correctly: put the base URL in once, add one row per parameter with a name on the left and its value on the right, and leave encoding on. The Query String Builder then handles the three failure points for you. The separators are generated, never typed, so none can go missing or double up. Encoding turns spaces into + and escapes & and # inside values, so a value cannot split the string. And parameters already on the base URL are kept, with your new rows appended after them.
First failure point: the separators
A query string is held together by three structural characters: the ? that opens it, the = inside each pair, and the & that joins pairs together. Typed by hand across several parameters, each one is a chance to slip: a second ? in the middle, a missing & that fuses two pairs into one long value, a doubled & that leaves an empty gap. Every slip changes what the string says, and none stops the page from loading.
The table removes the whole category of error. You never type a separator. You type a name in one box and a value in the next, and the builder writes the ?, the = and the & itself, in the right places, every time. The structure is correct by construction rather than by care.
Second failure point: the encoding
Values are real-world text, and real-world text contains characters the format uses as structure. A search term has a space in it. A label might contain an &. Left raw, the space cannot travel in a URL, and the & will be read as a new parameter, cutting the value in half.
Encoding is the fix, and the instruction is simple: leave it on. With encoding on, spaces in values become + and characters like & and # are escaped, which is the standard behavior for query strings. The escaped characters arrive as data, and the value the site reads is the value you typed.
The builder offers an off switch, and its purpose is narrow. With encoding off, values go in exactly as typed. That is occasionally what testers want, and usually a mistake in ordinary link building.
Third failure point: the base URL
Real links rarely start from a bare address. The base URL may already have parameters of its own: a tracking code from an earlier campaign, a parameter the page itself requires. Hand-editing such a link invites the quietest failure of the three: retyping the address and dropping what was already there.
The builder's rule is that the base is respected. Enter the base URL with or without parameters it already has; the ones it has are kept, and new rows are appended after them. Your build extends the link instead of replacing it.
The two edge rules
Two rules mark the edges of a correct build. An empty value is legitimate: give the row a name and leave the value blank, and the URL gets name= with nothing after the equals sign. Some parameters are flags or cleared settings, present by name and empty by design.
A value with no name is not legitimate. A row carrying a value but no name is rejected, because it cannot be represented: a pair is a name with a value attached, and the receiving site reads by name, so a nameless value would have nothing to be read as. The builder refuses the row instead of inventing a name.
How to build the URL, step by step
- Open the Query String Builder and enter the base URL, with or without parameters it already has.
- Add one row per parameter: a name on the left, its value on the right.
- Leave encoding on unless you have a specific reason to place values exactly as typed.
- Copy the finished URL from the result box.
Before you paste the result anywhere, read it once against your rows: one pair per row, the base's original parameters still present, and no raw spaces in the string.
Worked example: the two-row build, and the cautionary contrast
Enter the base https://example.com/search and add two rows: q set to red shoes, and page set to 2. With encoding on, the result box gives:
https://example.com/search?q=red+shoes&page=2
Every failure point is visibly handled. The separators were generated: one ?, one = per pair, one & joining them. The encoding did its work: the space in red shoes became +, so the value travels as one piece. Had the base already carried a parameter, it would still be there, ahead of these rows.
Now the contrast. Build the same rows with encoding off and the values go in exactly as typed. The space sits raw in the address, and if the search term itself contained an &, that character would be read as a new parameter by the receiving site: the term would arrive truncated and a stray parameter would appear beside it. Nothing about the page would complain. That silent split is the whole argument for leaving encoding on.
Limitations and honest tradeoffs
The builder guarantees the string's structure, not its meaning. The receiving site decides which parameter names it understands, and a correctly built pair with a name the site does not read will be ignored without any error. Check the names against what the destination expects before you distribute a link widely.
The builder is also deliberately general: it handles any parameters for any purpose, from campaign links and search URLs to API testing and support links. For campaign links alone, the UTM Builder in Marketing Tools is specialized for the five standard campaign parameters with source and medium picklists.
Common mistakes
- Typing a multi-parameter URL by hand. Each separator is a fresh chance to corrupt the structure, and the failure is silent.
- Turning encoding off as a default. Values go in exactly as typed, and an
&inside a value becomes a new parameter at the receiving site. - Rebuilding a link from scratch instead of building on its base. Parameters the base already had get lost.
- Assuming row order changes what a site reads. Parameters are read by name. Order is for readability when comparing links.
- Forcing a value in without a name. It cannot be represented and the row is rejected. Name the data, or leave the row out.
FAQs
What goes wrong when a URL with parameters is typed by hand? The separators and the values are both typed raw. A missing or doubled question mark or ampersand changes the structure, and an unescaped & inside a value is read by the receiving site as the start of a new parameter, silently splitting the value.
Should I leave encoding on when I build a URL? Yes, unless you have a specific reason to place values exactly as typed. With encoding on, spaces become + and characters like & and # are escaped, which is the standard behavior for query strings and what receiving sites expect.
What happens to parameters already on my base URL? They are kept. New rows are appended after the parameters the base URL already has, so building on a link that carries, for example, a tracking code does not strip that code away.
Can a parameter have an empty value? Yes. Give the row a name and leave the value blank, and the URL gets name= with nothing after the equals sign. A row with a value but no name is rejected, because it cannot be represented.
Does the order of my parameters matter? For almost all websites, no; parameters are read by name. The builder keeps your row order anyway, which helps when you compare two links side by side, so keep an order that reads well to you.
Conclusion
Building a URL with multiple parameters correctly is not a talent, it is a setup: a table instead of raw typing, encoding left on, and a base URL whose existing parameters are kept and extended rather than replaced. The Query String Builder is that setup. If the format itself is still fuzzy, the companion explainer on what a query string is and how it works takes the same example apart piece by piece. For more guides in this series, see the URL and Link Tools guides.