URL, HTTP & APIs

URL Parser

Paste a URL and instantly break it into its scheme, authority, hostname, port, path, query, and fragment. Everything runs in your browser — the URL never leaves the page.

Runs in your browser v1.0.0

URL

live

Works with full URLs, protocol-relative URLs (//host/path), and relative paths.

Parsed parts

live

How it works

The URL is split following the generic syntax in RFC 3986: an optional scheme, then an optional //authority, a path, an optional ?query, and an optional #fragment. The authority is further divided into user info, hostname, and port. Values are shown exactly as written — no percent-encoding or host normalization is applied — while the query-parameter list is decoded for readability. If a URL arrives without a scheme, the tool can assume https:// so example.com/path still parses; uncheck that option to see it as a relative reference instead. Nothing is sent to a server, and the current URL can be shared through the page fragment.