URL Encoder / Decoder

Encode or decode URLs for safe data transmission across the web

Result

About the URL Encoder / Decoder

Encode text for safe use in URLs, or decode URL-encoded strings back to readable text. URL encoding (also called percent-encoding) replaces unsafe characters with a % followed by two hex digits — a space becomes %20, an ampersand becomes %26.

URLs may only contain a limited set of characters. Anything else — spaces, &, ?, #, /, +, accented letters, Hindi or Chinese text, emoji — must be encoded or the link breaks or gets cut short. This matters when building query strings and API requests, UTM campaign links, WhatsApp share links with pre-filled messages, redirect parameters, or any URL containing a search term or email address.

Decoding is just as useful: pasting an ugly analytics or ad-platform URL here reveals exactly what parameters it carries. Both directions run entirely in your browser, so tracking links and API endpoints stay private.

Frequently Asked Questions

Both are valid. %20 is standard percent-encoding used anywhere in a URL; + is a legacy shorthand for spaces specifically inside query strings from HTML forms.
Whenever a value inside a URL contains spaces, &, ?, #, /, = or non-English characters — typically search terms, email addresses and pre-filled messages.
encodeURI keeps characters that structure a URL (like / and ?) intact for whole URLs. encodeURIComponent encodes everything, which is correct for individual parameter values.
No — an encoded URL points to exactly the same place. Encoding only makes the characters transport-safe.