How to Remove Unexpected Line Breaks and Spaces in Word
Question details
The user needs to eliminate unexpected text wrapping, wide gaps, and sudden line breaks that occur before names or other text in Word documents.
- Product
- Word
- Device & OS
- not provided
- Scenario
- Fixing inconsistent document layouts where text wraps prematurely and leaves empty gaps on the page.
- Observed behavior
- Text incorrectly wraps to the next line after a visible space, leaving unnatural gaps at the end of the previous line due to nonbreaking spaces or incorrect indentation.
Ensure you are viewing your document in Print Layout mode and have your ribbon expanded so you can easily access the formatting marks and paragraph tools.
Show Nonprinting Characters and Replace Nonbreaking Spaces
Identify and remove hidden nonbreaking spaces that force text to wrap inappropriately as a single block.
Nonbreaking spaces are designed to keep two words together on the same line. However, if they are used excessively or imported from another source, they can cause the text block to exceed the line width, resulting in premature wrapping and odd gaps.
Navigate to the Home tab on your Word ribbon and click the Show/Hide ¶ button (the paragraph mark icon) to reveal hidden formatting marks.
Scan the problematic lines for degree symbols (°), which represent nonbreaking spaces in the document.
Highlight the unwanted degree symbol, delete it, and press the Spacebar to insert a regular space. The text should now wrap normally.
Adjust Paragraph Right Indent Settings
Fix unexpected line breaks caused by a restrictive right indent setting that artificially limits the line width.
Fix Line Breaks and Formatting Issues Easily in WPS Writer
WPS Writer offers an intuitive interface to reveal hidden formatting marks, replace nonbreaking spaces, and adjust paragraph settings effortlessly. It ensures perfect document layout and is fully compatible with Microsoft Word formats.
- 1. Open document and reveal marks: Open your file in WPS Writer, go to the Home tab, and click the 'Show/Hide Editing Marks' icon.
- 2. Find and replace spaces: Press Ctrl+H to open the Find and Replace dialog, search for nonbreaking spaces, and replace them with standard spaces.
- 3. Adjust paragraph layout: Right-click the paragraph, select 'Paragraph', and reset any incorrect right indents to '0'.

Frequently Asked Questions
What is a nonbreaking space in Word and why does it cause gaps?
A nonbreaking space is a special character that prevents two words from being separated at the end of a line. While useful for keeping dates or names together, overusing them forces Word to move the entire block of words to the next line, leaving empty gaps behind.
How can I quickly remove all nonbreaking spaces in my entire document?
You can use the Find and Replace tool. Press Ctrl+H, type '^s' (the code for a nonbreaking space) in the 'Find what' box, type a regular space in the 'Replace with' box, and click 'Replace All'.
Why does my text randomly go to the next line without hitting Enter?
This usually happens due to a restricted right indent, a page margin that is too narrow, or hidden formatting characters like nonbreaking spaces forcing the text to the next line to avoid breaking a block of text.




