ToolCabana

HTML a texto sin formato

Extrae texto legible del HTML dado.

Favorites are saved in this browser. Find them in My favorites.

HTML a texto sin formato

Your input stays in this browser unless stated otherwise
Clear your input, files and result, and restore the default settings.
Load sample text to explore what this tool can do. This replaces your current input.
0 charactersClear the source text.

Cómo usar HTML a texto sin formato

HTML to Plain Text extracts the readable text from HTML markup and drops the tags. Script, style and noscript content is removed, br tags become line breaks, and paragraphs, divs, list items, table rows and h1 to h3 headings end with a new line. HTML entities are decoded into their characters, and long runs of blank lines are reduced.

  1. Pega la fuente en el editor de entrada o carga el ejemplo integrado.
  2. Comprueba el formato de origen antes de ejecutar la operación.
  3. Ejecuta la conversión de HTML a texto sin formato, revisa la salida y usa los controles disponibles para copiar o descargar.

Qué admite esta herramienta

Extrae texto legible del HTML dado.

Límites y procesamiento

Las operaciones de texto aceptan generalmente hasta 2,000,000 caracteres. Los analizadores, generadores y fórmulas individuales aplican límites adicionales que muestran sus controles.

Fuente de ejemplo
<h1>Hello world</h1><p>A helpful example.</p>

Preguntas frecuentes

Are link URLs kept when converting HTML to text?

No. Only the visible link text is kept; href values and other attributes are dropped with the tags. Run Extract URLs from Text on the HTML source if you also need the addresses.

Does HTML to Plain Text keep line breaks and paragraphs?

Yes. br tags become line breaks, and p, div, li, tr and h1 to h3 elements end with a new line. More than two consecutive line breaks are collapsed into a single blank line, and the result is trimmed.

Will JavaScript or CSS code appear in the plain text output?

No. Script, style and noscript elements are removed before the text is extracted, so code and CSS rules do not end up in the result. The HTML is parsed as a document and nothing in it is executed.

¿Dónde se procesa mi entrada?

Esta operación procesa su fuente en tu navegador. Copiar y descargar son acciones explícitas; la entrada de origen no se guarda en una cuenta ni en un historial.

¿Cuáles son los límites de entrada?

Las operaciones de texto aceptan generalmente hasta 2,000,000 caracteres. Los analizadores, generadores y fórmulas individuales aplican límites adicionales que muestran sus controles.