by Robert Hashemian

HTML, URL, Decimal Encoding/Decoding

Enter the source text you want to encode or decode in the box below and click on a button. Results will be displayed in the same box below.




What is HTML, URL, Decimal Encoding/Decoding?

In Web terms, Encoding allows for special characters to be escaped. For example, for a Web browser to actually display the character '<', it must be typed in the Web page source as '&lt;'.
In other cases special characters should be represented with their hexadecimal notations. Passing parameters on the URL line (known as query string) would be one appropriate case. As an example, the character ':' would be represented as '%3A'.
In a Web page source all characters can be represented with their decimal notations. Browsers usually decode them to their equivalent characters before displaying them. As an example, the character 'A' can be written as '&#65;'

This page offers 6 different functions to encode or decode strings. they are:

  • HTML Encode - HTML tags are converted to equivalent encoded format suitable to display them exactly as they are without any further parsing. e.g. '<' to '&lt;'.
  • HTML Decode - An HTML encoded input is converted to its equivalent HTML representation with the HTML tags restored. e.g. '<' to '&lt;'.
  • URL Encode - Special characters are converted to their hexadecimal notations, suitable for usage in the URL, such as query string parameters. e.g. ':' to '%3A'. For URL Encoding spaces are represented as '+'.
  • URL Decode - Encoded URL characters are converted to their actual representations. e.g. '%3A' to ':'.
  • Decimal Encode - Converts all characters to their decimal encoded HTML representation. e.g. 'A' to '&#65;'. (Best for ASCII characters)
  • Decimal Decode - Converts all decimal HTML codes to their original character representation. e.g. '&#65;' to 'A'. (Best for ASCII characters)

  • *** From hashemian.com *** see descriptions

    Read Financial Markets  |   Home  |   Web Tools  |   Blog  |   News  |   Articles  |   FAQ  |   About  |   Privacy  |   Contact
    Give a few Sats: 1GfrF49zFWfn7qHtgFxgLMihgdnVzhE361
    paypal.me/rhashemian
    © 2001-2024 Robert Hashemian   Powered by Hashemian.com