URL-Encode A String

This function is convenient when encoding a string to be used in a query part of a URL, as a convenient way to pass variables to the next page.


Enter the string to be URL-encoded, and then click "Encode!":



The encoded string:
 

Need to URL-Decode a String?

 

How Do You Use The URL Encoding Tool?

Using the URL encoding tool is very simple! First, you will need to enter the string you are looking to encode to the uniform URL format. Once you enter your string, click the ‘Encode!’ button and the URL encoding tool will display the encoded characters in the second text box. There is no limit to the number of times you can use the URL encoding tool so feel free to use it as much as you need!


What is URL Encoding?

If you have ever paid close attention to the URL of a website you were visiting, you may have noticed a significant amount of characters that don’t make much sense. It turns out that those characters are encoded so that they can be transmitted over the internet. So at first glance, the URL may not make much sense, but in reality, the characters are extremely important for web browsers and servers to understand them.

There are four different types of characters that should be understood when performing URL encoding. They include the following:

- ASCII Characters - Also known as American Standard Code, these characters were the first character set transmitted/communicated between computers and the internet. ASCII takes the standard english alphabet & other characters & assigns them to a number from 0 to 127.
- Non-ASCII Characters - Characters outside of the 128 set characters in ASCII.
- Reserved Characters - These are the characters that need to be encoded as they represent special characters including the ‘at’ symbol, dollar sign, question mark, colon, and many other characters.
- Unsafe Characters -These characters should also always be encoded as they have the possibility of being misunderstood when transmitting URLs. They include quotation marks, space, pound symbol, less than, greater than, and many more.


Read more about URL-encoding in Wikipedia