HTML para texto simples
Extrai o texto legível do HTML fornecido.
HTML para texto simples
Como usar HTML para texto simples
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.
- Cole a fonte no editor de entrada ou carregue o exemplo integrado.
- Verifique o formato de origem antes de executar a operação.
- Execute a conversão de HTML para texto simples, revise a saída e use os controles disponíveis para copiar ou baixar.
O que esta ferramenta suporta
Extrai o texto legível do HTML fornecido.
Limites e processamento
As operações de texto aceitam geralmente até 2,000,000 caracteres. Analisadores, geradores e fórmulas individuais aplicam limites adicionais mostrados pelos seus controles.
Fonte de exemplo
<h1>Hello world</h1><p>A helpful example.</p>
Perguntas frequentes
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.
Onde minha entrada é processada?
Esta operação processa sua fonte no seu navegador. Copiar e baixar são ações explícitas; a entrada de origem não é salva em conta nem em histórico.
Quais são os limites de entrada?
As operações de texto aceitam geralmente até 2,000,000 caracteres. Analisadores, geradores e fórmulas individuais aplicam limites adicionais mostrados pelos seus controles.