The two hexadecimal digits represent the numeric value of the unsafe character. 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. URL encoding (Percent Encoding) is a mechanism for converting URLS into a format that can be transmitted over the Internet. URLs reference web pages (example: ), but reference also file transfer (ftp), email (mailto). ), a hostname (), and a file name (url-encode.html). It is specific type of Uniform Resource Identifier (URI).Ī URL contains a protocol (http, ftp. Browsers request web pages by using an URL. This tool uses the javascript functions encodeURIComponent and decodeURIComponent.Ī Uniform Resource Locator (URL) is a reference to a web resource, it is a web address. It avoids having to write a few lines of code to get the result. ![]() This online tool allows you to easily and quickly encode and decode a url.
0 Comments
Leave a Reply. |