How to Keep Text Inside a Shape in Word 2016
Question details
The user needs to know how to keep text contained within the boundaries of a shape in Microsoft Word.

- Product
- Word 2016
- Device & OS
- not provided
- Scenario
- Adding and formatting text inside custom shapes within a document.
- Observed behavior
- Text spills over or appears outside the shape because the internal margins are too large or the text box properties are misconfigured.
Ensure that you have actually inserted the text into the shape by right-clicking the shape and selecting 'Add Text', rather than just floating a separate text box over it.
Adjust Shape Formatting and Internal Margins
Modifying the internal margins and enabling auto-resize ensures your text has enough room to fit inside the shape without spilling over.
By default, shapes in Word have internal margins that act as padding for the text. If your shape is relatively small, these default margins can force the text outside the visible boundaries.
Right-click the border of the shape containing your text and select 'Format Shape' or 'Format AutoShape' from the context menu.
In the formatting pane that appears on the right, navigate to 'Text Options' and click on the 'Text Box' icon.
Locate the Internal Margin settings (Top, Bottom, Left, Right) and reduce them to a smaller value, such as 0.05 inches or even 0 inches.
Check the box for 'Resize shape to fit text' so the shape automatically expands if you type more text than it can currently hold.

Run Word in Safe Mode to Check for Interference
If formatting options are unresponsive, a third-party add-in might be interfering with Word's rendering engine.
Easily Format Shapes and Text with WPS Office
WPS Office provides a highly intuitive Writer application that makes adjusting shapes, text boxes, and formatting effortless. You can fully customize margins, text wrapping, and shape properties just as you would in Microsoft Word.
- 1. Open Your Document: Launch WPS Writer and open your existing .docx document, or create a new one.
- 2. Insert a Shape: Go to the 'Insert' tab, click on 'Shapes', draw your desired shape, right-click it, and select 'Add Text'.
- 3. Format Object: Right-click the shape again and choose 'Format Object' to reveal the intuitive properties panel on the right side of the screen.
- 4. Adjust Margins: Switch to the 'Text Options' tab and adjust the internal margins to '0' to maximize the text space.
- 5. Save Perfectly: Save your document in standard .docx format, ensuring formatting remains identical if shared with Microsoft Word users.

Frequently Asked Questions
Why does my text disappear when I type inside a shape?
Text may disappear if the shape is too small to display it and the 'Wrap text in shape' option is turned off. It can also happen if the internal margins are set too high, pushing the text out of the visible area. Check the Text Box settings in the Format Shape pane.
How do I center text perfectly inside a shape in Word?
Right-click the shape and select Format Shape. Go to the Text Options tab, click the Text Box icon, and set the Vertical Alignment to 'Middle'. Then, select your text, navigate to the Home tab, and choose 'Center' for the horizontal alignment.
Can I make the shape automatically adjust its size to fit my text?
Yes. Open the Format Shape pane, navigate to Text Options > Text Box, and check the option labeled 'Resize shape to fit text'. The shape will automatically expand downward or outward as you continue typing.




