Join base URL and relative segments with trailing slash preservation
Input
https://api.example.com/v1/
/users/
123/profile/Example output
https://api.example.com/v1/users/123/profile/Safely combine base URLs and path segments locally in your browser. Deduplicate double slashes without breaking protocols, resolve relative directory navigation (`../` and `./`), preserve search parameters and hash fragments, and normalize API endpoints.
| URL Standards | RFC 3986 (Uniform Resource Identifier: Generic Syntax), WHATWG URL Standard |
|---|---|
| Relative Paths | Dot segment removal algorithm (RFC 3986 § 5.2.4) |
| Maximum Input | 25 KB |
| Execution Deadline | 2 s |
Input
https://api.example.com/v1/
/users/
123/profile/Example output
https://api.example.com/v1/users/123/profile/Naive slash deduplication often breaks `https://` into `https:/`. The normalizer carefully protects URI schemes (`http://`, `https://`, `file:///`) while collapsing multiple path slashes.
Relative dot resolution (`../`) evaluates only within path segments, safely retaining subsequent query parameters (`?key=value`) and fragments (`#anchor`) at the end of the URL.
When all path segments resolve back to root or are empty, the normalizer guarantees a single root slash `/` when joined to a domain origin.
URL Parser & Inspector
Decompose, inspect, and analyze URLs into protocol, host, port, path segments, query parameters, and hash fragments.
Query String Parser & Builder
Parse URL query strings into formatted JSON objects, or serialize structured JSON objects back into configurable query strings.
URL Encoder / Decoder
Encode and decode URL components, query parameters, and special characters using RFC 3986 percent-encoding or form-urlencoded format.
XML Sitemap Builder & Validator
Generate, validate, and format standard sitemaps.org XML sitemaps with priorities, change frequencies, and URL audits.
String concatenation often leads to duplicate slashes (e.g. https://api.com//users), missing slashes, or broken query parameters. Safe joining handles slashes regardless of whether base URLs have them.
Yes. Query parameters and hash fragments attached to any segment are cleanly preserved and combined at the end of the synthesized URL.
No. All joining, parsing, and normalization occur 100% locally in your browser's Web Worker with zero network calls.