URL Encoder / Decoder

Encode or decode URLs and query strings instantly. Results update as you type.

Input
Try an example
URL with spaces Email address Special chars Arabic text
Encoded Output
Output will appear here as you type...
FAQ

Frequently Asked Questions

URL encoding replaces unsafe characters with a % sign followed by their hex code. For example a space becomes %20. This ensures URLs work correctly across all browsers and systems.

encodeURI encodes a full URL and leaves characters like / : ? & alone. encodeURIComponent encodes everything including those characters — use it for individual query string values, not full URLs.

In HTML form submissions spaces are encoded as + in query strings. In modern URL encoding %20 is the correct standard. Both are widely supported but %20 is preferred.