Remove Gray Marks and Black Lines from Microsoft Word Documents
Question details
The user needs to identify and remove unexpected gray marks, bookmark-like symbols, and black vertical lines from a Word document or its PDF output.
- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Reviewing a document with irregular formatting that may have been created or modified in another application.
- Observed behavior
- Gray areas, bracket-like symbols, and black vertical lines appear in the document. In the reported investigation, the artifacts did not appear in Print Preview, and changing field shading or resetting character formatting did not resolve them.
Open the document in Word and compare the editing view with File > Print and any exported PDF to determine where the marks appear. Note whether the affected areas are in the main text, headers, or footers.
Check whether the marks are nonprinting display indicators
Use this check first when marks appear in the editing view but are absent from Print Preview or the exported PDF.
On the Home tab, select the paragraph-mark button (¶) in the Paragraph group. Compare the affected areas with formatting marks shown and hidden.
Select File > Print and inspect the same pages. Open the exported PDF separately if the issue was reported in PDF output; do not assume that an editing-view indicator will be included in the PDF.
In Word for Windows, select File > Options > Advanced and find Show document content. Clear Show bookmarks and temporarily set Field shading to Never to check whether these display settings explain the marks.
Rebuild the Word document without its final paragraph mark
Use this method when unexpected artifacts remain after display checks, especially in a document with extensive formatting irregularities.
Inspect headers, revision bars, and paragraph formatting
Use targeted checks when a remaining line or mark is confined to a particular page, paragraph, or header.
Review and Edit Word Documents with WPS Writer
WPS Office is a free, lightweight alternative with a familiar editing interface and Microsoft Word format compatibility. Open your document in WPS Writer to compare its appearance and continue editing without rebuilding your workflow. It is not a guaranteed repair tool for corrupted Word formatting.

Frequently Asked Questions
Why do the gray marks disappear in Print Preview?
They may be editing-view indicators rather than printable content. Select Home > ¶ to test formatting marks. In Word for Windows, also check File > Options > Advanced > Show document content for bookmark and field-shading settings.
Why should I exclude the final paragraph mark when copying the document?
The final paragraph mark can carry document-level formatting. Copying everything before it into File > New > Blank document can leave that formatting behind. Review the new file's layout because some settings may not transfer as expected.
Does a black vertical line always mean the document is corrupted?
No. It can be a tracked-change indicator, a paragraph border, or a drawing object. Try Review > Display for Review > No Markup, then inspect Home > Paragraph > Borders and any objects in the affected header or body.
What should I check if the marks appear in the exported PDF?
Open the PDF and compare the affected pages with Word's File > Print preview. If the marks are visible in both, inspect borders, shading, shapes, and markup settings in Word. After correcting the source document, export a new PDF and check it again.
Will resetting the font remove these artifacts?
Not necessarily. Resetting character formatting does not remove paragraph borders, drawing objects, or document-level formatting problems. If display checks and targeted formatting changes fail, try copying the content into a new document without the final paragraph mark.




