HTML in testo semplice
Estrai il testo leggibile dall'HTML fornito.
HTML in testo semplice
Come usare HTML in testo semplice
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.
- Incolla l'origine nell'editor di input, oppure carica l'esempio integrato.
- Controlla il formato di origine prima di eseguire l'operazione.
- Esegui HTML in testo semplice, esamina il risultato, poi usa i controlli disponibili per copiare o scaricare.
Cosa supporta questo strumento
Estrai il testo leggibile dall'HTML fornito.
Limiti ed elaborazione
Le operazioni di testo accettano in genere fino a 2.000.000 di caratteri. Parser, generatori e formule singoli applicano limiti aggiuntivi mostrati dai relativi controlli.
Origine di esempio
<h1>Hello world</h1><p>A helpful example.</p>
Domande frequenti
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.
Dove viene elaborato il mio input?
Questa operazione elabora i dati di origine nel tuo browser. Copia e download sono azioni esplicite; l'input di origine non viene salvato in un account né in una cronologia.
Quali sono i limiti di input?
Le operazioni di testo accettano in genere fino a 2.000.000 di caratteri. Parser, generatori e formule singoli applicano limiti aggiuntivi mostrati dai relativi controlli.