Formatting Issues

Remove Gray Marks and Black Lines from Microsoft Word Documents

Algirdas JasaitisAlgirdas Jasaitis Nov 13, 2026 869 views

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.
Before you start

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.

Solution 1

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.

1
Toggle formatting marks

On the Home tab, select the paragraph-mark button (¶) in the Paragraph group. Compare the affected areas with formatting marks shown and hidden.

2
Check the print view

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.

3
Review bookmark and field display settings

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.

Display indicators are not document content: Paragraph marks, bookmark indicators, and field shading normally do not print. If these settings do not change the artifacts, investigate the document formatting instead.
Free Microsoft Office alternative

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.

Open and edit Microsoft Word .doc and .docx files.Compare how an affected document displays in another word processor.Use familiar paragraph, border, and page-layout controls.Export documents to PDF and review the resulting pages.Move existing Word files into a lightweight, easy-to-use office suite.
microsoft office alternative - wps office

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.