URL Parser

NewDeveloper

Paste a URL and instantly see every component: protocol, host, port, pathname, query string, hash, credentials and origin. Follows the WHATWG URL standard, so odd but valid URLs are handled correctly. Perfect for debugging links and understanding how URLs are structured. Runs entirely in your browser.

Paste a full URL above to break it into its parts.

Parsing follows the WHATWG URL standard and runs locally in your browser.

What parts of a URL are shown?

You get protocol, host, hostname, port, path, query string, hash, username, password and origin. Every part is split exactly the way modern browsers parse it, so the results match what your code actually receives.

When is this useful?

Debugging redirects, validating links in configuration files, reading authorization tokens inside query strings or simply learning how URLs are put together. The normalized URL copy button is handy for sharing a clean version of a messy link.

Frequently Asked Questions

All guides

Similar tools

View all tools

Popular tools

View all tools

Want to share what you created? Try linklyhub.com for a short, clean link.