TruePage · Osabee

How to save or extract the text of a webpage (plain text, editable text or searchable PDF)

By Osabee, the makers of TruePage · Updated September 29, 2026

The fastest way to save a webpage as text is to press Ctrl + A (Cmd + A on Mac) to select everything, copy it, and paste it into a plain text editor such as Notepad or TextEdit, or paste it without formatting with Ctrl + Shift + V (Cmd + Shift + V on Mac) in apps that support it. Firefox can also save a page directly as a .txt file: press Ctrl + S or Cmd + S and choose Text Files as the file type. Chrome, Edge and Safari have no text option in Save page as.

Which method is best depends on what you want to do with the words next. Plain text is ideal for notes, translation and AI tools. Editable text belongs in Word or Google Docs. A searchable PDF keeps the text together with the layout and links, which is better for archiving.

Plain text, editable text or searchable PDF?

Format What you get Good for Loses
Plain text (.txt) Just the words, no formatting Notes, translation, AI tools, scripts Headings, links, images, tables
Editable document (.docx, Google Docs) Text with basic formatting you can change Rewriting, quoting, reports Original page design
Searchable PDF Real text inside a fixed layout, with links Archiving, sharing, citing Easy editing

Pick the format first, then the method.

Method 1: copy and paste as plain text

This works in every browser on every computer.

  1. Open the page. For a cleaner result, switch to Reader mode first (see Method 3).
  2. Select the text: Ctrl + A or Cmd + A selects the whole page, or drag from the first word to the last.
  3. Copy with Ctrl + C or Cmd + C.
  4. Paste into a plain text editor: - Windows: Notepad strips formatting automatically. Paste with Ctrl + V and save as .txt. - Mac: in TextEdit, choose Format > Make Plain Text (or Cmd + Shift + T) before pasting, then save.
  5. To paste into a document without the page's fonts and colors, use Ctrl + Shift + V (Cmd + Shift + V on Mac) in Google Docs, Paste and Match Style (Cmd + Option + Shift + V) in many Mac apps, or Keep Text Only from the Paste Options in Microsoft Word.

Select all picks up everything, including menus, footer links and cookie notices, so expect some cleanup at the top and bottom.

How to select all the text on a webpage (and only the part you want)

Ctrl + A (Cmd + A on Mac) selects the whole document, but only if the page itself has the focus. Three situations change the result:

Method 2: save the page as a .txt file in Firefox

Firefox is the only major desktop browser that saves a page directly as plain text.

  1. Press Ctrl + S (Windows) or Cmd + S (Mac), or open the ☰ menu and choose Save Page As....
  2. In the file type menu, choose Text Files.
  3. Pick a name and folder and click Save.

You get a .txt file with the page's text in reading order. Links are dropped and some layouts produce odd line breaks, but for articles it is quick and clean.

In Chrome, ⋮ > Cast, save, and share > Save page as... offers Webpage, HTML Only, Webpage, Single File and Webpage, Complete, none of which is plain text. Google describes these on its save pages help page. Edge offers the same choices, and Safari's File > Save As offers Web Archive and Page Source.

Method 3: Reader mode for clean text

Reader mode strips menus, ads and sidebars and leaves the article. Copying from there gives far cleaner text than copying the raw page.

Then select all, copy and paste as in Method 1. Reader mode is offered only on pages the browser recognises as articles.

Method 4: when a site blocks selecting or copying

Some sites disable text selection or right-click. The text is still in the page; there are a few ways to reach it.

Respect copyright: extracting text for personal notes or research is one thing, republishing it is another.

Method 5: get editable text in Word or Google Docs

If you need to edit the text with its headings and paragraphs roughly intact, go through a PDF or paste with formatting.

Save the text as a Word (.docx) file

No browser saves a page straight to .docx, but two short routes get you there.

  1. Microsoft Word: copy the text, paste it into a new document and choose File > Save As with the Word Document (.docx) format. In current Microsoft 365 versions, Ctrl + Shift + V (Cmd + Shift + V on Mac) pastes text only, without the site's fonts and colors.
  2. Google Docs: paste into a new document, then use File > Download > Microsoft Word (.docx). The same menu also offers Plain Text (.txt), which makes Google Docs a handy way to produce a .txt file from Chrome on any computer.

Paste with formatting if you want to keep headings, lists and links; paste as text only if you want a clean document to restyle.

Method 6: text inside images

Sometimes the text you need is part of an image, a screenshot or a scanned document embedded in the page. Copying will not reach it, but optical character recognition will.

Check the result carefully, since recognition errors are common with small or stylised fonts.

Method 7: on your phone

