URL Encoder/Decoder
Encode and decode URL components using percent encoding
Loading...
About URL Encoder
Convert special characters to percent-encoded format (%20, %3D, etc.) or decode them back. URLs can only contain certain characters safely—this tool converts the rest.
Spaces, ampersands, question marks, and other special characters have meaning in URLs. To include them literally in your data, they must be percent-encoded. This tool handles encoding and decoding instantly.
How to use URL Encoder
1
Choose 'Encode' or 'Decode' mode.
2
Paste your text or URL.
3
See the converted result instantly.
4
Copy the output for use in your application.
5
Use encoded values in query parameters safely.
Examples
Common encodings
Characters that need encoding in URLs:
Space → %20 (or + in query strings) & → %26 = → %3D ? → %3F # → %23 / → %2F + → %2B
Encoding query parameters
Always encode values, not the whole URL structure:
Wrong (encodes everything):
https%3A%2F%2Fexample.com ← broken!
Right (encode only the value):
https://example.com?name=John%20Doe&city=New%20York
↑ ↑
encoded spacesDecoding analytics URLs
URLs in logs are often encoded. Decode to read them:
Encoded: %2Fproducts%3Fcategory%3Dbooks%26sort%3Dprice Decoded: /products?category=books&sort=price
Features
Encode text for use in URLs
Decode percent-encoded strings
Handles Unicode characters
RFC 3986 compliant
Encode full URLs or just values
Copy output with one click
When to use this
- •Encoding query parameter values
- •Decoding URLs from analytics or logs
- •Testing APIs with special characters
- •Debugging URL parsing issues
- •Preparing data for web requests
- •Understanding percent encoding
Common questions
Related Tools
Discover more free tools to boost your productivity