URL Query String Builder

Build and edit URL query strings with a parameter table, %20 or + encoding, sorting and skipping empty values. Free, in your browser.

KeyValue

About URL Query String Builder

The URL Query String Builder creates links with parameters from a simple table, so you never have to count ampersands and equals signs again. Paste an existing link to edit it.

Encoding done for you

Special characters such as &, /, = and accents are encoded correctly.

%20 or +

%20 is the standard for URLs; + is the form style some servers expect.

Tidy options

Skip empty values and sort parameters alphabetically.

Only the query changes

The host, path and #anchor are kept as typed.

Good for

Marketing links, API testing and redirect URLs. For campaign tags, use the UTM Link Builder.

Private

Everything runs in your browser. Nothing you paste is uploaded.

Parts of a query string

It starts after the ?, and each parameter is a name=value pair joined by &. Anything after # is a fragment and is not sent to the server.

How to use URL Query String Builder

  1. Enter the base URL.
  2. Add or edit parameters in the table.
  3. Choose the encoding and options such as Sort or Skip empty values.
  4. Copy the finished URL.

Help & FAQ

What does the URL Query String Builder do?

It builds a URL with a query string from a base URL and a table of key and value rows, encoding special characters.

Does it read parameters already in our URL?

Yes. Parameters in the base URL are loaded into the rows, and you can press Reload parameters from URL after editing it.

What is the difference between %20 and + for spaces?

%20 is the standard URL encoding. + is what HTML forms use in the query. Many form-style parsers read both as a space, but others treat + literally.

Are repeated keys kept?

Yes. In the test two rows with the key a were both kept in the link.

What does Skip empty values do?

It leaves out parameters whose value is empty, such as empty= in the test.

What does Sort parameters A-Z do?

It orders the parameters by key. Rows with the same key keep their relative order.

Are special characters encoded?

Yes. In the test an ampersand, slash, euro sign and equals sign in a value became %26, %2F, %E2%82%AC and %3D.

Is the #anchor kept?

Yes. The fragment stays at the end of the link after the query string.

Can we add more rows?

Yes. Press Add parameter for a new row, or the x button to remove one.

Can we clear everything?

Yes. Clear all removes the rows, and Clear resets the tool.

Does it check that the URL works?

No. It only builds the text. It does not open or test the link.

Is our URL uploaded?

No. The link is built in your browser.

More in Developer Tools

See all 39 in Developer Tools