a11y.skipToMainContent
1

HTML 实体编码器/解码器

将文本转换为安全的 HTML 实体,或将实体解码为字符。 最小,命名,或数字输出.

More options
Was this tool helpful?
Send output to:
Advertisement

How to use HTML Entity Encoder / Decoder

  1. 选择编码或解码 .
  2. 选择一个样式:最小(最安全),命名(使用 & amp;copy;等),或数字.
  3. 粘贴文本并复制结果 .

{姓名}是什么来着?

HTML保留了"code><";;>;&等字符并引用. 要从字面上将它们包含在 HTML 内容中, 您必须回避它们作为实体 。 这个工具编码了这些字符,并且可选地编码了非ASCII,并附有数字引用,以达到最大兼容性.

Advertisement

FAQ

我该用哪种风格?
最小化对于大多数网页内容来说是最好的. 对 ASCII 仅输出( 旧系统) 使用数字 .
它支持所有Unicode字符吗?
对 任何Unicode字符都可以被编码到其数字实体. 命名的实体覆盖最常用的HTML符号和字符.
我的短信被送到服务器处理了吗?
不——编码和解码完全发生在你的浏览器中. 没有东西离开你的装置.

Related tools

Author

NK
Prof. Noah Klein"The Privacy Guardian"

Cybersecurity Researcher & Privacy Advocate

Professor Klein holds a PhD in Information Security and has testified before EU parliamentary committees on data privacy legislation. He builds encryption tools for journalists, audits web applications for security flaws, and believes that privacy is not a feature but a fundamental right. His research has been cited in Wired, Nature, and The Guardian, and he advises nonprofits on responsible data stewardship.

Advertisement