HTML Entities Encode / Decode

Encode special characters to HTML entities or decode entities back to plain text. Optionally convert non-ASCII characters to numeric entities.

How it works

  • Encode: converts &, <, >, " and ' to entities and optionally converts non-ASCII characters to numeric entities like &#NNN;.
  • Decode: converts entities (named and numeric) to their corresponding characters using the browser's HTML parser.