Convert text into HTML entities or restore character references back to plain text. Mix modes and options to prep safe markup instantly.

Mode

Usage

  • Pick encode/decode and Named, decimal, or encode-all options.
  • Type text to convert entities immediately.
  • Attribute mode only matters when decoding.

Input, output, limits

Input is HTML text or entity strings. Output follows the selected options. Nothing is uploaded.

Example

Encode: <b>hi</b> → &lt;b&gt;hi&lt;/b&gt;. With named entities, © becomes &copy;.

FAQ

What does allow unsafe symbols do?
Leaves < > & unencoded so markup can stay markup.
What if encode every character is on?
Even ASCII becomes references. The unsafe toggle is ignored.
Is text uploaded?
No. Conversion stays in the browser.