URL Parser

Break a URL into its parts (protocol, host, path, query params).

Input

 

Sponsored

How it works

How it works

The browser's URL API follows the WHATWG URL Standard. It parses absolute URLs and relative ones with a base.

  • Username/password are parsed but not used for auth here; passwords are masked in this UI.
  • Query parameters are exposed via URLSearchParams and support repeated keys (we show arrays).
  • Internationalized domain names (IDN) are punycoded by the browser.

Note: validation is permissive; malformed inputs may be normalized rather than rejected.

Privacy & Security

No network requests are made.

Accuracy, Limits & Tips

Requires valid absolute URL or base for relative.

Examples

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).