HTML Entity Converter

HTML Text Input:

Result:

Encode and decode HTML entities

HTML entities let you represent reserved characters (like <, >, and &) and symbols that might not be easily typable. This tool converts characters to entities and entities back to characters.

When to use it

  • Escaping user-generated text before inserting it into HTML
  • Debugging templates that show &amp;, &lt;, or &#...;
  • Working with snippets that must be safe for copy/paste into markup

Tip

  • If you’re building web apps, prefer proper escaping in your templating system; this tool is great for quick conversions and troubleshooting.