Fix Gray Lines from White Word Table Borders in PDFs
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.

- 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.
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.
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.
Open your document in Microsoft Word and click the crosshair icon in the top-left corner of the table to select the entire table.
Navigate to the 'Table Design' tab that appears on the top ribbon menu.
Click the 'Borders' dropdown menu and select 'No Border' from the list.
Go to File > Save As or File > Export to create a new PDF. Check the new PDF to confirm the gray lines are gone.

Delete Gray Lines Using a PDF Editor
If you do not have access to the original Word document, you can manually remove the gray line objects directly within a capable PDF editor.
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. Open your document: Launch WPS Writer and open your existing Word document containing the tables.
- 2. Format table borders: Select your table, right-click, choose 'Borders and Shading', and set the borders to 'None'.
- 3. Export to PDF: Click on 'Menu' in the top-left corner and select 'Export to PDF'.
- 4. Save the file: Choose your desired save location, configure your export options, and click 'Export' for a clean, artifact-free PDF.

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.




