Break a URL into its parts (protocol, host, path, query params).
The browser's URL API follows the WHATWG URL Standard. It parses absolute URLs and relative ones with a base.
URLSearchParams and support repeated keys (we show arrays).Note: validation is permissive; malformed inputs may be normalized rather than rejected.
No network requests are made.
Requires valid absolute URL or base for relative.
Looking for broader guides and best practices? Visit the ToolsAreUs Blog for indexes (like the full tool list) and articles (e.g. secure password generation).