URL, HTTP & APIs
Relative URL Resolver
Turn relative URLs into absolute ones against a base URL. Paste one relative URL per
line — paths, .., query strings, fragments or protocol-relative
URLs — and copy the resolved results. Everything runs in your browser.
Input
live
Include the scheme, for example https://example.com/docs/page.html.
Blank lines are ignored. Try ../api, /assets/site.css,
?page=2, #top or //cdn.example.com/lib.js.
Resolved URLs
0 resultsHow it works
Each relative URL is resolved against the base with the browser’s own
URL API, following the same rules a browser uses when it follows a
link (RFC 3986 / WHATWG URL). A path is joined to the base directory,
.. walks up, a leading / resets to the host root, and
?query or #fragment replaces that part of the base. An
absolute or protocol-relative URL keeps its own scheme and host. Invalid input is
reported line by line instead of failing the whole list, so one typo never hides the
rest. Nothing is sent to a server — the base and the list can be shared through
the URL fragment.