HTML entity encoder / decoder

Escape or restore text for HTML, shown as plain text.

Text stays in this browser.

Direction

Encodes & < > " ' and optionally every non-ASCII character. Decoding restores those entities and numeric &#; / &#x; forms; other named entities stay as written. Output is shown as text and is never rendered as HTML.

How to use

  1. Paste the text.
  2. Choose encode or decode.
  3. Convert and copy the result.

What it supports

Escapes & < > " ' and optionally non-ASCII characters as numeric entities. Decoding handles those entities and numeric forms; other named entities stay as written. Results are never rendered as HTML.

Related tools