HTML 實體編碼

在下方貼上HTML或文字並點擊編碼將特殊字元跳脫為HTML實體。所有處理均在瀏覽器中本地完成。

已複製!

What is HTML Entity Encoding?

HTML entity encoding converts special characters into their HTML entity equivalents to prevent them from being interpreted as HTML markup. For example:

  • <&lt;
  • >&gt;
  • &&amp;
  • "&quot;
  • '&#39;

This prevents XSS attacks and ensures text displays correctly in HTML documents.