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
58 structured prompt templates for Claude, ChatGPT, and Gemini — organized by use case. Code Review, Debugging, Documentation, Architecture, and 10 model-specific tips. Stop writing prompts from scratch.
Buy on Gumroad →Developer Cheat Sheet Bundle
10 print-ready cheat sheets for the tools developers use every day: Git, Docker, Linux CLI, SQL, Regex, HTTP Status codes, VS Code shortcuts, Bash scripting, jq/JSON, and Markdown.
Buy on Gumroad →You Might Also Need
API Request Builder
Build and test HTTP requests visually with any method, headers, and body. Generate cURL commands instantly. Free online API testing tool with Pro unlimited access. No signup required.
Open free tool →
URL Encoder / Decoder
Free URL encoder and decoder. Convert special characters to percent-encoded format (%20, %3D, %2F) or decode URL-escaped strings. Supports encodeURIComponent and full-URL mode. Batch encode multiple U
Open free tool →
OpenAPI Validator
Paste your OpenAPI 3.x spec (YAML or JSON) to validate structure, find missing required fields, detect duplicate paths, check for missing operationIds, and get errors and warnings with path references.
Open free tool →
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.
URL Encoding vs URL Decoding: When and How to Use It
Learn the difference between URL encoding and URL decoding, why they exist, what percent-encoding means, and how to encode or decode URLs instantly online.
curl 深度使用手冊:API 測試從入門到進階
curl 是每位開發者必備的 CLI 工具。本文涵蓋 GET/POST/PUT/DELETE 請求、認證、header 設定、檔案上傳、除錯技巧,以及 REST API 測試的完整實戰範例。
Base64 Encode/Decode Explained: When and How to Use It
Understand when to use Base64 encoding and when to avoid it. This guide explains the Base64 algorithm, practical use cases, code examples in JavaScript, Python, Go, and more.
API Testing in 2026: From cURL to Automated Test Suites
Complete API testing guide 2026: cURL basics to Postman, Insomnia, and automated suites with JavaScript and Python. Real examples included.
Enjoying this tool? Get more like it.
Weekly developer 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 →