You can usually copy text directly from a PDF, but some files are scanned images or have copy restrictions. Instead of retyping pages manually, use your PDF reader, a word processor, an online converter, or OCR software to extract the text.
The right method depends on whether the PDF contains selectable text or is a scanned document.
Check Whether the PDF Text Is Selectable
Open the PDF and try to select a sentence with your mouse or finger.
- If the text highlights, the PDF contains selectable text. You can usually copy and paste it directly.
- If you cannot highlight anything, the PDF may be a scanned image or a flattened file. You will need OCR—Optical Character Recognition—to convert the image text into editable text.
This quick test saves time. There is no point running OCR on a PDF whose text can already be copied.
Copy and Paste Text Directly
For selectable PDFs, this is the simplest method.
- Open the PDF in a PDF reader.
- Select the text you need.
- Copy it using Ctrl + C on Windows, Command + C on Mac, or the copy option in the app.
- Paste it into Word, Google Docs, Notes, or another editor using Ctrl + V or Command + V.
- Clean up line breaks, extra spaces, and formatting.
This works well for short sections, quotes, references, or single pages. For an entire long document, a PDF-to-Word conversion is usually cleaner.
Extract Text With Microsoft Word
Word can convert many text-based PDFs into editable documents.
- Open Microsoft Word.
- Click File and select Open.
- Browse to the PDF file.
- Select it and click Open.
- Word will display a message saying it will convert the PDF into an editable document.
- Click OK.
- Review the converted text for formatting errors.
Word works best with PDFs that contain real selectable text. Scanned PDFs may convert poorly or produce an image-based document unless OCR is available.
After conversion, check:
- Paragraph breaks
- Bullet points
- Tables
- Headers and footers
- Columns
- Special characters
- Page numbers mixed into the text
Extract Text With Google Docs
Google Docs can extract text from some PDFs stored in Google Drive.
- Upload the PDF to Google Drive.
- Right-click the PDF file.
- Select Open with.
- Choose Google Docs.
- Wait for Google Docs to process the file.
- Review the resulting document.
Google Docs may automatically apply OCR to scanned PDFs, but results vary based on scan quality, handwriting, layout, and language. It is useful for simple documents, but complex tables, multi-column layouts, and poor-quality scans often need cleanup.
Use Adobe Acrobat
Adobe Acrobat provides more reliable extraction and export options.
Copy selected text
- Open the PDF in Acrobat.
- Use the selection tool to highlight the text.
- Right-click and choose Copy.
- Paste it into your preferred editor.
Export the whole PDF
- Open the PDF in Acrobat.
- Click Tools.
- Select Export PDF.
- Choose an output format, such as Microsoft Word, plain text, or spreadsheet format.
- Export and save the file.
- Review the converted document.
Acrobat can also run OCR on scanned documents, turning image-based text into selectable and editable text. This is useful for contracts, reports, and archived documents where accuracy matters.
Use OCR for Scanned PDFs
OCR software recognizes letters and words in an image and converts them into editable text. Use OCR when:
- You cannot select text in the PDF
- The PDF was created by scanning paper documents
- The text appears as an image
- Copying produces no text or only garbled characters
OCR workflow
- Open the scanned PDF in an OCR-enabled tool.
- Choose Recognize Text, Run OCR, or Convert to Word.
- Select the document language if prompted.
- Start the OCR process.
- Export the result to Word, plain text, or another editable format.
- Proofread the extracted text carefully.
OCR is powerful but not perfect. It can struggle with:
- Low-resolution scans
- Blurry or skewed pages
- Handwriting
- Tables and multi-column layouts
- Unusual fonts
- Stamps, signatures, or watermarks
- Mixed languages
For important documents, compare the extracted text with the original PDF, especially names, numbers, dates, and financial figures.
Use an Online PDF-to-Text Converter
Online converters are convenient for non-confidential PDFs.
- Open an online PDF-to-text or PDF-to-Word converter.
- Upload the PDF.
- Choose the output format.
- Start the conversion.
- Download the extracted text or Word file.
- Review and clean up the result.
Use online converters for public documents, articles, receipts you do not mind uploading, or non-sensitive reference material. Avoid uploading confidential contracts, identification documents, medical records, financial statements, or unpublished business files unless you trust the service and its data-handling policy.
Extract Text From a PDF on a Phone
Many mobile PDF apps include copy, export, or OCR features.
- Open the PDF in a PDF reader app.
- Try selecting the text.
- If selectable, copy and paste it into Notes, Google Docs, Word, or email.
- If it is scanned, use the app’s OCR or “extract text” feature.
- Review the recognized text before using it.
Mobile OCR works well for clear printed pages, but it may struggle with curved pages, shadows, glare, handwriting, or small print. Scan documents flat, in good lighting, and at a steady angle for better results.
Extract Text Using Command-Line Tools
For technical users, command-line tools can extract text from text-based PDFs quickly.
A common example is:
pdftotext document.pdf output.txt
This creates a plain-text file called output.txt.
Command-line extraction is useful when you need to process many PDFs, automate a workflow, or extract plain text without formatting. It is less suitable for complex layouts, tables, or scanned documents unless paired with OCR tools.
Clean Up Extracted Text
PDF extraction often produces extra line breaks, strange spacing, or broken paragraphs. Clean the text after extracting it.
- Remove unnecessary line breaks within paragraphs.
- Remove extra spaces.
- Fix words that were split across lines.
- Remove repeated headers, footers, and page numbers.
- Check tables and reconstruct them if needed.
- Correct OCR errors in names, numbers, dates, and technical terms.
- Restore formatting such as headings, lists, and bold text.
For example, OCR may turn 2026 into 2O26 or misread rn as m. Always proofread important details against the original PDF.
Common Problems and Fixes
Copying produces no text
The PDF is likely scanned or protected. Try OCR, or check whether the document has copy restrictions.
Extracted text is garbled
This can happen with unusual fonts, damaged PDFs, or poor OCR. Try a different PDF reader, use a higher-quality scan, or run OCR with the correct language selected.
Tables become messy
PDF tables often do not convert cleanly. Export to a spreadsheet format if your tool supports it, or copy the table into Excel or Google Sheets and repair the columns manually.
Columns merge together
Multi-column layouts can confuse converters. Extract one column at a time, use a more advanced PDF converter, or manually reorganize the text.
The PDF is password protected
You may need the password or permission to extract text. Only extract content from documents you are authorized to use.
Quick Method Guide
| Situation | Best method |
|---|---|
| Short selectable section | Copy and paste |
| Whole text-based PDF | Export to Word |
| Scanned PDF | OCR |
| Quick non-confidential conversion | Online converter |
| Complex tables | PDF-to-Excel conversion or manual repair |
| Many PDFs or automation | Command-line extraction |
| Confidential document | Offline PDF reader or OCR tool |
First check whether the PDF text is selectable. Copy and paste for short sections, export to Word for full documents, and use OCR for scanned pages. Always proofread extracted text—especially names, numbers, dates, and tables—before reusing it.