Remove Black Lines and Markup from a Word Document PDF
Question details
Remove black revision lines, red markup, and margin indicators when converting a Word document to PDF.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- The user wants to create a clean PDF from a Word document containing tracked changes or comments.
- Observed behavior
- The exported PDF shows black lines, red markup, or indicators in the margins.
Open the original Word document and check the Review tab for tracked changes and comments. If you need to retain the revision history, use File > Save As to create a separate working copy before accepting changes.
Accept revisions and delete comments before exporting
Use this method to permanently remove tracked changes and comments from the working document before creating a clean PDF.
Open the Word document, then select the Review tab.
In the Changes group, open the arrow next to Accept and choose Accept All Changes. If the option is unavailable, check whether the document has tracked changes or is protected.
On the Review tab, open the arrow next to Delete in the Comments group and select Delete All Comments in Document, if comments are present.
Review the document for remaining markup, then use File > Save As or Export and select PDF. Open the new PDF to confirm the lines and markup are gone.

Print to PDF without markup while retaining revisions
Use this option if you want a clean PDF but need to keep tracked changes and comments in the Word document.
Remove document markup and export a clean PDF with WPS Writer
Open the Word document in WPS Writer, accept tracked changes and remove comments, then export the cleaned document to PDF.
- 1. Open the document: Launch WPS Writer and use Open to select the Word document. Use Save As to create a separate copy if you need to retain its revisions.
- 2. Accept tracked changes: Select Review, open the Accept menu, and choose Accept All Changes.
- 3. Delete comments: On the Review tab, use the Delete comment menu to remove all comments from the document.
- 4. Export to PDF: Choose Export to PDF, save the file, and open the PDF to verify that the markup is gone.

Frequently Asked Questions
Why does my PDF have black lines in the margins?
They may be revision indicators from tracked changes. In Word, open Review and inspect the changes, then accept them before exporting again. If the lines remain, check whether they are borders or other document formatting.
Does selecting No Markup remove tracked changes?
No. Review > No Markup hides revisions in the document view but does not remove them. Use Review > Accept > Accept All Changes to accept them permanently.
How can I make a clean PDF without deleting my revisions?
Go to File > Print, clear Print Markup in the print settings, and print to an available PDF printer. The revisions and comments remain in the Word document.
What if I cannot find Accept All Changes?
On the Review tab, open the arrow next to Accept in the Changes group. If the command is unavailable, check whether the document contains tracked changes or is protected; menu names can also vary by Word version.




