26 chars · 1 line
46 chars · 3 lines
26 chars · 1 line
46 chars · 3 lines
Explicit empty query value
An empty string is still a real primitive value. Build Query therefore appends the key with an empty value instead of omitting the property. This tool is free to use. No account or payment is required.
Last updated
The builder calls append once for an empty string, producing an explicit empty pair.
That differs from an empty array, which has zero items and therefore creates zero pairs.
name stays present while q has a normal value.
{"name":"","q":"vetatool"}name=&q=vetatoolCommon questions
No. It remains in the query with an empty value.
Both serialize to an empty value in this builder, although they are distinct values in the source JSON.
Yes. It returns an empty string value.
Debugging a specific Query String issue? Browse Query String troubleshooting.