Skip to main content

HTML Entity Encoder / Decoder

Encode special characters to HTML entities or decode HTML entities to text online for free.

Common HTML Entities
&&
<&lt;
>&gt;
"&quot;
'&apos;
©&copy;
®&reg;
&trade;
&euro;
£&pound;
¥&yen;
°&deg;
±&plusmn;
×&times;
÷&divide;
µ&micro;
&para;
·&middot;
½&frac12;
¼&frac14;
¾&frac34;
«&laquo;
»&raquo;
&ndash;
&mdash;
 &nbsp;
¡&iexcl;
¿&iquest;
À&Agrave;
Á&Aacute;

حول هذه الأداة

Encode special characters like <, >, &, and quotes to their HTML entity equivalents, or decode HTML entities back to readable text. Prevents XSS and ensures correct HTML rendering.

كيفية الاستخدام

  1. Enter Text

    Paste the text or HTML to encode or decode.

  2. Encode or Decode

    Click Encode to convert specials to entities, or Decode to convert entities back.

  3. Copy

    Copy the result.

حالات الاستخدام

XSS Prevention

Encode user input before inserting into HTML to prevent cross-site scripting.

الأسئلة الشائعة

What characters are encoded?

All characters with named HTML entities plus any non-ASCII characters as numeric entities.

Sawbank

أدوات PDF احترافية - مجانية وخاصة

Security

  • Client-side processingFiles never leave your device
  • No file uploads100% private & secure

Compliance

GDPR Compliant
خصوصية 100% - الملفات لا تغادر جهازك
اختيار اللغة

© 2026 Sawbank. جميع الحقوق محفوظة.