Website to Text and HTML to Text Converter
Extract clean text from any website or convert pasted HTML to plain text for free. Keep paragraphs and lists, drop scripts and menus, and download a .txt file.
How do I extract text from a website?
- Choose From URL to read a live page, or Paste HTML to convert markup you already have.
- Enter the page URL or paste the HTML source.
- Keep Main content only on to skip navigation, headers, footers, and sidebars. Turn on Keep link URLs to add each link address after its text.
- Click Extract text or Convert to text, then copy the result or download it as a .txt file.
How do I convert HTML to plain text?
Paste the HTML into the Paste HTML tab and click Convert to text. The conversion runs in your browser with its built-in HTML parser, and nothing is sent to our servers. Paragraphs, headings, and table rows become line breaks, list items get a dash or a number, table cells are separated by tabs, and code inside pre blocks keeps its spacing.
What is the difference between HTML, plain text, and Markdown?
HTML marks up structure and presentation with tags. Plain text keeps only the words and line breaks, which is what you want for word counts, translation, search indexes, or pasting into a document. Markdown sits in between: it keeps headings, links, lists, and tables in a light syntax, which makes it a better fit for LLM prompts and RAG pipelines. For Markdown output, use the free URL to Markdown converter.
How do I extract text from many websites with an API?
The free tool reads one page at a time. To pull text from many pages in code, use the web scraping API: one request returns a page as Markdown or HTML for 1 credit, with JavaScript rendering and proxies included. Use the website crawler API to read a whole site from one starting URL, or the bulk web scraping API for long URL lists.
What can you do with text extracted from a website?
- Copy article text without ads, menus, and cookie banners
- Count words or check the reading level of a page
- Send page text to a translation or proofreading tool
- Build search indexes or text datasets from public pages
- Clean up HTML exported from an email builder or CMS
Frequently asked questions
Is the website to text tool free?
What does Main content only do?
Why is some text missing from the output?
Is my pasted HTML uploaded anywhere?
Does the text output keep links?
Can it extract text from pages built with JavaScript?
Is the website to text tool free?
Is my pasted HTML uploaded anywhere?
What does Main content only do?
Does the text output keep links?
Why is some text missing from the output?
Can it extract text from pages built with JavaScript?
More free tools
Keep exploring
- New
Design.md Generator
Plain-text design system from any URL: colors, type, components, in one file.
Styleguide API - New
Sitemap Checker and Validator
Validate a sitemap and see URL count, lastmod coverage, and errors.
Map URLs API - New
Random User Agent Generator
Current, real browser user agent strings, one or in bulk.
Web Scraping API
Ship an agent that actually knows things.
Free tier, 10-minute integration, and the same API powering agents at Mintlify, daily.dev, and Propane. No credit card to start.