URL Encoder & Decoder Online Free — Percent Encode Instantly
Percent-encode URLs or decode %20-style encoded strings.
What is URL Encoder / Decoder?
Encodes special characters in URLs to their percent-encoded equivalents (e.g. space → %20, & → %26) or decodes percent-encoded strings back to readable text. Essential for working with query parameters and API URLs.
Common Use Cases
Encoding query string parameters, decoding URLs from analytics tools, fixing broken API request URLs, debugging HTTP requests, and working with OAuth redirect URLs.
How It Works
Uses encodeURIComponent() for encoding (encodes all special characters except letters, digits, and - _ . ! ~ * ' ( )) and decodeURIComponent() for decoding.
Frequently Asked Questions
What is URL encoding?
URL encoding (percent encoding) converts characters that are not allowed in URLs into a % followed by two hex digits — e.g. space becomes %20.
What is the difference between encodeURI and encodeURIComponent?
encodeURIComponent encodes more characters (including &, =, ?, /) making it safer for encoding individual query parameter values.
Why do I need URL encoding?
Some characters (space, &, %, #, etc.) have special meaning in URLs. Encoding converts them to a safe %XX format.
How do I encode query parameters?
Encode each parameter value individually before building your query string: param1=encoded_value¶m2=encoded_value2.
Related Tools
Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to plain text.
HTML Entity Encoder / Decoder
Encode text to HTML entities or decode entities back to characters.
URL Slug Generator
Generate clean, SEO-friendly URL slugs from any text.
Extract URLs from Text
Extract all links and URLs from any block of text.