Rules for assembling a query string
A URL with parameters is a base address, a question mark, then key-value pairs joined by equals and separated by ampersands. Only the first parameter takes the question mark and the rest take ampersands, which is the easiest thing to get wrong. Values must be percent-encoded: a space becomes %20 (or plus in form contexts), Chinese encodes byte by byte in UTF-8, and &, = and # must be escaped or they read as separators. The spec says order is irrelevant, but real systems often depend on it.
Steps
- Enter the base URL without a question mark or parameters.
- Add parameter rows, one key and value each; duplicate keys may span rows.
- Click Build for the encoded URL, with an encoding table showing which character became what.
- Download saves text for handoff, Example shows a standard set, Clear resets.
Duplicate keys and arrays
A repeated key has two common forms: repeated keys as tag=a&tag=b, or indexed as tag[0]=a&tag[1]=b, sometimes tag[]=a. Which works depends on the framework, with many PHP and Java stacks preferring brackets while lightweight APIs take repeats. The wrong form shows up as only the last value arriving or a type error. When unsure, send both shapes once and check the returned array length.
Why signatures hate reordering
Signed endpoints typically require concatenating parameters in a defined order — most often by lexicographic key — and hashing with a secret. Reordering parameters in a builder breaks the signature and returns a signature error. The correct flow is sort, concatenate, sign as documented, then append to the URL. The tool handles encoding and joining, but the sort rule comes from the docs. Also confirm whether the signature covers pre-encoding or post-encoding values, since platforms differ.
Common misuses
Encoding an entire parameterised URL escapes colon and slashes and breaks the link. Joining parameters onto a base that already ends with a question mark yields two, and the server parses an empty key. A plus inside a value decodes to a space under form rules, so search terms lose it unless encoded as %2B. Chinese read as GBK on legacy systems garbles, so confirm the expected charset before picking a byte sequence.