CodeInWord

Html编码/解码工具

功能说明

HTML编码用于将HTML特殊字符转换为实体编码,防止XSS攻击和确保正确显示。HTML编码使用百分号(%)后跟两个十六进制数字来表示特殊字符。

特点

使用场景

示例

编码示例:

输入:

Hello
→ 输出:<div>Hello</div>

解码示例:

输入:<div>Hello</div> → 输出:

Hello

隐私保护

所有操作均在您的浏览器本地完成,不会将您的文本内容上传至服务器或保存在任何地方。您可以放心使用本工具处理敏感文本内容。

Html Encode/Decode Tool

Features

HTML encoding is used to convert HTML special characters into entity encoding to prevent XSS attacks and ensure correct display. URL encoding uses a percent sign (%) followed by two hexadecimal digits to represent special characters.

Characteristics

Use Cases

Example

Encode Example:

Input:

Hello
→ Output: <div>Hello</div>

Decode Example:

Input: <div>Hello</div> → Output:

Hello

Privacy Protection

All operations are performed locally in your browser, and your text content is never uploaded to any server or saved anywhere. You can confidently use this tool to process sensitive text content.