URL Encode & Decode
Convert text to percent-encoded form for use in URLs, or decode an encoded URL back to readable text.
Features
How to Use
1. Pick Encode or Decode.
2. Paste your URL or text into the input.
3. The result appears live on the right — click Copy.
About this tool
URLs can only contain a limited set of characters, so spaces, non-English letters and symbols like & or = inside a value have to be percent-encoded as bytes such as %20 or %E4%BD%A0. This tool encodes and decodes in two modes that mirror JavaScript's own functions. Component mode (encodeURIComponent) encodes everything except letters, digits and - _ . ! ~ * ' ( ), which is right for a single query parameter value or path segment. Full URL mode (encodeURI) leaves the characters that give a URL its structure — : / ? # & = — untouched, which is right for cleaning up a whole address. Text is encoded as UTF-8, and the tool notices when your input already looks encoded and switches to decoding.