On iPhone and Android, press and hold a word, drag the selection handles over the text you want (Chrome on Android also offers Select all), tap Copy, and paste into Notes or any text app. Reader view in Safari, or the simplified view in Chrome for Android, cuts out menus first. For long pages, saving as PDF and copying from the PDF can be easier than dragging selection handles across dozens of screens; our guide to saving a webpage as PDF on any device has the phone steps.

Extensions, online tools and the command line

Several extensions and websites extract text for you. Web.txt, for example, converts pages to .txt files; on the Chrome Web Store (September 2026) it had about 2,000 users and a 3.2 rating from 8 ratings. Online "URL to text" tools fetch the page from their own servers, which means they cannot see pages you are signed in to, and you are sending the address to a third party.

If you are comfortable with a terminal, text browsers such as lynx can dump a page's text with a single command (lynx -dump followed by the address), and developers often use scripts that fetch the HTML and strip the tags. These are the right tools for many pages at once.

Extract the text of a whole website

Every method above works on one page at a time, and so does TruePage: it converts the page open in your tab and does not crawl a website. For dozens or hundreds of pages you need a tool that follows links.

Crawling someone else's site sends many requests in a short time. Add a pause between requests (wget's --wait=2), check the site's terms, and keep the copy for personal use.

A searchable PDF: text plus layout in one file

A PDF created from the print dialog already contains real text: you can search it, copy from it, and open it in Word to edit. When you need to keep the text and also prove how the page looked, a searchable PDF is often better than a .txt file.

If you want the text but not the images, our TruePage extension has a mode for that. Disclosure: TruePage is made by Osabee, the publisher of this guide. Its Text only mode removes images, video, audio, canvas, SVG, iframes and embeds, and keeps the text and links in a PDF with selectable, searchable text; on a news homepage we measured 13.5 MB in Text only against 62.7 MB in Full page. It scrolls the whole page first and disables print-only stylesheets, so text the print dialog would hide is included. To be clear about the limits: it produces a PDF, not an editable .docx or .txt file, and it works one page at a time. It offers 4 free conversions, then a one-time $14.99, €12.99 or £10.99, on the Chrome Web Store and Edge Add-ons. If ads in the page are your concern, see our guide to saving an article as a PDF without ads.

Which method should you use?

Frequently asked questions

How do I save a webpage as a text file?

To save a webpage as a text file, the quickest route is Firefox: press Ctrl + S or Cmd + S, choose Text Files as the file type and save. In Chrome, Edge or Safari, press Ctrl + A or Cmd + A to select the page, copy it, paste it into Notepad or TextEdit in plain text mode, and save the file with the .txt extension.

How do I copy text from a website that does not allow copying?

To copy text from a website that does not allow copying, open the page in Reader mode, which rebuilds the article without the site's restrictions. Other options are saving the page as a PDF and copying from the PDF, or opening the DevTools console with F12 and running copy(document.body.innerText). Use extracted text for personal reference and respect the site's copyright.

How do I convert a webpage to editable text in Word?

To convert a webpage to editable text in Word, select the text on the page, copy it and paste it into Word, choosing Keep Text Only from the Paste Options if you want no web formatting. For a whole page with headings, save the page as a PDF first and open that PDF in Word, which converts it into an editable document.

Can Chrome save a webpage as plain text?

Chrome cannot save a webpage as plain text directly: its Save page as dialog offers only Webpage, HTML Only, Webpage, Single File and Webpage, Complete. To get plain text from Chrome, select all, copy and paste into a plain text editor, use reading mode first for cleaner text, or run copy(document.body.innerText) in the DevTools console.

How do I select all the text on a webpage?

To select all the text on a webpage, click on an empty part of the page and press Ctrl + A on Windows or Cmd + A on Mac. If only a box gets selected, the focus was inside a field or a scrolling panel. To select just the article, click before the first word, scroll to the end, hold Shift and click after the last word, then copy with Ctrl + C or Cmd + C.

How do I extract text from an image on a webpage?

To extract text from an image on a webpage, use optical character recognition. In Chrome, right-click the image and choose Search image with Google Lens, then select the text. On Mac, iPhone and iPad, Live Text lets you select text inside images in Safari. On Windows 11, the Snipping Tool's Text actions button copies text from a screen capture.

Is a PDF or a text file better for saving webpage text?

A text file is better for saving webpage text when you plan to edit, translate or feed it to another tool, because it contains only the words. A PDF with real text is better for archiving and citing, because it keeps the words together with layout, links and images, and it stays searchable. Many people keep a PDF for the record and copy the text when needed.

How do I save the text of a webpage on iPhone or Android?

To save the text of a webpage on iPhone or Android, press and hold a word, drag the selection handles over the text (or tap Select all where offered), tap Copy, and paste into Notes or another text app. Switching to Reader view first removes menus and ads. For very long pages, saving the page as a PDF through Share and Print, then copying from the PDF, is often easier.

More guides