Select "Encode URL" to encode or "Decode URL" to decode
Paste or type your URL or text in the input field
Click "Convert" to encode or decode instantly
Copy the output to clipboard with one click
Our free URL encoder decoder online tool converts URLs to percent-encoding format and vice versa. URL encoding replaces unsafe ASCII characters with a "%" followed by two hexadecimal digits. This is essential for transmitting URLs with special characters in web applications.
Use our online URL encoder when you need to include special characters (like spaces, &, ?, #) in URL parameters. The URL decoder reverses this process, converting percent-encoded strings back to readable text. Both operations happen instantly in your browser — no data is sent to any server.
A URL encoder decoder converts characters that are unsafe or reserved inside a web address into a format that travels cleanly across the internet. The process is called percent-encoding: a space becomes %20, an ampersand becomes %26, and a Chinese character becomes a sequence of %XX byte pairs. Our free URL encoder decoder online runs entirely in your browser, so nothing you type is ever uploaded to a server.
URLs may only contain a small set of ASCII characters. When you pass values inside a query string — for example ?q=blue shirt&size=M — the & and spaces would break the request. Encoding turns the value into blue%20shirt%26size%3DM, which any server parses correctly. The URL decoder reverses it so you can read or debug the original string.
Only encode the value part of a parameter, never the whole URL structure (://, /, ?, & must stay literal). Reserve encodeURIComponent for single values and encodeURI for full addresses. Because everything runs client-side, you can even use this tool offline once the page is loaded.
All conversion happens locally in your browser tab. No network request is made, so your data never leaves the device — ideal for tokens, internal links, or anything sensitive. For other developer utilities, try our regex tester or Unix timestamp converter.
It replaces unsafe or reserved characters with a percent sign followed by two hexadecimal digits (percent-encoding). This keeps the URL valid when sent over HTTP, emailed, or stored in a database.
Encode any value that goes inside a query string or path segment — spaces, &, #, =, ?, non-ASCII text, and emoji all need encoding before they are safe to transmit.
encodeURI keeps structural characters like / ? # & intact and encodes the rest; encodeURIComponent encodes everything including & and =, so it is the right choice for a single parameter value.
Yes. Conversion runs entirely in your browser and nothing is uploaded. Still, avoid pasting secrets into shared or recorded screens.
%20 is the ASCII space character (decimal 32 = hex 20) written in percent-encoding. Some systems use + instead, but %20 is the standards-compliant form inside a path.
Yes. Non-ASCII characters are stored as multi-byte UTF-8 sequences, and the decoder reconstructs the original text exactly as long as the encoding was UTF-8.
Once the page has loaded, all processing is local, so you can keep using it without an internet connection.
There is no artificial limit; very large inputs may be slower because the browser handles them in memory, but typical URLs process instantly.
No. The tool performs no network calls and keeps no logs of what you type.
For structured data try our Base64 encoder, JSON formatter, or HTML entity encoder — all free and also run in the browser.