Formatting Issues

How to Fix Uneven Word Spacing After Pasting Text in Word

Bushra ParveenBushra Parveen Nov 3, 2026 869 views

Question details

Users experience inconsistent or unnaturally wide gaps between words when copying and pasting text from a webpage into a document.

How to Fix Uneven Word Spacing After Pasting Text in Word
Product
Word
Device & OS
not provided
Scenario
Pasting text copied from a website into a Word document.
Observed behavior
Word spacing appears uneven, distorted, or stretched, even when the document's font and standard paragraph settings match the surrounding text.
Before you start

Before attempting to fix the layout, click the Show/Hide ¶ icon on the Home tab (or press Ctrl+Shift+*) to reveal formatting marks. This helps identify hidden web characters or line breaks causing the issue.

Solution 1Recommended

Optimize Character Positioning in Display Settings

Adjusting Word's advanced display settings can often correct rendering anomalies caused by the layout engine interpreting pasted text.

Sometimes the uneven spacing is purely a display or layout engine issue rather than a structural problem with the text itself. Changing character positioning to favor layout accuracy can instantly correct the visual spacing.

1
Open Word Options

Click on 'File' in the top-left corner of the ribbon, then select 'Options' at the bottom of the menu.

2
Navigate to Advanced Settings

In the Word Options dialog box, click on 'Advanced' in the left-hand navigation pane.

3
Locate the Display Section

Scroll down the right-hand panel until you reach the 'Display' section.

4
Optimize Character Positioning

Check the box next to 'Optimize character positioning for layout rather than readability', then click 'OK' to apply the changes.

Optimize Character Positioning in Display Settings
Immediate Relief: This setting applies to the application's rendering engine and will often fix the appearance of the document without requiring you to retype the content manually.
Seamless Text Formatting

Avoid Formatting Issues Easily with WPS Writer

WPS Writer provides an incredibly intuitive word processing experience. It handles web-copied text seamlessly with smart unformatted pasting options, ensuring your document retains clean, consistent word spacing without complex adjustments.

  1. 1. Copy Your Text: Copy the desired content directly from your internet browser.
  2. 2. Open WPS Writer: Launch WPS Office and create or open your text document in WPS Writer.
  3. 3. Paste Without Formatting: Right-click on the page and select 'Keep Text Only', or click the dropdown arrow under the Paste button on the Home tab and choose 'Unformatted Text'.
Smart 'Keep Text Only' pasting feature quickly removes messy web formatting.Highly compatible with Microsoft Word document formats (.docx, .doc).Lightweight, fast, and free to use across multiple platforms.
QA img-9

Frequently Asked Questions

Why does text copied from websites have weird spacing?

Text from websites often includes hidden HTML formatting, CSS rules, non-breaking spaces, or manual line breaks (Shift+Enter). When pasted into a document, these web-specific codes conflict with standard paragraph spacing, causing irregular or wide gaps between words.

Does changing text alignment fix the wide spacing?

Yes, if the pasted text is set to 'Justify'. Justified alignment forces text to stretch evenly between the left and right margins, which can create huge gaps if there are soft line breaks. Changing the alignment to 'Align Left' (Ctrl+L) typically resolves this.

How do I remove hidden non-breaking spaces that cause formatting errors?

You can remove them using the Find and Replace tool. Press Ctrl+H to open the dialog. In the 'Find what' box, type '^s' (the code for a non-breaking space). In the 'Replace with' box, press the spacebar once to insert a regular space. Click 'Replace All' to fix the spacing.