Codes & text

HTML Entity Encoder

Escape < > & " and ' as HTML entities, or decode named and numeric entities back to text. Optionally encode every non-ASCII character too.

How to use HTML Entity Encoder

  1. Paste HTML or text Tags, quotes and ampersands are escaped.
  2. Encode or decode Decode turns &lt; or &#169; back into characters.
  3. Copy the result Paste it into HTML, XML or a template.

HTML Entity Encoder FAQ

Do I need an account?
No. Open the page and use it.
Is what I enter sent anywhere?
This tool runs in this browser tab and does not ask for an account. What you enter is not sent anywhere.
Does it cost anything?
No. It is free and open source.
Can I use it on my phone?
Yes, in a current mobile browser. Tools that need a physical keyboard or mouse are easier on a computer.

All free tools