Docomint

Codificador de entidades HTML

Converte &, <, >, aspas e apóstrofos em seus equivalentes de entidade HTML.

🔒 Processed on your device

What is a Codificador de entidades HTML?

Converts the five characters HTML treats specially — &, <, >, ", ' — into their entity equivalents (&amp;, &lt;, and so on), so the text displays as literal characters instead of being interpreted as markup when pasted into an HTML document.

How to use the Codificador de entidades HTML

  1. Paste text or markup
  2. Reserved HTML characters are converted to entities instantly, on your device
  3. Copy the encoded result

Example

<div class="card">Tom & Jerry's Show</div> becomes &lt;div class=&quot;card&quot;&gt;Tom &amp; Jerry&#39;s Show&lt;/div&gt; — safe to drop into an HTML page as visible text.

Frequently asked questions

Why would I need to encode HTML entities?

Any time you want a character like < or & to display as a literal character on a web page instead of being interpreted as the start of a tag or entity — for example, showing a code snippet or a "5 < 10" comparison in body text.

Is my text uploaded anywhere?

No — Codificador de entidades HTML runs entirely in your browser using JavaScript/WebAssembly. Your text is never sent to a server.

Does this encode every character, or just the reserved HTML ones?

Just the reserved ones — &, <, >, \", and ' — that can be misinterpreted as markup. Ordinary letters, numbers, and punctuation like commas or periods are left as plain text.

Related tools