URL Encoder / Decoder
Convert text to URL-safe percent-encoded format, or decode encoded URLs back to readable text. Supports component encoding (encodeURIComponent) and full URL mode. Pro: batch-encode multiple URLs at once.
All processing runs in your browser — nothing is sent to any server.
→%20@→%40&→%26=→%3D#→%23+→%2B/→%2F?→%3FBatch Encode
ProEncode multiple URLs at once — one per line. Available with Pro.
Unlock with Pro →Frequently Asked Questions
What is URL encoding and why is it needed?▼
URL encoding (percent-encoding) converts special characters like spaces, &, =, and / into a format safe for URLs using %XX notation. For example, a space becomes %20. It's needed because URLs can only contain certain ASCII characters — without encoding, special characters break the URL structure.
What is the difference between encodeURI and encodeURIComponent?▼
encodeURI encodes a full URL but preserves characters that have meaning in URLs (like /, ?, #, &). encodeURIComponent encodes everything except letters, digits, and - _ . ~ — use it for encoding query parameter values where you want to escape all special characters.
How do I decode a URL-encoded string?▼
Paste the encoded string (containing %20, %3D, etc.) into the decoder field. The tool converts all percent-encoded sequences back to their original characters. In JavaScript, use decodeURIComponent() for the same operation.
What does %20 mean in a URL?▼
%20 is the URL-encoded form of a space character. Other common encodings: %2F is /, %3D is =, %26 is &, %3F is ?, and %23 is #. The format is always % followed by two hexadecimal digits representing the ASCII code.
Related Products
on GumroadDeveloper Productivity Bundle
Battle-tested automation scripts, CLI tools, and CI/CD workflows. Git cleanup, Docker pruning, log analysis, GitHub Actions CI, pre-commit hooks, and more.
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
How to Format JSON Online: Complete Guide
Learn how to format JSON online in seconds. This complete guide covers JSON formatting, validation, and debugging with practical examples and free browser tools.
JWT Decoder: How to Read Token Payloads
Learn how to decode JWT tokens and read their payloads. A practical guide to JWT structure, claims, expiry checking, and debugging auth issues with a free online decoder.
Base64 Encode Decode Explained: Developer Guide with Real Use Cases
Understand Base64 encoding and decoding with real-world use cases, code examples in JavaScript and Python, and when to use (or avoid) it. Includes online encoder 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 →