Encode or decode URLs instantly as you type. Uses encodeURIComponent / decodeURIComponent β works entirely in your browser.
Advertisement
How to Use the URL Encoder/Decoder
Paste your URL or text into the input.
Click Encode for percent-encoding, or Decode to revert.
Copy the result.
Frequently Asked Questions
URL encoding replaces special characters with a % followed by their hexadecimal code. Example: space becomes %20, & becomes %26.
When passing strings as URL query parameters that contain spaces, &, =, #, or non-ASCII characters like accented letters.
encodeURI encodes a full URL (preserves :, /, ?, &). encodeURIComponent encodes a parameter value (encodes all special characters). This tool uses component encoding.