Like ToolFern? Prefer us as your source on Google →

URL Parser

Break any URL into its protocol, host, port, path, query and hash, then edit the query parameters and get a rebuilt URL, instantly.

Protocol
Hostname
Port
Path
Query string
Hash
Origin

Query parameters

Edit a key or value, or remove a row, once a URL above parses.

KeyValueRemove
-

Resulting URL

Rebuilt from the parts above plus your query parameter edits.

How to use it

  1. Paste or type a full URL into the box, including its protocol, such as https://.
  2. The parts update live as you type, no button to press.
  3. Read off the protocol, host, port, path, query string, hash and origin, each in its own row.
  4. Scan the query parameter table to see every key and value, fully decoded.
  5. Edit a key or value right in the table, remove a row, or press + Add parameter to add one, the Resulting URL box rebuilds as you go.
  6. Press Copy on any row, or on the Resulting URL, to grab that value for an API call, config or bug report.

Parsing runs on the browser's built-in URL object, the same engine the address bar uses, so the results match how a real browser reads the link. If the URL is missing a protocol or is malformed, you get a clear error instead of a wrong answer.

Parts of a URL

A URL looks like one long string, but it is made of distinct pieces. Here is what each row means.

The origin is the protocol, host and port combined, such as https://example.com:8080. It is the identity browsers use for security rules like the same-origin policy and CORS.

When you need it

Anyone working with the web reaches for a URL breakdown constantly: debugging a redirect that lands on the wrong path, reading a tracking link stuffed with UTM parameters, confirming an API endpoint hits the right host and port, or checking that a query string survived encoding. Splitting the URL into labeled parts turns a wall of text into something you can read at a glance. The query parameter editor covers the next step: swap a test value into an API call, strip a tracking parameter out of a link before sharing it, or add a new parameter without hand-typing percent-encoding.

Frequently asked questions

Why does a bare domain fail?

The parser needs an absolute URL. Add a protocol, so example.com becomes https://example.com.

Does it decode the query parameters?

Yes, each key and value in the table is shown decoded, so %20 reads as a space.

Can I edit the query parameters?

Yes, once a URL parses each row is editable. Change a key or value, remove a row, or add a new one, and the Resulting URL box below rebuilds the query string with correct percent-encoding.

Why is the port blank?

A blank port means the protocol's default is used, 443 for HTTPS and 80 for HTTP.

Is it free?

Yes, completely free with no sign-up and no limits.

Why do I get an invalid URL error?

The parser needs an absolute URL with a protocol. A bare value like example.com/path will fail, but https://example.com/path works. Add the protocol and the error clears.

How are query parameters shown?

Each key and value in the query string is listed in a table, fully decoded. Repeated keys appear once per value, so you can see every parameter the URL carries.

What is the difference between path and origin?

The origin is the protocol, host and port together, like https://example.com:8080. The path is everything after the host, such as /blog/post, before the query string and hash.

Related: URL Encode / Decode · UTM Link Builder

Found this useful? Share it