Skip to content

URL Query BuilderNew

Parse a URL into parts and rebuild the query string from a table.

Runs in your browser · free · no sign-up

Query parameters

ParamValue
Built URL

https://api.example.test/search?q=notebooks&page=2&sort=price#reviews

About the URL Query Builder

Query strings become messy once you add pagination, filters and tracking keys. This builder lets you edit parameters as a table, then copies a clean URL, or parse an existing link into those parts.

A URL is a structured object, not just a string to concatenate. Once you have a search term, a page number, a sort key and a hash, doing the joins yourself is how %20 gets encoded twice or an ampersand splits a value. This builder parses a full address into scheme, host, path, hash and a table of query parameters, then rebuilds it with the browser’s own URL API so encoding stays consistent.

Press Parse to load an existing link, or start from the example and edit the table. Each enabled row becomes a parameter; you can have two rows with the same name if you need repeated keys. Disabled rows are ignored, which is handy when you are testing a filter on and off. The rebuilt URL is shown as a single copyable line.

It is a different job from the URL encoder, which percent-encodes or decodes a piece of text. Use both: encode a value if you are documenting the escaped form, or let this builder attach the raw value and encode it as part of the complete address.

How to use the URL Query Builder

  1. 1Paste a URL and press Parse, or start from the example.
  2. 2Edit scheme, host, path, hash and the query table.
  3. 3Copy the rebuilt URL.

Key features

  • Parse scheme, host, path, query and hash.
  • Editable parameter table with enable toggles and repeated keys.
  • Rebuilds with correct percent-encoding.
  • Copy the finished URL in one click.

Practical uses

  • Building a search or pagination link for a test.
  • Taking a long tracking URL apart to see which keys it carries.
  • Checking that a hash fragment survives while you edit the query.

Tips and common mistakes

  • Paste the complete URL including https:// or Parse will fail.
  • Use the URL encoder if you only want to escape a single value, not rebuild a whole address.
  • Repeated keys stay in table order.

Limitations

  • It does not resolve relative URLs against a base, and it does not fetch the address.
  • Internationalised domain names are shown as the browser represents them.

Privacy

Parsing is local. Be careful with URLs that embed tokens or email addresses in the query; they are visible in the table.

Frequently asked questions

How are repeated keys handled?

Each table row is appended, so two rows with the same name create two parameters.

Does this percent-encode values?

Yes. The URL API encodes keys and values when it builds the query string.

How is this different from the URL encoder?

The encoder percent-encodes or decodes text. This builder edits the structure of a full address.

Why did my + become a space?

In query strings, plus is often treated as a space. After parsing, you may want to set the value explicitly.

Can it build mailto or custom schemes?

The form is aimed at http and https APIs. Unusual schemes may be rejected by the URL parser.

Related tools

API TesterNewSend HTTP requests and inspect JSON responses in your browser.
cURL ConverterNewTurn a cURL command into fetch, Axios, Python, PHP, Go or Node.
JSON to TypeScript / Zod / GoNewGenerate TypeScript, Zod or Go types from JSON.
HTTP Status CodesNewLook up what every HTTP status code means.