encoding

URL Parser / Query Builder

Parse URL parts, edit query parameters, and rebuild encoded URLs locally in your browser.

Protocolhttps
Hostapi.example.com:8443
Port8443
Pathname/v1/search
Queryq=hello%20world&tag=dev&tag=tools&empty=&redirect=https%3A%2F%2Fdevcove.dev%2Fen%2Ftools%2Furl-encoder%2F
Hashresults
Rebuilt URLhttps://api.example.com:8443/v1/search?q=hello+world&tag=dev&tag=tools&empty=&redirect=https%3A%2F%2Fdevcove.dev%2Fen%2Ftools%2Furl-encoder%2F#results
Rebuilt query stringq=hello+world&tag=dev&tag=tools&empty=&redirect=https%3A%2F%2Fdevcove.dev%2Fen%2Ftools%2Furl-encoder%2F

Query parameters

KeyValueFlagsActions
-
Repeated
Repeated
Empty
-

URL Parser Course

Learn how URLs are structured, parsed, normalized, and debugged across browsers, APIs, OAuth flows, and logs.

Course home

About this tool

DevCove URL Parser / Query Builder breaks a full or relative URL into protocol, host, port, path, query, hash, and decoded query rows. Edit repeated parameters, empty values, redirect URLs, and tracking tags, then rebuild a correctly encoded URL without sending the input to a server.

How to use this tool

Use this parser when you need to inspect a copied URL, edit query parameters, or rebuild a safe encoded link.

  1. Paste a full URL, a relative path, or a raw query string into the URL input.
  2. Click Parse URL to split it into protocol, host, path, query, hash, and decoded query rows.
  3. Edit keys and values in the query table. Repeated parameters and empty values are flagged.
  4. Use Add param or Remove to change the query shape, then review the rebuilt URL and query string.
  5. Use Sort params when you want stable ordering before comparing links or committing examples.
  6. Copy the rebuilt URL, copy only the query string, or export the parameters as JSON.

Features

Designed for OAuth callbacks, API debugging, analytics links, redirects, and documentation examples:

  • Parses absolute URLs, relative paths, and raw query strings.
  • Shows protocol, host, port, pathname, query, and hash separately.
  • Decodes query parameters into editable rows while rebuilding encoded output.
  • Preserves repeated keys as separate rows and marks them clearly.
  • Flags empty values so accidental key-only parameters are easy to spot.
  • Sorts parameters for stable diffs and reproducible docs.
  • Copies full URL, query string, or JSON parameter rows.
  • Runs locally in the browser, useful for URLs that contain tokens, redirect targets, or internal paths.

FAQ

Can this parse relative URLs?

Yes. You can paste /docs/search?q=json or ?q=json. The tool keeps the output relative instead of adding a fake public host.

Does editing values encode them again?

Yes. Query rows are shown decoded for readability, and the rebuilt URL uses URLSearchParams encoding so spaces, slashes, and nested URLs are safe in the query string.

What happens to repeated query parameters?

Repeated keys are preserved as separate rows and marked with a Repeated flag. This matters for filters such as tag=dev&tag=tools.

Is this different from the URL Encoder?

Yes. URL Encoder focuses on percent-encoding and decoding values. URL Parser focuses on inspecting a whole URL structure and editing query parameters.

Is my URL uploaded?

No. Parsing, editing, sorting, and rebuilding run locally in your browser.