PDF to text on Mac can be done locally in your browser for one non-empty, selectable PDF of up to 25 MiB and 40 pages, producing a page-separated UTF-8 TXT file.
The PDF to Text Converter provides that browser workflow. It extracts the selectable text layer that PDF.js can read from each page rather than taking a picture of the page and trying to recognize its letters. The original PDF is never modified. This method runs in your Mac browser rather than as a native Preview export, so the first important check is whether the document contains selectable characters.

Check whether your Mac PDF has a text layer
Open the PDF in Preview or another PDF viewer on your Mac and try to drag across a line of words. If the words highlight, the file probably contains a usable text layer. If the page looks clear but the words cannot be selected, the visible content may be an image. Digitally created PDFs usually store characters, font references, positions, and instructions for displaying text. Image-only scans usually store a page-sized picture instead. The converter can read the first structure, but it does not recognize letters inside pixels.
| PDF source | What the converter can extract | Recommended next step |
|---|---|---|
| Digitally created PDF with selectable text | Text items that PDF.js can expose, normally in the document’s encoded item order | Convert it, then check spacing, line breaks, and reading order |
| Mixed PDF with text pages and scanned pages | Text from pages with a readable text layer; image-only areas are not recognized | Convert the readable pages and use a separate OCR workflow for scan-only material |
| Image-only scanned PDF | Little or no text because the converter does not perform optical character recognition | Run the document through a dedicated OCR workflow before expecting editable text |
If you can see words but cannot select them in a normal PDF viewer, an OCR tool is usually required, and this converter will not invent a transcript. For a deeper explanation of the text layer and local extraction, see PDF to Text Explained: How Local Extraction Works.
Convert PDF to text on Mac
The supported conversion takes place entirely in the browser on your Mac:
- Open the converter in your browser. Load the PDF to Text Converter page and make sure the file is available on the Mac. The tool does not select a document automatically.
- Confirm the file qualifies. You need one non-empty PDF that is no larger than 25 MiB and contains no more than 40 pages. The converter also applies bounded text-item and output-character budgets, so an unusually complex document can exceed a processing limit even when its file size and page count are acceptable.
- Choose the local PDF. In the Mac file chooser, select the PDF you want to convert. Before continuing, confirm that its words can be selected in a normal PDF viewer; otherwise, plan on using OCR for the scanned content.
- Click Convert to Text. The converter requests PDF.js resources and reads bounded text items from each page in page order. Parsing and text assembly run in the current browser tab.
- Review the preview. Check the page and character counts, look for the separator between pages, and compare representative sections with the source. Empty pages remain represented so that page numbering stays aligned with the original document.
- Copy or download the result. Copy the assembled text directly, or download it as a UTF-8 TXT file. The download filename is derived from the source filename, and both copy and download use the same assembled result.
If the PDF exceeds a file, page, text-item, or character limit, the tool returns an error rather than a partial result that could look complete. Changing the input clears any earlier output, so the displayed counts cannot silently refer to the previous document.
Understand reading order and spacing
Even a PDF with a valid text layer is not a word-processing document. Its text is positioned on the page rather than stored as a sequence of paragraphs and table cells. The converter follows the item order supplied by PDF.js, honors explicit end-of-line markers, and inserts conservative spaces between adjacent items. That creates a readable plain-text draft, but it does not recreate the page’s visual composition.
- Multi-column pages and sidebars: Encoded item order can differ from the order in which a person reads the page visually.
- Tables and forms: Cell relationships, labels, and values may not appear in a structure that mirrors the original grid.
- Headers, footers, and hidden text: Repeated or hidden items can remain because the result reflects the PDF’s own structure and PDF.js interpretation.
- Unusual character encoding: Text drawn one glyph at a time, ligatures, and accessibility-related ordering can affect spacing and sequence.
The converter does not claim to reconstruct columns, table cells, or semantic headings perfectly. Its preview is inert plain text: embedded scripts are not executed, links are not followed, external resources are not fetched, and extracted content is not interpreted as HTML. The underlying text reader is Mozilla’s PDF.js project, which supplies the text-item order used during extraction.
Know what the downloaded TXT file preserves
Each page receives a clear separator in the combined output. Those boundaries make it easier to see where one page ends and the next begins, especially when a footer would otherwise run directly into a heading. Empty pages are retained rather than silently discarded, while explicit line endings are preserved when they are exposed by the PDF.
The finished document is plain text encoded as UTF-8. The browser creates the download as a Blob, a browser object used to hold file data; MDN’s Blob documentation explains that mechanism in more detail. The downloadable filename is deterministic and derived from the original PDF name. Font styling, column geometry, table borders, and other visual formatting are not retained, but the result is portable, searchable, and ready to paste into another editor.
Keep the document local and know the failure cases
Parsing, text extraction, preview, copying, and TXT generation happen in the current browser tab. The PDF and its extracted text are not uploaded to a document-processing service. PDF.js and its shared worker are requested only after you press Convert to Text, so the library-loading step is separate from selecting and processing your document.
| Constraint | Effect on a Mac conversion |
|---|---|
| One non-empty PDF | The converter handles one local document at a time; empty or batch inputs are outside the supported input model |
| 25 MiB maximum file size | A larger PDF cannot complete under the converter’s file-size limit |
| 40-page maximum | A PDF with more pages cannot complete under the converter’s page limit |
| Bounded text budgets | Limits apply to items per page, total items, individual item length, and total output characters |
| Error instead of partial completion | An over-limit document produces an error rather than an incomplete TXT file that appears finished |
| Problem documents may fail | Encrypted, malformed, unsupported, or damaged PDFs can be rejected |
The converter does not bypass passwords, repair damaged PDFs, validate digital signatures, or determine whether the extracted content is accurate or safe. If you need to preserve the exact appearance rather than obtain its text, render the pages as images instead. If the source contains only scanned pictures, use OCR rather than expecting this text-layer tool to reconstruct them.
Review the text before you rely on it
This workflow is well suited to quoting accessible text, creating a rough searchable draft, checking whether a PDF has a usable text layer, and moving simple page text into another editor. The plain-text result can then be searched, quoted, edited, or pasted into a note while remaining easy to compare with the source.
- Compare important quotations directly with the PDF before reusing them.
- Review contracts, tables, scientific notation, and multi-column pages especially carefully.
- Check whether repeated headers or footers should be removed in your destination document.
- Confirm that pages expected to contain text are not empty because they were image-only scans.
Treat the TXT file as an extracted working copy, not as proof that the PDF’s content has been checked. A quick source comparison catches most spacing, ordering, and OCR problems before the text is used in a report, quotation, or draft.
If you're weighing options, PNG to PDF for Canva: A Lossless Local Workflow covers this in detail.