Encode / Decode

URL Parser

Paste a URL and get a structured breakdown of every component — protocol, username, password, host, port, path, query parameters, and fragment. Query params are parsed into a clean key-value structure, with repeated keys grouped into arrays. You can also paste a bare query string (a=1&b=2) and it'll parse just the parameters.

URL Parser — Break a URL into components and query parameters

What it does

  • Breaks a URL into protocol, auth, host, port, path, query, and fragment
  • Parses query parameters into a structured key-value object
  • Groups repeated query params into arrays (tags=a&tags=b becomes tags: [a, b])
  • Handles bare query strings without a full URL
  • Optional value decoding — toggle to see raw vs decoded parameter values
  • Exports to JSON and CSV for use in other tools

Use cases

  • Debugging a URL with complex query parameters from an analytics platform
  • Extracting specific query params from a redirect URL
  • Checking if a URL's auth credentials are being passed correctly
  • Parsing webhook URLs to verify the callback structure

How it works

1

Paste your URL or query string into the input pane

2

The tool parses it into structured fields displayed in the output

3

Toggle value decoding to see raw or decoded parameter values

4

Export to JSON or CSV if you need the data in another tool

Frequently asked questions

1Can it parse URLs without a protocol?

The URL parser requires a valid URL structure. If you paste a bare query string like a=1&b=2, it handles that too by treating it as query parameters without a full URL.

2How does it handle repeated query parameters?

When the same key appears multiple times (e.g., tags=a&tags=b), the parser groups the values into an array: tags: ["a", "b"]. This matches how most server-side frameworks parse query strings.

3What's the difference between decoded and raw values?

Decoded values have percent-encoding resolved (%20 becomes a space). Raw values show the original encoded form. Toggle the option depending on whether you're debugging the encoding or the actual values.

Related tools

Use URL Parser offline in Devinity

All 95 tools run locally on your Mac. No internet required, no data sent to servers.

Download Devinity →