URL Parser

Break URLs into protocol, host, path, query params, and hash.

Free Online URL Parser

Paste any URL to break it into readable parts: origin, hostname, port, pathname, query string, and fragment. Query parameters appear in a table you can copy from.

Handy for debugging redirects, API endpoints, OAuth callbacks, and tracking links - no manual splitting required.

Frequently Asked Questions

What URL parts are shown?
Dokall breaks a URL into protocol (https), hostname (example.com), port, pathname (/path/to/page), query string (?key=value), and fragment (#section). Query parameters appear in a separate table.
How do I read query parameters?
The query string section lists each key-value pair from the ? portion of the URL. For example, ?search=hello&page=2 shows search=hello and page=2 as separate rows you can copy.
What is the fragment (#) part?
The fragment (hash) identifies a section within the page. It is not sent to the server - the browser handles it client-side. https://example.com/docs#installation sends a request for /docs; the browser scrolls to #installation after loading.
Can I parse malformed URLs?
The parser uses the browser URL API. URLs missing a protocol may fail - try adding https://. Unusual formats like mailto: and ftp: are supported if they follow standard URL syntax.
Is the URL sent to a server?
No. Parsing runs entirely in your browser using the URL constructor. The URL is never transmitted to Dokall.