Toolvist

Codificador y decodificador de entidades HTML

Codifica o decodifica entidades HTML: convierte ángulos, ampersands y comillas en entidades seguras, o vuelve atrás. Codificador HTML online y gratuito.

Codificador y decodificador de entidades HTML gratuito

El Codificador y decodificador de entidades HTML convierte caracteres hacia y desde entidades HTML. Codifica caracteres especiales para una visualización segura en el marcado, o decodifica entidades de vuelta a caracteres.

The decoder side of this tool handles the reverse direction, and Strip HTML Tags removes markup entirely. To convert a document's format, the HTML Formatter & Beautifier is the companion.

Cómo usar Entidades HTML

  1. 1 Paste your text or markup.
  2. 2 Choose encode or decode.
  3. 3 Pick whether to convert only the significant characters or every non-ASCII one.
  4. 4 Copy the result.

Cómo usarlo

Pega tu texto y haz clic en Codificar para escapar &, <, >, " y el apóstrofe como entidades, o en Decodificar para convertir entidades de vuelta. Copia el resultado con un clic.

  • Escapa & < > " y el apóstrofe para una salida HTML segura
  • Decodifica entidades numéricas y con nombre
  • Útil para mostrar fragmentos de código

Preguntas frecuentes

Which characters actually need encoding?

In HTML content, only the ampersand, the less-than sign and the greater-than sign are strictly required, since they introduce markup. Quote characters matter inside attribute values. Everything else can be written literally. Encoding more than necessary is safe in content but makes the source harder to read.

What is the difference between a named and a numeric entity?

A named entity such as `&amp;` is readable and exists for the common characters. A numeric entity such as `&#38;` works for any character in the document's encoding, including ones with no name. For ASCII punctuation, named forms are clearer; for arbitrary Unicode, numeric is the only option.

When is encoding the wrong fix?

When the real problem is a character encoding mismatch. If text displays as mojibake — accented letters and punctuation replaced by unrelated symbols — the document is declaring one encoding and being served as another. Encoding every non-ASCII character will mask the symptom, but the correct fix is to declare UTF-8 and ensure the server sends it.

Herramientas para desarrolladores relacionadas

Ver todo en Herramientas para desarrolladores →

También te puede interesar

Herramientas de otras categorías que suelen combinarse con Entidades HTML:

Explorar el directorio completo →