Skip to content
  1. Home
  2. Documents and Spreadsheets
  3. HTML to TXT

Convert HTML to TXT

The markup language of web pages. It keeps headings, lists, tables and links and opens in any browser. Only the text of the page remains: no tags, styles or scripts. Paragraphs and lists keep their line breaks.

or drop them here

How to do it

  1. Choose the HTML files or drop them on the page
  2. Check the TXT settings
  3. Download the finished TXT

Good to know

  • Handy for getting the text out of a saved page or email.
  • Plain text without formatting. Opens in any program on any device.

More: what HTML is and how to open it, what TXT is and how to open it

HTML vs TXT

PropertyHTMLTXT
Full nameHyperText Markup LanguagePlain Text
Introduced1993—
DeveloperW3C—
Where you meet itWeb pages, emails, exports from editorsNotes, logs, source texts

Questions and answers

Are my files uploaded to a server?

No. The file is read and processed inside your browser tab. The site has no server that could receive it, and the page’s security policy (CSP) forbids it from connecting to other addresses. You can check this in the Network tab of the developer tools, or by turning off the internet after the page has loaded.

Can I convert several HTML files at once?

Yes. Drop several files at once: they’re processed one after another, and you can download the results one by one or as a single ZIP archive.

How do I convert HTML to TXT on a phone?

Open this page in your phone’s browser, tap “Choose files” and pick the HTML from your gallery or Files. The finished TXT is saved to Downloads.

Is there a file size limit?

There are no artificial limits. Only your device’s memory sets the bound: a computer handles files of hundreds of megabytes easily, on older phones it’s better to stay under 100 MB.