- What parts does it extract?
- Scheme, host, port, path, query, fragment. Plus subdomain vs domain vs TLD separation when possible.
- Does it handle punycode?
- Yes — international domain names (例え.jp) are shown in both Unicode and punycode forms. Browsers and DNS use punycode internally.
- What about authentication in URLs?
- user:password@host notation is parsed. The tool warns that this is deprecated for security — use proper HTTP auth instead.
- Is it safer than JS's URL?
- Uses the same WHATWG URL parser (via the native URL constructor). Behavior matches modern browsers exactly.