FREE · PRIVATE · NO SIGN-UP
ASCII and HTML Entity Converter
Encode special characters as HTML entities or decode entities into text.
Choose a tool:✓ Browser-based conversion
Text or entities
Converted result
How to use this converter
Add your source
Select Convert
Preview, copy or download
About this tool
Encode special characters as HTML entities or decode entities into text. Processing occurs locally in your browser and ConvertToHTML does not intentionally store the content you enter.
Frequently asked questions
How do I convert text to HTML entities?
Choose Encode, enter text and convert reserved characters into HTML-safe entity references.
How do I decode HTML entities?
Choose Decode to turn references such as & and < back into readable characters.
Should every letter become an entity?
Usually not. Encoding is most useful for reserved characters such as ampersands and angle brackets.
What are named and numeric entities?
Named entities use labels such as &. Numeric entities identify a character by code point.