Ad Space — horizontal (tool-top)
🔤

HTML Entity Encoder

Encode and decode HTML entities. Convert special characters to HTML-safe strings.

Common HTML Entities Reference

&=&
&lt;=<
&gt;=>
&quot;="
&#39;='
&nbsp;=(space)
&copy;=©
&reg;=®
&trade;=
&euro;=
&pound;=£
&yen;=¥
&plusmn;=±
&times;=×
&divide;=÷

How to Use This HTML Entity Encoder

Encode special characters to HTML entities or decode HTML entities back to plain text. Runs entirely in your browser.

  1. Select "Encode" or "Decode" mode
  2. Paste your text into the input field
  3. Click the button to process
  4. Copy the result with one click

FAQ

What are HTML entities?

HTML entities are special codes used to represent characters that have special meaning in HTML, such as < > & and ". They prevent browsers from interpreting these characters as HTML markup.

When should I encode HTML entities?

You should encode HTML entities whenever you display user-generated content in HTML to prevent XSS attacks and ensure special characters render correctly.

Is my data safe?

Yes. All processing happens entirely in your browser. Your data is never sent to any server.

Ad Space — horizontal (tool-bottom)