Query String Builder

Add parameter names and values in a table and get a properly encoded query string and full URL. Spaces, ampersands, ₹ signs, Hindi words and other special characters are encoded so the link works everywhere, and nothing is double-encoded. Paste an existing link to load its parameters, change them, and copy the new link.

Tool

Paste a link to read its parameters into the table below; edit the table to build a new one.

Off: spaces become %20, which works everywhere.

Query string
?q=red%20silk%20saree&city=New%20Delhi&price_max=%E2%82%B95%2C000
Full URL
https://api.example.com/v1/search?q=red%20silk%20saree&city=New%20Delhi&price_max=%E2%82%B95%2C000

Everything runs in your browser. What you type never leaves this device.

Features

  • Name and value rows; add, edit and remove

  • Safe percent-encoding of every name and value

  • %20 or + for spaces

  • Option to skip empty values

  • Loads parameters from a pasted URL

  • Builds the full URL with your base address

When to build a query string

API requests

Put search terms and filters into a GET request without breaking it on a space or &.

Prefilled links

Make links that open a form, search or WhatsApp chat with values already filled in.

Testing pages

Try different values of a page parameter without editing the encoded URL by hand.

Encoding rules

What gets encoded

  • Letters, digits and - _ . ~ stay as they are.
  • A space becomes %20, or + in HTML form style.
  • & = ? # and / inside a value are encoded so they are not read as separators.
  • ₹ and non-English text become their UTF-8 bytes: ₹ is %E2%82%B9.

Related tools

Read a long query with the query string parser, or encode a single value with the URL encoder.

Query String Builder - FAQ