URL Encoder / Decoder
Encode special characters for URLs (percent-encoding). Decode encoded URLs back to readable form. UTF-8 safe.
- 100% local · no upload
Frequently asked questions
When do I need URL encoding?
When passing text with special characters (spaces, &, ?, accents) as URL parameters. Example: ?q=hello world becomes ?q=hello%20world.
What's the difference between encodeURI and encodeURIComponent?
encodeURI preserves URL structure (slashes, ?, &). encodeURIComponent encodes everything (use for query parameter values). This tool uses encodeURIComponent.
Does it handle Unicode (emoji, accents)?
Yes — UTF-8 percent-encoding. "café" → "caf%C3%A9", "🙂" → "%F0%9F%99%82".
Are spaces encoded as + or %20?
%20 (the standard). The + form is specific to application/x-www-form-urlencoded (HTML form bodies).
Is it the same as Base64?
No. URL encoding only affects unsafe characters; safe ASCII passes through. Base64 transforms everything.