ToolPal

HTML实体编码/解码器

将特殊字符编码为HTML实体,或将HTML实体解码回文本。Web开发者必备工具。

常用HTML实体

&&
<&lt;
>&gt;
"&quot;
'&#39;
&nbsp;

使用方法

将特殊字符编码为HTML实体,或将HTML实体解码回文本。Web开发者必备工具。

  1. 1Paste or type your text into the input area.
  2. 2Click Encode to convert special characters to HTML entities (e.g., `<` → `&lt;`).
  3. 3Click Decode to convert HTML entities back to plain characters.
  4. 4Copy the result with one click for use in HTML templates or code.

主要功能

  • Encodes all HTML special characters: <, >, &, ", ' and more
  • Decodes HTML entities back to their original characters
  • Processes large blocks of text instantly without any server call
  • One-click copy for the encoded or decoded output

常见问题

了解更多