Checking support...
Feature Not SupportedThis browser does not support the URL API Web API feature. Try testing in a modern browser (such as Chrome, Edge, Safari, or Firefox).
Advertisement
Interactive Input Workspace
Ready for input
Web API Execution Output
Result output will be displayed here after processing...
Native JavaScript Code Example (Zero Libraries)
const u = new URL('https://free-browser-tools.mohitkrgupta.dev/tools/webapi-utils?search=fetch');
console.log(u.hostname, u.searchParams.get('search'));About the URL API Web API
URL API is used to parse, construct, normalize, and encode URLs.
Specification:W3C & WHATWG Web API Standard
Sponsored Content