URL Query Builder

Build a URL query from keys and values. Keep repeated keys, append to or replace an existing query, then copy or save the URL as TXT.

How to use

  1. Enter a complete http/https base URL and choose whether to append to or replace its query.
  2. Enter one key/value pair per row and build the URL.
  3. Inspect the generated URL and query, then copy the one you need.

Base URL

Keys and values

UTF-8 limits: base URL 8,000 bytes, each key 200 bytes, each value 2,000 bytes, total input 100,000 bytes, generated URL 16,000 bytes. Up to 100 rows. Inputs and results are neither stored nor sent.

Generated URL

Try a use case and check the result

Build search URLs containing spaces and ampersands, or filters with repeated keys.

Trying an example replaces the input and settings and runs the tool. Restore previous input restores the input and settings from before the latest example.

After trying multiple examples, repeat Restore previous input to return to your original input. History is kept only in this page; restore any input you need before closing it.

Append a search term and repeated tags

Input and settings

https://example.com/search?lang=ja#results
Mode: Append
q = hello world & +
tag = web
tag = tools

Expected result

https://example.com/search?lang=ja&q=hello+world+%26+%2B&tag=web&tag=tools#results

Replace the old search filters

Input and settings

https://example.com/search?old=1#results
Mode: Replace
q = tea & cake

Expected result

https://example.com/search?q=tea+%26+cake#results

How to read the result

Compare the full URL with the query-only output. Spaces become +, an ampersand inside a value becomes %26, and a literal + becomes %2B. Append retains lang=ja; replace removes old=1. Both retain #results.

Scope and limits

Enter unencoded keys and values. Entering an already encoded %26 produces %2526, which is double encoding. Use a complete http/https URL without credentials. Limits are 100 rows and, in UTF-8 bytes, 8,000 for the base URL, 200 per key, 2,000 per value, 100,000 total input and 16,000 output. Check how the destination handles repeated keys.

Verification: the existing build function and browser interactions are checked for append and replace modes, repeated keys, spaces, & and +, and fragment preservation. The URL is not fetched and server-side parsing is not tested.

Continue with the next task

Details and limits

Enter a complete http/https URL and add one key/value pair per row. Repeated keys keep their input order. Rows with an empty key and value are unused. A value without a key is an error; an empty value is written as key=.

Enter unencoded text. Spaces become +, literal + becomes %2B and % becomes %25. Leading/trailing whitespace and line breaks in keys and values are retained.

Append mode retains the spelling of the existing query, including %20. Replace mode removes the old query and uses only your rows. The fragment after # is retained.

Browser URL handling may normalize hostnames, letter case, default ports and paths. This tool never opens the generated URL. Editing clears the result; build again to update it. Reset clears the base URL, rows and result while retaining the selected mode. The example selects append mode.

Frequently asked questions

Can I repeat a key?

Yes. For example, tag=web&tag=tools keeps both values in input order.

Can I enter an already encoded value?

New rows are encoded as literal text. Entering %20 produces %2520. To represent a space, enter an actual space.

What is saved?

Only the generated URL is saved as UTF-8 TXT without a BOM or added newline. The 16,000-byte tool limit is separate from limits imposed by the destination.

Related tools

Inputs and storage

Keep any content you need before clearing. This tool does not autosave inputs or results. Reloading or closing the page, clearing inputs or resetting may discard your work.

Favorites and language preferences are stored separately and may be lost when site data is cleared. Tool resets and site-data deletion do not delete files already downloaded to your device.

Explore tools & games

All 120 tools · 16 games

All 120 tools · 16 games

Text & writing 26

Calculators & converters 22

Date & time 12

Images & PDF 26

Data & web 28

Random & handy 6

Games 16