🔤 HTML Entity Encoder

Encode and decode HTML entities

Input Text

Common HTML Entities

<

Less than

<
&gt;

Greater than

>
&amp;

Ampersand

&
&quot;

Quote

"
&#39;

Apostrophe

'
&nbsp;

Non-breaking space

&copy;

Copyright

©
&reg;

Registered

®

Advertisement

About HTML Entity Encoder

HTML Entity Encoder converts special characters to their HTML entity equivalents and vice versa. This is essential for displaying special characters correctly in HTML and preventing XSS attacks.

Features

  • Encode special characters to HTML entities
  • Decode HTML entities to plain text
  • Real-time bidirectional conversion
  • Reference table of common entities
  • Copy encoded or decoded output
  • Prevent XSS vulnerabilities

How to Use

  1. 1.Type or paste text in the input field
  2. 2.View both encoded and decoded versions
  3. 3.Copy the output you need
  4. 4.Refer to common entities table