The percent sign is used as an escape character that's why we also refer to URL encoding as Percent encoding. Then each byte is represented by two hexadecimal digits preceded by a percent sign (%) - (e.g. URL Encoding works like this - It first converts the character to one or more bytes. It is also used in preparing data for submitting HTML forms with content-type application/x-www-form-urlencoded. URL encoding, also known as percent encoding, is a way to encode or escape reserved, unprintable, or non-ASCII characters in URLs to a safe and secure format that can be transmitted over the internet. Alphabets / Digits / "-" / "_" / "~" / "."Īny other character apart from the above list must be encoded. URLs in the world wide web can only contain ASCII alphanumeric characters and some other safe characters like hyphen ( -), underscore ( _), tilde ( ~), and dot (. What is URL encoding or Percent Encoding? The world wide web consortium recommends that UTF-8 should be used for encoding.Īpart from the tool, our website also contains various articles about how to encode URLs in different programming languages. Note that, our tool uses UTF-8 encoding scheme for encoding URLs. Once the URL is encoded, you can click in the output text area to copy the encoded URL. You just need to type or paste a string in the input text area, the tool will automatically convert your string to URL encoded format in real time. URL Encoder is a simple and easy to use online tool for encoding URLs.
0 Comments
Leave a Reply. |