Toolbox

Online HTML Entity Encoder / Decoder

HTML实体HTML转义数字实体防XSS

Convert &, <, >, quotes and non-ASCII text into named or numeric HTML entities, decode 40+ named entities plus decimal/hex references, prevent XSS and tag conflicts, fully local.

加载中…

How to Use

  • Paste the raw text into the input box
  • Choose encode or decode direction
  • Output appears instantly — copy in one click
  • All encoding/decoding runs locally; sensitive content never leaves your device

Related Tools

FAQ

What is an HTML entity?

An HTML entity represents special characters as &name; or &#number;, e.g. < as &lt;, 你 as &#20320;, avoiding conflicts with tag syntax.

Why handle & < > and quotes specially?

They are reserved HTML syntax characters; raw output can break page structure or enable XSS, so encoding them displays the original text safely.

Will my data be uploaded?

No, all encoding and decoding runs locally in your browser.