UTF-8 to HTML Converter

This online javascript utility allows you to convert (encode) any UTF-8 text into HTML special characters. You can then paste the encoded string into any HTML document source and it should work regardless of the document encoding the file is saved as.

Enter any UTF-8 text:

Encoded string:


Output in HTML: