Parse an absolute URL and display its protocol, host, path, query, and fragment.
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.
The browser URL parser resolves the input into protocol, hostname, port, pathname, query, and fragment components. Only http, https, ftp, and ftps are valid here; other parseable schemes return a warning state.
https://api.example.com/v2/users?active=true&page=1
Valid URL Protocol: https: Host: api.example.com Path: /v2/users Query: ?active=true&page=1
Callback forms, crawlers, and documentation tools inspect URLs.