Got a PDF full of text you need to copy out, but selecting it just doesn’t work? Or maybe you’ve got a scanned document or a photo of a page and you need the actual words out of it? You’re not alone. This comes up constantly, whether you’re dealing with work documents, old scanned files, or images of receipts and forms.
The good news is that in 2026, extracting text from PDFs and images is way easier than it used to be. Between built-in OS tools, AI-powered options, and free online services, there’s a solid method for pretty much every situation. The key thing to know upfront: not all PDFs are the same. Some are “native” PDFs with real selectable text underneath, and others are basically just scanned images saved as a PDF. The approach you take depends on which type you’re dealing with, and we’ll cover both.
Native PDFs vs. Scanned PDFs: What’s the Difference?
Before you pick a tool, it helps to know what you’re working with. There are two types of PDFs:
- Native (text-based) PDFs: These were created digitally, exported from Word, Google Docs, or similar. The text is actually “in” the file, so you can often just select and copy it.
– Scanned (image-based) PDFs: These are photos or scans of physical pages saved as a PDF. There’s no real text inside, just pixels. To get the text out, you need OCR (Optical Character Recognition), which is software that reads the image and converts it into actual text.
Not sure which type you have? Try clicking on a word in the PDF. If you can highlight it, it’s a native PDF. If nothing happens or the whole page gets selected as one block, it’s scanned, and you’ll need OCR.
How to Extract Text from a Native PDF
If your PDF has real, selectable text in it, you’ve got a few easy options, and you probably don’t need to install anything at all.
Method 1: Copy and Paste in Your Browser
This is the fastest method for most people. Both Chrome and Edge can open PDFs natively, and you can just select and copy the text directly.
- Open your PDF in Chrome or Microsoft Edge (just drag it into the browser window).
2. Press Ctrl + A (Windows) or Cmd + A (macOS) to select all the text.
3. Press Ctrl + C / Cmd + C to copy it.
4. Paste it into Word, Notepad, Google Docs, wherever you need it.
That’s it! For a clean, native PDF, this works perfectly and takes about ten seconds.
Method 2: Use Preview on macOS
If you’re on a Mac, Preview has a handy built-in text extraction feature in macOS Sequoia (15.4 and later).
- Open your PDF in Preview (double-click the file).
2. Click the Tools menu at the top.
3. Select Extract Text.
4. Save the resulting text file wherever you like.
Clean, quick, and no third-party tools needed.
Method 3: Use pdftotext (Command Line, Windows, macOS, Linux)
If you’re comfortable with the command line and need to process multiple files, pdftotext from the Poppler utilities is a great free option. It handles native PDFs really well.
Install it first:
- macOS: Run
brew install popplerin Terminal (requires Homebrew).
– Linux (Ubuntu/Debian): Run sudo apt install poppler-utils.
– Windows: Download the Poppler for Windows package from the official GitHub releases page.
Then run:
pdftotext yourfile.pdf output.txt
Your extracted text will be saved as output.txt in the same folder. Simple and reliable for batch processing.
How to Extract Text from Scanned PDFs and Images (OCR)
This is where things get a little more interesting. If your PDF is scanned, or if you’ve got a photo or image file with text in it, you’ll need OCR to pull the text out. The accuracy of OCR has improved dramatically in recent years, jumping from around 80–90% back in the day to 95–99% with modern AI-powered tools. Here are the best options in 2026.
Method 1: Google Drive (Free, No Install, Works Great)
This is honestly one of the best free OCR methods out there right now, and most people don’t know it exists. Google Drive can open image-based PDFs and images directly in Google Docs, which automatically runs OCR on them.
- Go to drive.google.com and sign in.
2. Upload your scanned PDF or image file.
3. Right-click the uploaded file and select Open with > Google Docs.
4. Google Docs will open with the extracted text below the image, so just copy what you need.
5. Alternatively, go to File > Download > Plain text (.txt) to save the whole thing.
It supports over 100 languages and hits around 98% accuracy on clean scans. Honestly, for most people this is all you’ll ever need.
Method 2: Built-In OS Tools (Windows 11 and macOS)
Both Windows 11 and macOS have solid built-in OCR tools now, so no extra software is required.
On Windows 11 (24H2)
- Open your image in the Photos app.
2. Look for the Text actions button in the toolbar at the top.
3. Click it, and Windows will highlight all detected text in the image.
4. Click Copy all text to grab everything at once.
Windows 11’s Snipping Tool (on Copilot+ PCs) also has OCR built in. Just snip any part of your screen or image and use the text extraction feature.
On macOS Sequoia
Apple’s Live Text feature (now with AI handwriting support in Sequoia 15.4) makes this dead simple:
- Open your image in Preview or the Photos app.
2. Hover your cursor over any text in the image, and it’ll become selectable automatically.
3. Click and drag to select the text you want, then copy it as normal.
Method 3: Use an AI Tool (Best Accuracy)
If you’ve got a messy scan, handwritten notes, or a document with complex tables and formatting, AI tools are now genuinely impressive at handling them. Here are the best free options:
- ChatGPT (GPT-4o): Upload your image or PDF and type something like “Extract all the text from this document.” It handles tables, handwriting, and mixed layouts really well, hitting close to 99% accuracy on clean documents.
– Google Gemini: Similar to ChatGPT; upload your file and ask it to extract the text. Works great for multilingual documents too.
– Claude (Anthropic): Particularly good with structured documents like forms and tables. Upload and ask it to pull the text.
The free tiers of all three are good enough for occasional use. If you’re doing this regularly or with sensitive documents, keep reading for local options.
Method 4: Adobe Acrobat Reader (Free Tier)
Adobe Acrobat Reader DC (version 2026.001) includes basic OCR extraction in its free tier, which is useful if you already have it installed.
- Open your scanned PDF in Adobe Acrobat Reader.
2. Click Tools in the top menu.
3. Select Export PDF > Text.
4. Choose where to save your text file and click Export.
The paid Acrobat Pro version adds batch processing and AI-powered refinement, but the free tier handles most everyday documents just fine. If you need more control over your PDFs, check out our roundup of the best PDF editors for Windows.
Method 5: PaddleOCR (Free, Local, Best for Privacy)
If you’re dealing with sensitive documents and don’t want to upload anything to the cloud, PaddleOCR is the best free local option available right now. It’s open-source, supports 80+ languages, and handles tables and handwriting much better than older tools like Tesseract.
You’ll need Python installed. Then run these commands in your terminal:
pip install paddlepaddle paddleocr
paddleocr --image_dir yourimage.png --lang en
It’ll print the extracted text right in the terminal, or you can redirect it to a file. Not the most beginner-friendly option, but it’s worth knowing about if you need offline processing with high accuracy.
Quick Comparison: Which Method Should You Use?
| Method | Best For | Cost | Accuracy |
|---|---|---|---|
| Copy/paste in browser | Native PDFs with selectable text | Free | 100% (if text-based) |
| Google Drive / Docs | Scanned PDFs and images, easy setup | Free | ~98% |
| Windows 11 Photos / Text Actions | Quick image OCR on Windows | Free (built-in) | ~95% |
| macOS Live Text (Preview) | Quick image OCR on Mac | Free (built-in) | ~95% |
| ChatGPT / Gemini / Claude | Complex layouts, handwriting, tables | Free tier available | ~99% |
| Adobe Acrobat Reader (free) | Scanned PDFs, familiar interface | Free | ~95% |
| PaddleOCR (local) | Privacy-sensitive docs, batch processing | Free (open-source) | ~97% |
Tips and Troubleshooting
Common Issues
- Text comes out garbled or words run together: This is a known quirk of PDFs. The format doesn’t always store spaces explicitly, so tools have to guess where words end. Try a different tool (Google Drive tends to handle this better than basic copy-paste). If you’re comfortable with a little code, a Python regex like
re.sub(r'([a-z])([A-Z])', r'\1 \2', text)can clean up some of the worst cases.
– Chrome is automatically extracting text from my PDF images: Chrome 128+ has a flag that auto-OCRs image-based PDFs. To turn it off, go to chrome://flags, search for “PDF image text interactable,” and disable it, then relaunch Chrome.
– Low accuracy on a blurry or low-quality scan: Try preprocessing the image first. Increasing contrast and sharpness in any photo editor (even the built-in Windows or macOS tools) can make a big difference before running OCR. AI tools like ChatGPT handle low-quality images better than traditional OCR.
– The PDF is password-protected: Most tools will ask for the password before they can extract anything. With pdftotext, you can pass it like this: pdftotext -opw yourpassword file.pdf output.txt.
– Non-English or mixed-language documents: Google Drive, PaddleOCR, and AI tools all handle multilingual documents well. Tesseract also supports 200+ languages if you install the right language packs.
Pro Tips
- Try more than one tool: Different tools handle different PDFs better. If one gives you messy output, try another. It only takes a minute.
– Use your phone for quick image OCR: Google Lens (Android) and iOS Live Text let you point your camera at any text and copy it instantly. Great for receipts, signs, or physical documents. You can also use apps to scan and manage receipts if you need to organize them afterward.
– Batch processing: If you’ve got a stack of files to convert, pdftotext or PaddleOCR are your best friends. Both can process multiple files in one go from the command line.
– Sensitive documents: If privacy matters, stick to local tools like PaddleOCR, Tesseract, or the built-in OS features. Avoid uploading confidential files to cloud services or AI tools.
Wrapping Up
Whether you’re dealing with a native PDF, a scanned document, or a photo of a page, there’s a solid free method for getting the text out in 2026. For most people, Google Drive’s built-in OCR or the native tools in Windows 11 and macOS are all you’ll ever need. No installs, no fuss. If you’ve got trickier documents (handwriting, complex tables, low-quality scans), it’s worth trying one of the AI tools like ChatGPT or Gemini, which are genuinely impressive at this point. And if privacy is a concern, PaddleOCR running locally is a great option that doesn’t send your files anywhere. Start with the simplest method that fits your situation, and if the output isn’t clean, just try the next one on the list. You’ll find something that works.