Toolbox for webmasters / Online URL Decoder / Encoder

URL encode / decode

This tool allows you to encode URL component and decode URL component.

Data to encode

Data to decode

User guide

Copy and paste, drag and drop a text file or directly type in the editors above, and it will be automatically converted, and editors will be updated with encoded / decoded data :

  • If you want encode URI component, fill the "Data to encode" editor above.
  • If you want decode URI component, fill the "Data to decode" editor above.

Click on "Browse file" buttons in order to upload your text file to encode / decode.
Click on "Download file" buttons in order to download encoded / decoded data.

URL encoding

Browsers request web pages by using a Uniform Resource Locator (URL). The URL is the address of a web page (example:

URL encoding (Percent Encoding) is a mechanism for converting URLS into a format that can be transmitted over the Internet.

It converts the characters into a bytes using the UTF-8 encoding, and it replaces unsafe ASCII characters with a "%" character followed by two hexadecimal digits. The two hexadecimal digits represent the numeric value of the unsafe character.

There are reserved characters, with special meaning, and they must be encoded.
Sample: / is a reserved character, it is used for path component of a URI. / is converted to %2F.

We use the functions javascript encodeURIComponent and decodeURIComponent.

You can report a bug or give feedback by adding a comment (above) or by clicking "Contact us" link (at the top right hand corner of the page).


The tools are provided "as is", without warranty of any kind, either express or implied.