URL and query string parser

Split a URL into its parts and edit the query string as a table.

Runs in your browser. Your input is not uploaded.

What it does

A URL has a scheme, host, optional port, path, query string and fragment. The query string is a list of key=value pairs separated by &, each percent-encoded.

This tool parses with the browser’s URL and URLSearchParams, the same rules fetch uses, and lets you edit parameters and rebuild the URL.

How to use it

  1. Paste a full URL or just a query string.
  2. Read the parts and the decoded parameters.
  3. Edit, add or remove parameters and copy the rebuilt URL or the JSON.

Things to watch for

  • Repeated keys such as tag=a&tag=b are kept as separate rows. Different frameworks combine them differently.
  • In query strings + means a space. To send a literal plus, it must be %2B.

Questions

How do I get the query parameters as JSON?
Paste the URL and copy the JSON view. Repeated keys become arrays.
What is the fragment?
The part after #. Browsers do not send it to the server.
Why is my URL invalid?
It needs a scheme such as https://. A bare query string starting with ? or containing = is also accepted.
Does it remove tracking parameters?
Delete the utm_ rows and copy the rebuilt URL.