Skip to content
TL ToolLab

Developer Tools

HTML Entity Converter

Encode text to HTML entities or decode HTML entities back to text instantly. Free online HTML entity converter.

Input

Processing…

Result

Converted text will appear here.

How to Use

  1. Select Encode to convert special characters into HTML entities, or Decode to convert entities back to readable text.
  2. Paste your text or HTML snippet.
  3. The converted result updates automatically and can be copied with one click.

What Are HTML Entities?

HTML entities represent characters that have special meaning in HTML markup — such as <, >, &, and quotation marks — using a code like &lt; or &amp; so they display literally instead of being interpreted as markup.

Common Uses

  • Safely displaying code snippets or user-submitted text inside an HTML page without breaking the layout.
  • Decoding entity-encoded text copied from an API response or HTML source to read it normally.
  • Preventing basic HTML injection when embedding untrusted text into a web page.