SO SimonOS
Text & Code Live tool

URL Parser

Break absolute or relative URLs into protocol, host, path, query parameters, and fragments.

Tool Flow

01 Input 02 Process 03 Output

Tool Guide

About the URL Parser

Use the URL Parser to inspect an absolute or relative URL and see its protocol, origin, hostname, port, path, query parameters, and fragment. It is useful when debugging redirects, tracking links, callback URLs, and API endpoints.

Common uses

  • Split copied URLs into readable parts.
  • Inspect query parameters without decoding them by hand.
  • Resolve relative paths against a base URL.
  • Check whether credentials, ports, hashes, or paths are present.

Browser workflow

  1. 01 Paste an absolute URL or relative path.
  2. 02 Adjust the base URL when parsing relative paths.
  3. 03 Review the parsed pieces or copy the JSON summary.