HTML entities

Escapes & < > " ' so text can sit inside HTML, or turns &amp;, &nbsp;, &#8212; and the like back into characters.

In
text
Out
HTML
Options
Input · text
Output · HTML

Waiting for input

Runs in this tab. The text is not sent anywhere.

Related

Questions

Which characters must be escaped?

& and < always, > for safety, and " and ' inside attribute values. "Only &, <, >, quotes" does exactly that; the rest of the text stays readable.

When do I need all non-ASCII as entities?

Rarely — when a page or e-mail template has to stay 7-bit ASCII. Characters with a name become &eacute;, &mdash;; the rest become numbers like &#1046;.

↑ ↓ move · Enter open · Esc close