URL Compare
Compare two URLs side by side and highlight component-level differences.
$url a
$url b
Related Tools
/URL Parser
Break down a URL into its individual components using the browser URL API.
XURL Cleaner
Strip tracking parameters from URLs to get clean, shareable links.
?Query Params Parser
Parse a query string into a key-value table with decoded values.
+-Text Diff Checker
Compare two texts side by side and highlight differences.
FAQ
- What URL components are compared?
- The tool compares protocol, hostname, port, pathname, search (query string), and hash fragment. Each component is shown as a separate row in the comparison table, with matching values shown normally and differences highlighted.
- Are query parameters compared individually?
- Yes. When both URLs have query parameters, the tool also shows a parameter-by-parameter comparison so you can see exactly which params differ, were added, or were removed.
- Does the comparison work with relative URLs?
- No. Both URLs must be absolute (including the protocol, e.g. https://). Relative paths cannot be parsed by the URL API.
Enter two URLs and this tool parses both using the native URL API, then compares each component: protocol, host, port, pathname, search string, and hash. Differences are highlighted inline, making it easy to spot subtle changes between staging and production URLs, API endpoints, or redirect chains.