Utilivy
All-in-one tools for smart life
EN

HTML Entities Converter

HTML 实体转换器

Encode and decode special characters to/from HTML entities

编码和解码特殊字符到/从 HTML 实体

Encoded HTML Entities 编码的 HTML 实体
Decoded Text 解码文本

Common Entities 常用实体

& ( & )
&lt; ( < )
&gt; ( > )
&quot; ( " )
&apos; ( ' )
&nbsp; (space)
&copy; (©)
&euro; (€)

How to Use 使用说明

  • 1. Enter text in the input field
  • 1. 在输入框中输入文本
  • 2. Click "Encode" to convert to HTML entities
  • 2. 点击"编码"转换为 HTML 实体
  • 3. Click "Decode" to convert entities back to text
  • 3. 点击"解码"将实体转换回文本
  • 4. Copy results using the copy buttons
  • 4. 使用复制按钮复制结果

About HTML Entities 关于 HTML 实体

  • ▸ Represent special characters in HTML
  • ▸ 在 HTML 中表示特殊字符
  • ▸ Prevent parsing errors in browsers
  • ▸ 防止浏览器解析错误
  • ▸ Essential for security (XSS prevention)
  • ▸ 对安全性至关重要(防止 XSS 攻击)
  • ▸ Begin with & and end with ;
  • ▸ 以 & 开头,以 ; 结尾
Copied to clipboard! 已复制到剪贴板!