Monu Tools

HTML Entity Encoder / Decoder

Encode text to HTML entities or decode entities back to text, UTF-8 safe and client-side.

Cómo usar HTML Encoder

  1. 01

    Paste your text or HTML.

  2. 02

    Choose Encode (escape the HTML specials), Encode all (also escape non-ASCII) or Decode.

  3. 03

    Copy the result.

Preguntas frecuentes

What is the difference between Encode and Encode all?

Encode escapes only the five characters that must be escaped in HTML (& < > " '). Encode all additionally turns every non-ASCII character into a numeric entity, useful for legacy systems or email.

Which entities can it decode?

Named entities like &amp; and &copy;, decimal entities like &#233;, and hexadecimal entities like &#x20AC;. Unknown sequences are left unchanged.

Does it prevent XSS?

Encoding the HTML specials is the core defence against injecting markup. Always encode untrusted text before placing it in HTML.

Acerca de esta herramienta

An HTML entity encoder and decoder for escaping special characters so they display as text instead of being parsed as markup.

Encoding always escapes & < > " and ', with an option to encode every non-ASCII character as a numeric entity. Decoding supports named, decimal and hexadecimal entities.

Herramientas relacionadas

Usamos cookies esenciales para que el sitio funcione. Con tu consentimiento también cargamos Google AdSense, que establece cookies publicitarias. Consulta nuestra política de privacidad.