Split a URL into scheme, authority, host, port, path, query, and fragment components.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
URI delimiters separate scheme, userinfo, host, port, path, query, and fragment while percent-encoded bytes remain distinct from display text. Host casing and default ports can be normalized without changing path semantics.
https://api.example.com:8080/v1/users?page=1&limit=10#results
=== URL Components === protocol: https: hostname: api.example.com port: 8080 pathname: /v1/users search: ?page=1&limit=10 hash: #results origin: https://api.example.com:8080 host: api.example.com:8080 username: (none) password: (none) === Query Parameters === page: 1 limit: 10
Redirect handlers, crawlers, and URL security reviews parse components.