PDF Conversion Issues

Fix Gray Lines from White Word Table Borders in PDFs

Rana GarciaRana Garcia Nov 10, 2026 871 views

Question details

The user is experiencing an issue where invisible or white borders around Word tables convert into hashed gray lines in the resulting PDF document.

How to Fix Gray Lines from White Word Table Borders in PDFs
Product
Microsoft Word / PDF Converter
Device & OS
not provided
Scenario
Converting a Microsoft Word document containing tables with white or invisible borders to PDF format.
Observed behavior
Hashed gray lines appear in the PDF where the white or invisible table borders were placed in the original Word document.
Before you start

Verify whether the gray lines are actual selectable objects in the PDF or just display rendering artifacts by zooming in and out of the document.

Solution 1Recommended

Remove Table Borders in Microsoft Word

The most reliable way to prevent rendering artifacts is to set the table borders to 'No Border' in the original Word document instead of coloring them white.

White borders in Microsoft Word are sometimes interpreted as extremely thin line objects by PDF converters. Modifying the original document ensures these objects are never created.

1
Select the table

Open your document in Microsoft Word and click the crosshair icon in the top-left corner of the table to select the entire table.

2
Access border settings

Navigate to the 'Table Design' tab that appears on the top ribbon menu.

3
Remove borders

Click the 'Borders' dropdown menu and select 'No Border' from the list.

4
Re-export to PDF

Go to File > Save As or File > Export to create a new PDF. Check the new PDF to confirm the gray lines are gone.

Remove Table Borders in Microsoft Word
Best Practice: Using 'No Border' ensures that the PDF conversion engine does not draw any line objects, completely eliminating the risk of artifact lines.
Flawless Word to PDF Conversion

Convert Word Documents to PDF Without Border Artifacts

Use WPS Office to edit your documents and convert them to high-quality PDFs. The built-in PDF export feature ensures that invisible or white table borders remain completely hidden, eliminating unwanted gray line artifacts.

  1. 1. Open your document: Launch WPS Writer and open your existing Word document containing the tables.
  2. 2. Format table borders: Select your table, right-click, choose 'Borders and Shading', and set the borders to 'None'.
  3. 3. Export to PDF: Click on 'Menu' in the top-left corner and select 'Export to PDF'.
  4. 4. Save the file: Choose your desired save location, configure your export options, and click 'Export' for a clean, artifact-free PDF.
Flawless Word to PDF conversion without visual artifactsFully compatible with Microsoft Word (.docx) formatsBuilt-in PDF editor to easily modify PDF text and objectsFree and lightweight alternative to heavy office suites
QA img-9

Frequently Asked Questions

Why do white table borders turn into gray lines in PDFs?

During the conversion process, some PDF engines interpret white borders as extremely thin graphical lines. Due to anti-aliasing or viewer rendering quirks, these thin lines may display as hashed or solid gray lines on your screen.

Are these gray lines visible when printing the PDF?

Often, these gray lines are merely on-screen rendering artifacts caused by the PDF viewer's smoothing settings and will not appear on the physical printed page. Try printing a test page to verify.

How can I check if the gray lines are PDF objects or display artifacts?

Zoom in heavily (e.g., 400% or more) on the gray lines in your PDF viewer. If the lines stay the exact same pixel thickness regardless of the zoom level, they are likely rendering artifacts. If they scale and get thicker, they are actual objects saved in the PDF.

Is there a viewer setting to hide these display artifacts?

Yes, in many PDF viewers like Adobe Acrobat, you can adjust rendering preferences. Go to Edit > Preferences > Page Display and uncheck 'Smooth line art'. This often makes thin artifact lines disappear on screen.