How to Extract Highlighted PDF Text with Page Numbers
Question details
The user needs to extract highlighted text from a PDF document and export it into a Word file, ensuring that the corresponding PDF page labels are included.

- Product
- PDF Editor
- Device & OS
- not provided
- Scenario
- Reviewing a lengthy PDF document and attempting to compile all critical highlights and annotations into a structured Word document for reporting or summarizing.
- Observed behavior
- Highlighted sections are embedded within the PDF, requiring a specialized method or tool to automatically pull the text and its associated page number to avoid manual copy-pasting.
Verify that your PDF document contains actual selectable text (not a scanned flat image) and that the highlights were created using a standard PDF text annotation tool.
Export Highlights Using the Create Comment Summary Feature
Use this built-in feature to export your highlighted text and page numbers directly, provided your PDF editor is configured to copy highlighted text into comments.
Many advanced PDF editors, like Adobe Acrobat, have an option to automatically copy highlighted text into a comment pop-up. If this setting was enabled when you made your highlights, exporting them with page numbers is a straightforward process.
Launch your PDF editor and open the document. Navigate to the 'Comments' or 'Annotations' pane on the right side of the screen.
Click the options menu (often represented by three dots) within the Comments pane and select 'Create Comment Summary'.
Choose a layout that includes the highlighted text alongside the page numbers. Select whether to export this summary as a new PDF or print it.
Once the summary PDF is generated, use your PDF editor's 'Export to Word' function to convert the summary into an editable Microsoft Word document.

Retroactively Copy Highlights using a Specialized Script
Apply a specialized PDF script or extraction tool if your highlights were created without previously copying the text into the comment pop-ups.
Efficiently Manage PDF Highlights and Annotations with WPS PDF
WPS Office provides an all-in-one PDF reader and editor that simplifies annotating documents. With robust features for commenting, converting, and extracting, managing your highlights becomes significantly easier.
- 1. Open PDF in WPS Office: Launch WPS Office and open your highlighted PDF document.
- 2. View Annotations: Navigate to the 'Comment' tab and open the comment list to view all your highlights and associated pages.
- 3. Convert to Word: Click on the 'PDF to Word' tool in the 'Tools' tab to seamlessly convert your document and annotations into a fully editable format.

Frequently Asked Questions
Why is my comment summary showing blank highlights without the text?
This occurs if your PDF editor was not set up to automatically copy the highlighted text into the comment pop-up at the time you were highlighting. You must either enable this setting beforehand or use a retroactive script to fix existing highlights.
Can I export highlighted PDF text directly to Excel?
Yes, many PDF editors allow you to export the comment summary or data field as a CSV file. You can then import this CSV file directly into Microsoft Excel or WPS Spreadsheet to sort your highlights and page numbers.
Does extracting highlights work on scanned PDFs?
No, if your PDF is a scanned image, the highlighting tool acts as a transparent drawing marker rather than a text selector. You must first perform Optical Character Recognition (OCR) to convert the image into searchable text before highlighting and extracting.




