Relative URL Resolver
Resolve relative links against a base HTTP or HTTPS URL and inspect the resulting origin and cross-origin status.
Start with your input
Edit the example or replace it with your own text.
Choose your options
These settings are optional. Keep the defaults to get started.
How to use Relative URL Resolver
- Paste the example or your own input.
- Choose the options that match your task.
- Run the tool, review the result, then copy or download it.
When to use Relative URL Resolver
Relative paths can behave unexpectedly when a page moves between directories or gains a trailing slash. Enter the page URL as the base and paste one reference per line. The resolver applies the browser URL algorithm to parent paths, query-only references, fragments and protocol-relative links. It reports the absolute URL and whether its origin differs from the base.
How to interpret the result
Both the base and resolved destinations must use HTTP or HTTPS, and embedded usernames or passwords are rejected. No request is made, so a successful resolution does not mean that the destination exists or is safe. The result follows URL syntax rather than filesystem path rules, including percent-encoding and dot-segment normalization. Supply the effective document base when an HTML base element changes how links are interpreted.
Example input
../images/logo.svg ?lang=uk #overview //cdn.example.com/app.js
What should I check before using the output?
Both the base and resolved destinations must use HTTP or HTTPS, and embedded usernames or passwords are rejected.
Is input uploaded?
Processing takes place in your browser. This tool does not send your input or selected files to a conversion API.