Website to Text Converter
Paste any URL to extract clean text from a web page, including JavaScript sites, without menus or ads. Copy it or download a .txt file. Free, no signup.
How to extract text from a website
- Paste the page URL into the box above, or pick one of the examples.
- Leave Main content only on to get just the body text. Turn it off to keep every piece of visible text, including menus and footers.
- Turn on Keep link URLs if you want each link’s address after its text.
- Click Extract text, then copy the result or download it as a .txt file.
How do I copy text from a website without the formatting?
Copying from a browser carries fonts, colors, and links into Word or Google Docs. The text this tool returns has none of that, so it pastes cleanly anywhere. Paragraphs and headings stay on their own lines, list items get a dash or a number, and table cells are separated by tabs.
What if the website blocks copying or right-click?
Some pages turn off text selection or the right-click menu. Those settings only affect your browser. This tool reads the page’s HTML directly, so the text comes through either way. Text inside images, canvas elements, or embedded PDF viewers is not HTML text, so it cannot be extracted.
How do I download a website’s text as a .txt file?
Click Download .txt once the text appears. The file is named after the page address, such as en.wikipedia.org-wiki-Web-scraping.txt, so files from different pages do not overwrite each other.
How do I get only the article text from a page?
Keep Main content only on. It reads the page’s main element or article, and on pages without one it removes the header, navigation, footer, sidebars, and forms. Unlike reader view in Safari or Firefox, it also works on pages that are not articles, such as product, docs, and pricing pages.
How do I convert HTML to plain text?
Switch to the Paste HTML tab, paste your markup, and click Convert to text. The conversion runs in your browser with its built-in HTML parser, and nothing is sent to our servers. Code inside pre blocks keeps its spacing.
Should I use plain text or Markdown?
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 also keeps headings, links, lists, and tables in a light syntax, which LLMs and RAG pipelines read better. For Markdown output, use the free URL to Markdown converter.
What can you do with text extracted from a website?
- Paste a page into ChatGPT, Claude, or Gemini without menus and cookie banners
- Save an article’s text to read offline or quote in your notes
- Count words or check the reading level of a page
- Send page copy to a translation or proofreading tool
- Review site copy during a redesign or content migration
- Build search indexes or text datasets from public pages
How it compares to copy and paste and reader view
| Feature | Context.dev | Copy and paste | Browser reader view |
|---|---|---|---|
| Removes menus, ads, and footers | Yes | No | Yes |
| Works on product, docs, and pricing pages | Yes | Yes | Article pages only |
| Works when the page blocks selecting text | Yes | No | Usually |
| Pastes with no fonts, colors, or links | Yes | With paste as plain text | With paste as plain text |
| Download as a .txt file | Yes | No | No |
| Word and character count | Yes | No | No |
| Converts pasted HTML | Yes | No | No |
| API for thousands of pages | Yes | No | No |
Extract text from thousands of pages with the API
The free tool reads one page at a time. The web scraping API behind it returns any page as HTML or Markdown for 1 credit, with JavaScript rendering and proxies included. Use the crawl API to read a whole site from one URL, or the bulk scraping API for long URL lists.
Frequently asked questions
Is this website to text converter free?
Yes. Extracting text from a URL is free for up to 20 pages a day, with no account, extension, or API key. Pasted HTML is converted in your browser with no daily limit.
Can it extract text from pages built with JavaScript?
Yes. The page is rendered in a real browser before the text is read, so content built by React, Vue, or other client-side frameworks is included.
Can I get text from a website that blocks copy and paste?
Usually, yes. Pages that turn off text selection or right-click only block copying inside your browser. This tool reads the page’s HTML instead, so any text that is in the HTML comes through.
Does it work on pages behind a login or paywall?
No. The tool sees a page the way a logged-out visitor does, so text behind a login, paywall, or form is not included.
What does Main content only do?
It keeps the page’s main element or article when it has one, and otherwise removes the header, navigation, footer, sidebars, and forms. Turn it off to keep every piece of visible text on the page.
Does the text output keep links?
By default the output keeps link text only. Turn on Keep link URLs to add each link’s full address in parentheses after its text. Relative links are resolved against the page URL.
Is my pasted HTML uploaded anywhere?
No. HTML you paste is converted to text in your browser and is not sent to Context.dev. Only URL mode makes a request, because the page has to be fetched and rendered first.
Why is some text missing from the output?
The tool drops scripts, styles, hidden elements, buttons, and form fields, and Main content only also drops page chrome. Text drawn inside images or canvas elements is not text in the HTML, so it cannot be extracted.
Keep exploring
See all free tools- New
URL Extractor
Every link on a page, split internal and external, exported as CSV or TXT.Scrape API (HTML) - New
Image Extractor
Every image on a page, with sizes and alt text, downloadable as a ZIP.Scrape API (Images) - New
URL to JSON
Name the fields you want and get structured JSON from any page.Scrape API (JSON)
Start building with live web context.
Scrape, search, and research the web with one API. Bring the results straight into your product.