# Query String Builder

URL: https://phishdestroy.io/developer-tools/query-string-builder
Category: General dev
Where it runs: Runs locally (nothing you enter is uploaded)

Add, edit or remove key/value rows and build a full URL with each key and value percent-encoded. Handy for rebuilding a suspicious link with a dummy value in place of the victim's email before you test it in a sandbox.

## Example input

Base URL with the default rows

```
https://example.com/search
```

Builds https://example.com/search?page=1&limit=20 from the two default rows (page=1, limit=20); edit or add rows and press Build URL again.

## FAQ

### How are the parameters encoded?

Each key and value goes through JavaScript's encodeURIComponent, so a space becomes %20, & becomes %26 and é becomes %C3%A9. Rows with an empty key are skipped, and an empty value gives key=.

### Can I start from a URL that already has a query string?

No. Enter the base URL without ? or #: the tool appends ? and the parameters to whatever is in the box, so an existing query string ends up with a second ? and parameters after a #fragment land inside the fragment. The base URL itself is used exactly as typed.

### Does the tool open or fetch the URL?

No. It only assembles text in your browser; the URL is never requested and nothing you type is uploaded.

## Related tools

- [URL Parser](https://phishdestroy.io/developer-tools/url-parser)
- [URL Encoder / Decoder](https://phishdestroy.io/developer-tools/url-encoder-decoder)
- [Link Unwrapper](https://phishdestroy.io/developer-tools/link-unwrapper)
- [HTTP Request Builder](https://phishdestroy.io/developer-tools/http-request-builder)
- [Canonical Tag Builder](https://phishdestroy.io/developer-tools/canonical-tag-builder)

All tools: https://phishdestroy.io/developer-tools
