Developer Tools
URL Encoder / Decoder
Encode special characters in URLs to make them safe for use in links and HTTP requests, or decode percent-encoded URLs back to readable text. Essential for building APIs, sharing links, and debugging web requests.
1
Paste a URL or text to encode
2
Click Encode or Decode
3
Copy the result
4
Use the query string builder for structured params
Encode / Decode
Query String Builder
💡 Pro Tips
✓
Spaces in URLs must be encoded as %20 — using a literal space breaks the URL.
✓
Encode only the parameter values in a query string, not the & and = separators between them.
✓
The encodeURIComponent function encodes everything except letters, digits, and - _ . ! ~ * ' ( ).
✓
URLs sent in email should be fully encoded — email clients sometimes break special characters.
✓
When debugging API errors, decode the URL first to read it in plain text.
✓
Query string values containing & must be encoded as %26 to avoid being parsed as a separator.
✓
Always decode before displaying URLs to users — percent-encoded URLs look confusing to non-developers.