Herramienta para eliminar etiquetas HTML gratuita
La herramienta Eliminar etiquetas HTML suprime todo el marcado de un documento y deja solo el texto legible. Puede decodificar entidades HTML y convertir elementos de bloque en saltos de línea para que el texto plano conserve su forma.
The reverse conversion is Markdown to HTML Converter, and if the text needs to become markdown rather than plain prose, HTML to Markdown Converter keeps the structure. For measuring the result, the Word & Character Counter and Word Density Analyzer both expect clean text.
Cómo usar Eliminar etiquetas HTML
- 1 Paste markup into the input area, or drop an HTML file onto it.
- 2 Choose whether to keep the text of script and style elements, which is usually raw code rather than prose.
- 3 Decide whether block-level tags should become line breaks or be removed entirely.
- 4 Copy the plain text result.
Cómo usarlo
Pega tu HTML y haz clic en Eliminar. El texto plano aparece a la derecha, con las etiquetas eliminadas y las entidades opcionalmente decodificadas.
- Elimina todas las etiquetas, incluidos scripts y estilos
- Decodifica entidades HTML como & y
- Convierte elementos de bloque en saltos de línea (opcional)
- Colapsa los espacios en blanco sobrantes
- Se ejecuta enteramente en tu navegador
Preguntas frecuentes
Does stripping tags preserve the meaning of the document?
Paragraph breaks and headings survive, but structure does. A table becomes a run of cells with no indication of which row they belonged to, and a definition list loses the relationship between term and definition. If the structure carries meaning for your purpose, extracting text this way will lose it; if you only need the words, it is an efficient way to get them.
Why does script or style content sometimes appear in the output?
Because it is text inside the document. By default a tag stripper removes markup and keeps whatever was between tags, and the contents of a script block are between tags. Leaving them out is a separate choice and usually the right one, since JavaScript and CSS are not prose and will badly distort any word count you take afterwards.
Can it handle malformed HTML?
Up to a point. A parser will close unclosed tags and ignore stray brackets, which recovers most real-world pages, but genuinely broken markup can produce surprising output. If the source is a page you control, fixing the markup first is worthwhile; if it is a page you found, check the extracted text against the rendered version before relying on it.
Herramientas de texto relacionadas
También te puede interesar
Herramientas de otras categorías que suelen combinarse con Eliminar etiquetas HTML: