URL Parser & Builder
Paste any URL to break it down into protocol, hostname, port, pathname, query parameters (as a table), and hash fragment. Or switch to Build mode to construct a URL from individual parts.
Frequently Asked Questions
What does the URL parser show?▼
The parser breaks a URL into its components: protocol (https:), hostname (domain), port, pathname (/path/to/page), query string (?key=value), query parameters as a table, and hash fragment (#section).
What is a query string?▼
A query string is the part of the URL after the ? character. It contains key=value pairs separated by & that pass data to the server or page. For example: ?page=1&sort=name&limit=20.
What is the URL fragment (#hash)?▼
The fragment (hash) is the part of the URL after #. It identifies a section on the page and is not sent to the server. It's used for navigation within a page and for single-page app routing.
Can I build a URL from parts?▼
Yes — switch to 'Build URL' mode to enter protocol, hostname, port, path, query parameters, and hash separately. The tool assembles them into a valid, encoded URL.
Looking for more free developer tools?
Browse All Free Tools →Related Products
on GumroadDeveloper Productivity Bundle
Stop rebuilding the same setup every project. 51 VSCode snippets, 40 Git aliases, 5 Docker Compose stacks, 5 GitHub Actions workflows, 5 README templates, and a dotfiles kit. Set up a professional dev environment in under an hour.
Buy on Gumroad →AI Prompt Engineering Toolkit
Production-ready prompt templates, chain-of-thought workflows, and API integration code for GPT-4, Claude, Gemini, and any instruction-following LLM.
Buy on Gumroad →Developer Productivity Toolkit
Complete dev environment setup: VS Code settings, keybindings, snippets, shell aliases, Git hooks, tmux config, and Starship prompt. Copy, paste, code faster.
Buy on Gumroad →More Free Tools
Related Articles
URL Encoding 101: encodeURIComponent vs encodeURI vs rawuriencode
The complete guide to URL encoding in JavaScript and Python. Covers when to use encodeURIComponent, encodeURI, and how to handle special characters correctly.
API Testing in 2026: From cURL to Automated Test Suites
Complete guide to API testing: starting with cURL basics, moving to Postman/Insomnia, then automated test suites with JavaScript and Python. Includes real API examples.
Base64 Encoder Decoder: Complete Guide for Developers
Everything developers need to know about Base64 encoding and decoding. How it works, when to use it, common pitfalls, and a free online Base64 encoder decoder tool.
Get weekly developer tips
Tool guides, productivity playbooks & AI tricks. Free. No spam.
Unlock AI-Powered Dev Tools
- ⚡ AI Code Review, Doc Generator & SQL Builder
- ⚡ All premium templates & early access
- ⚡ Member discounts on Gumroad products
$9/mo after trial · Cancel anytime
Want the full toolkit?
Get DevPlaybook Pro
Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.
MIT licensed · Instant download · No subscription
See what's included → Browse all deals →