Online Tools Repository

Tools List


Advert

String to HTML Dec/Hex Convertor



Why is this online tool useful?

Most Ascii and Non Ascii characters can be represented by either Dec or Hex code. This can be useful for either obfuscating words in the HTML code and also for representing characters that don't otherwise display correctly in the web browser.

You can use either hex or dec, though if you are familiar with any unicode numbers, you may find dec more convenient because the dec number actually matches the unicode number. As an example, if you were wanted to type an e with an accent, as in café on your computer, you would hold down the 'Alt' key and press 0233 on your keyboard's numpad. This would produce the unicode character 'é'. For the dec number, you simply drop the zero and prefix with '&#'. So the unicode for é is alt+0233 and the dec is &#233.