btc eth ltc bch dash dash XRP monero zec eth-с Litecoin TestnetLitecoin Testnet

URL Encode/Decode

Paste your text to the left and click on `Encode` to get the URL Encoded string to the right
Paste your URL Encoded string to the left and click on `Decode` to get the original text
Press Clear to reset everything
Everything happens instantly, feel free to contact us in case of any problem

Input

Output

URL Encoding Uses

  • URL encoding converts characters into a format that can be transmitted over the Internet
  • URLs can only be sent over the Internet using the ASCII character-set.
  • Since URLs often contain characters outside the ASCII set, the URL has to be converted into a valid ASCII format.
  • URL encoding replaces unsafe ASCII characters with a "%" followed by two hexadecimal digits.
  • URLs cannot contain spaces. URL encoding normally replaces a space with a plus (+) sign or with %20.

Explanation

A URL is from from a limited set of characters belonging to the US-ASCII character set. These characters include digits (0-9), letters(A-Z, a-z), and a few special characters ("-", ".", "_", "~").
ASCII control characters (e.g. backspace, vertical tab, horizontal tab, line feed etc), unsafe characters like space, \, <, >, {, } etc, and any character outside the ASCII charset is not allowed to be placed directly within URLs.
Additionally, there are some characters that have special meaning within URLs. These characters are called reserved characters. Some examples of reserved characters are ?, /, #, : etc. Any data transmitted as part of the URL, whether in query string or path segment, must not contain these characters. This is why we encode data when we send it to the server, and then the server decodes the parameters to retrieve the data sent