Fix Pasted Text That Extends Beyond Word Page Margins
Question details
Make pasted and newly typed text wrap within the page margins in Microsoft Word.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Text has been pasted into a Word document and should fit within the page margins.
- Observed behavior
- Pasted text extends beyond the right margin, and newly typed text continues past the page edge instead of wrapping.
Click in the affected text to check whether it is inside a table; table layout controls appear when a table is selected. Also check Layout > Margins to confirm the document uses the intended page margins.
Correct paragraph indents and styles
Use this for text outside a table when paragraph formatting pushes it beyond the margins.
In Word, select the paragraphs that extend past the page margin.
On Home, open Line and Paragraph Spacing > Line Spacing Options. Under Indents and Spacing, set Left and Right indentation to 0 and Special to None, then select OK.
With the paragraphs still selected, choose Normal from the Styles gallery on the Home tab. If direct formatting still causes problems, use Home > Clear All Formatting, then reapply any formatting you need.

Fit a pasted table within the page
Use this when the overflowing text is inside a table that is wider than the available page area.
Paste the text without source formatting
Use this when pasted styles or formatting are causing text to overflow.
Edit Word Documents with WPS Writer
WPS Office is a free, lightweight alternative with a familiar interface for editing documents. Open Word files in WPS Writer to continue working with compatible formats and make the transition easier.

Frequently Asked Questions
Why does newly typed text also run past the page edge?
The paragraph may have an indent or other formatting that extends its text area beyond the margin. Select the paragraph and check Home > Line and Paragraph Spacing > Line Spacing Options.
How can I tell whether the pasted text is in a table?
Click inside the affected text. If table-specific Layout controls appear, the text is in a table. You can then use Layout > AutoFit > AutoFit Window to fit the table to the page.
Will pasting as unformatted text remove the original styling?
Yes. Home > Paste > Paste Special > Unformatted Text inserts the text without its source formatting, so you may need to reapply formatting afterward.
Where can I check the page margins in Word?
Open the Layout tab and select Margins to review or change the document's margin settings.




