How to Fix Uneven Word Spacing After Pasting Text in Word
Question details
Users experience inconsistent or unnaturally wide gaps between words when copying and pasting text from a webpage into a document.

- 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 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.
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.
Click on 'File' in the top-left corner of the ribbon, then select 'Options' at the bottom of the menu.
In the Word Options dialog box, click on 'Advanced' in the left-hand navigation pane.
Scroll down the right-hand panel until you reach the 'Display' section.
Check the box next to 'Optimize character positioning for layout rather than readability', then click 'OK' to apply the changes.

Paste the Web Content as Unformatted Text
Pasting as unformatted text removes hidden HTML and CSS styling from the source website, preventing spacing issues from occurring.
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. Copy Your Text: Copy the desired content directly from your internet browser.
- 2. Open WPS Writer: Launch WPS Office and create or open your text document in WPS Writer.
- 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'.

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.




