Phân tích URL

Tách URL thành protocol, host, path, query params và hash.

Công cụ phân tích URL miễn phí

Dán bất kỳ URL nào để tách thành các phần dễ đọc: origin, hostname, port, pathname, query string và fragment. Query parameter hiển thị trong bảng để bạn sao chép.

Hữu ích khi debug redirect, API endpoint, OAuth callback và tracking link - không cần tự tách chuỗi.

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.