$devtoolkit.sh/tools/url-compare

URL Compare

Compare two URLs side by side and highlight component-level differences.

$url a
$url b

Related Tools

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.

/tools/url-comparev1.0.0