HTML 编码器/解码器

一键将字符转换为 HTML 实体并返回。

这个工具是什么?

HTML encoding swaps dangerous characters for entity references so browsers render literals instead of interpreting tags. Technical writers illustrating code samples and engineers composing dynamic templates both benefit from lightning conversions.

如何使用

Paste markup or mixed content. Escape converts < > & " '; Unescape performs the inverse on common entities.

好处

常问问题

Does it sanitize servers?

No — always validate on the server too; this page is a typing aid only.