JS/ES Input
Minified JS/ES Output
More information
Easily encode or decode URLs to make links accessible or to restore the original texts for best readability.
The tool has two modes, namely:
Full Address - this mode encodes/decodes the whole URI including the "https://" part and is suited for embedding in JavaScript.
Component-Only - this mode encodes/decodes only the path and parametres, and escapes a larger set of characters.
For your convenience, this tool also supports batch (or bulk) processing. Simply paste in a list of links to encode or decode and click on their corresponding buttons to get started.
In simple terms, URL encoding is like translating special characters in a web address (URL) into a format that browsers can understand safely. This is important because URLs can only contain certain characters like letters (A-Z, a-z), numbers (0-9), and a few special ones (like "-", "_", "~").
Other characters, such as spaces, symbols, or special characters (like "?", "&", or "#"), need to be "encoded" so they can be safely used in a URL.
These things are needed because URLs have to follow a strict format. When you have spaces or special characters in a URL (like when you search for something or pass parameters), URL encoding ensures these characters are properly translated so the browser or web server understands them so as not to cause errors nor interfere with normal website functionality.
An example of it could be a URL containing a space character:
https://besku.com/hello world
After encoding, it becomes:
https://besku.com/hello%20world
Essentially, URL encoding converts special characters into a code that starts with a "%" followed by two hexadecimal digits. For example, a space (" ") character inside a web address becomes %20, and a question mark ("?") becomes %3F.
On the other hand, URL decoding is the reverse process of it. It takes the encoded format (e.g., %20) and converts it back to its original character, like a space.