Remove Nonbreaking Spaces from Web Text in Microsoft Word
Question details
Remove nonbreaking spaces from web text pasted into a Word document.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Copying text from a web page into a Word document.
- Observed behavior
- The pasted text contains nonbreaking spaces that can affect spacing and line breaks.
Paste the web text into Word and decide whether to replace nonbreaking spaces throughout the document or only in the pasted passage. Replacing them allows words to wrap at those spaces.
Replace nonbreaking spaces with regular spaces in Word
Use Find and Replace to remove nonbreaking spaces from text already in the document.
In Word, open Home > Replace. Select the pasted passage first if you want to limit the replacement to that text.
In the Find what box, enter ^s, Word's code for a nonbreaking space.
Click the Replace with box and press the spacebar once.
Choose Replace All, then review the text for changes in spacing and line breaks.

Paste web text without source formatting
Use this when you want to avoid carrying web formatting into Word; check for remaining nonbreaking spaces afterward.
Replace nonbreaking spaces in WPS Writer
Use WPS Writer's Find and Replace tool to replace a nonbreaking space copied from pasted web text with a regular space.
- 1. Open the document: Open WPS Writer and use Open to load the document containing the pasted web text.
- 2. Copy a nonbreaking space: Select a nonbreaking space in the pasted passage and copy it.
- 3. Set up the replacement: Open Home > Find and Replace > Replace. Paste the copied character into Find what, then enter one regular space in Replace with.
- 4. Replace and review: Choose Replace All, then check the document for spacing and line-break changes.

Frequently Asked Questions
How do I find a nonbreaking space in Word?
Open Home > Replace and enter ^s in the Find what box. Use Find Next to locate occurrences before replacing them.
Does Keep Text Only remove nonbreaking spaces?
Not necessarily. Keep Text Only removes source formatting, but nonbreaking spaces are text characters and may remain. Search for ^s in Word to check.
Why did my line breaks change after replacing the spaces?
A nonbreaking space keeps adjacent words or characters together. A regular space allows Word to wrap the line at that point.
Can I replace nonbreaking spaces only in the pasted passage?
Select the pasted passage before opening Home > Replace. Enter ^s as the search text and a regular space as the replacement, then replace matches in the selection.




