Formatting Issues

How to Fix Table Cell Spacing When Pasting from Web to Word

Camila MilosovichCamila Milosovich Oct 29, 2026 869 views

Question details

The user needs to control or change the default table cell spacing and formatting when pasting a table from a web page into Microsoft Word.

How to Fix Table Cell Spacing When Pasting from Web to Word
Product
Microsoft Word
Device & OS
not provided
Scenario
Pasting a table copied from a web browser into a Word document.
Observed behavior
The pasted table has inconsistent cell spacing, borders, and shading depending on the browser used (e.g., Firefox vs. Safari) and the source website's HTML formatting.
Before you start

Ensure you have the source web page open and your Word document ready. It is also helpful to have an alternative web browser installed for testing clipboard behaviors.

Solution 1Recommended

Adjust Paste Options and Table Properties in Word

Use Word's built-in paste options to strip unwanted web formatting, or manually adjust the table properties to remove default cell spacing.

1
Use Merge Formatting

Copy the table from the web page. Right-click in your Word document where you want to insert the table and select 'Merge Formatting' under Paste Options. This keeps the table structure but applies Word's default styling.

2
Access Table Properties

If the table is already pasted, click anywhere inside the table. A crosshair icon will appear in the top-left corner; click it to select the entire table, then right-click and choose 'Table Properties'.

3
Modify Cell Spacing Options

In the Table Properties dialog box, go to the 'Table' tab and click the 'Options' button at the bottom.

4
Disable or Change Spacing

Uncheck the box that says 'Allow spacing between cells' to remove the web spacing entirely, or check it and enter your preferred measurement (e.g., 0.00 inches). Click 'OK' to apply.

Adjust Paste Options and Table Properties in Word
Quick Formatting: Using 'Merge Formatting' often resolves most border and shading issues immediately without needing to dig into Table Properties.
Efficient Document Formatting

Easily Manage Table Formatting with WPS Writer

WPS Office provides excellent compatibility and intuitive paste options, allowing you to seamlessly copy tables from web pages without carrying over messy HTML cell spacing or shading.

  1. 1. Copy the Web Table: Highlight and copy the desired table from your web browser.
  2. 2. Open WPS Writer: Launch WPS Office and open your document in WPS Writer.
  3. 3. Use Paste Special: Click the drop-down arrow under the 'Paste' button on the Home tab and select 'Paste Special'.
  4. 4. Select Unformatted Text: Choose 'Unformatted Text' to remove all web spacing and shading, or use 'Match Destination Formatting' to keep the grid intact.
  5. 5. Apply Table Styles: Use the Table Tools tab to quickly apply a clean, uniform table style to your newly pasted data.
Advanced Paste Special options to easily strip unwanted web formatting.100% compatible with Microsoft Word (.docx) file formats.Lightweight and free to use across Windows, Mac, and Linux.Clean, intuitive interface for adjusting table properties effortlessly.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my table look different when copied from Chrome versus Firefox?

Different web browsers use varying engines to render HTML and copy it to your system's clipboard. This means one browser might copy the exact CSS cell spacing and shading, while another might only copy the basic table structure, resulting in different appearances when pasted into Word.

How do I manually change the cell spacing of a pasted table in Word?

Select the entire table, right-click and choose 'Table Properties'. Go to the 'Table' tab, click 'Options', and check or uncheck 'Allow spacing between cells'. You can then enter your desired spacing measurement.

Can I prevent Word from pasting web formatting by default?

Yes. In Word, go to File > Options > Advanced. Scroll down to the 'Cut, copy, and paste' section, and change the setting for 'Pasting from other programs' to 'Keep Text Only' or 'Merge Formatting'.