Networking & HTTP

URL Parser

Parse URL scheme, host, port, path, query, and fragment.

Runs in your browser
Ready

About URL Parser

URL Parser breaks a URL into scheme, host, port, path, query parameters, and fragment so you can debug routing and callback issues.

Common uses

  • Inspect OAuth redirect URLs.
  • Check whether a port or fragment is included.
  • Review query parameter names before building an API request.

Good to know

URLs can contain encoded values. Decode parameters carefully so reserved characters do not change their intended meaning.

How to inspect a URL

Break the URL into scheme, host, port, path, query, and fragment before debugging routing. Seeing each part separately makes redirect and callback problems easier to explain.

Encoded values

Query parameters and path segments can contain percent-encoded characters. Decode values carefully so reserved separators do not accidentally change the URL structure.

Common mistakes

Fragments are handled by browsers and are not sent to servers in normal HTTP requests. Do not expect backend code to receive values after the hash sign.

Before you rely on the output

  • Compare parsed or generated HTTP details with the API, gateway, browser, or server that will actually process the request.
  • Privacy mode: inputs are processed locally in your browser and are not intentionally sent to an application server.

Related tools

cURL to Code, User-Agent Parser

An unhandled error has occurred. Reload x