HTML to plain text
Extract readable text from HTML while retaining useful line breaks.
Bookmark this page
Keep this page handy for next time.
- On a computer
- Press Ctrl + D, or Command + D on a Mac.
- On a phone or tablet
- Open your browser's menu or Share menu and look for Add Bookmark, Bookmark or Add to favourites.
A bookmark saves the page link. Save any tool results separately.
How to use this tool
- Extract readable text from HTML while retaining useful line breaks.
- Adjust the labelled settings, then run the tool. Copy the result or download it as a file.
Things to know
- Processing is local. Supplied code and network requests are never executed. Input and text settings are limited to 5 MiB combined; text settings alone are limited to 1 MiB.
- HTML: 50,000 nodes, 128 nesting levels, 256 attributes per element and 100,000 total attributes. A second iterative tree check runs before recursive text extraction. Scripts/styles are removed without execution.
You might also need
More in web developmentMeta-tag builder and preview
Generate escaped page and social metadata from your title and description.
HTML formatter
Format HTML source while preserving whitespace-sensitive content.
HTML link extractor
Extract links and their labels from pasted HTML.
HTML table extractor
Extract a selected HTML table into rows and CSV.
CSS selector tester
Find matching elements in pasted HTML without rendering the supplied page.
Responsive image markup builder
Generate picture and srcset markup from an image naming pattern.
Regex tester
Find matches, inspect capture groups and test replacements using JavaScript regular expressions.
Chmod calculator
Convert Unix permission modes into readable permissions and a ready-to-copy command.
cURL and Fetch converter
Turn a supported cURL request into a readable Fetch snippet without sending it.