Home / Text Tools / HTML Entity Encoder

HTML Entity Encoder

Escape <, >, & and quotes for safe HTML display.

How to use

  1. Paste text or code containing <, >, & or quotes.
  2. Click convert.
  3. Copy the HTML-safe result.

Frequently asked questions

When do I need this?

Whenever you want to display code or user text inside HTML without it being interpreted as markup.

Related tools

  • HTML Entity Decoder — Turn &amp;, &lt;, &#39; and other entities back into characters.
  • Unicode Converter — Convert text to U+ code points and back.
  • Morse Code Converter — Translate text to Morse code and Morse back to text.
  • ASCII Converter — Convert text to ASCII character codes and back.
  • Phonetic Alphabet Converter — Spell anything out in the NATO phonetic alphabet.
  • Word Counter — Count words, characters, sentences, paragraphs and reading time - live as you type.

See all text tools