Encode or decode URLs for safe data transmission across the web
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.