Convert Unicode characters to HTML code numbers and vice versa

 
 
This online tool converts Unicode characters to HTML code numbers and vice versa.
All characters with ASCII value greater than 127 are converted to HTML code numbers.

Unicode characters to HTML code numbers example

A HTML code number represents a single Unicode character formed by:
  • an ampersand "&"
  • the hash "#"
  • a decimal or hexadecimal value
  • and closed by a semicolon ";"
For example the chinese character for "cat" is 猫.
This character can be expressed through a HTML code number: 猫 (decimal) or 猫 (hexadecimal);

HTML code numbers can be used in HTML files.

Enter Unicode characters:


Conversion direction *: Help
Unicode characters
*:
Help
Number type *: Help
* = required        
 


HTML code numbers: