HTML Character Converter
HTML (Hypertext Markup Language) uses a mixture of text and code. HTML element names are surrounded by less-than and greater-than signs, such as <div>, which means that if you use those symbols in regular text, they must be encoded so that the browser doesn't interpret them as HTML code. In the sentence you just read, the text is encoded as <div> The browser is often smart enough to render the document correctly even if you don't encode special characters, but it's not guaranteed, and in that case where a full element name is written, it's always necessary. Some characters have names for convenience, such as < for less-than, but any character can be encoded using its code point value, which is useful to ensure that non-ASCII characters, like smiley faces 😀 and snowflakes ❄️, are rendered correctly even if the document's text format is changed in the future (those values are 😀 and ❄️).
This tool converts in either direction between HTML character encodings and plain text. Type in one of the boxes below, and it will be converted into the other box.
Encoding Settings:
Encoded HTML Text:
