Formatting Issues

How to Keep Text Inside a Shape in Word 2016

Olivia MillerOlivia Miller Oct 22, 2026 873 views

Question details

The user needs to know how to keep text contained within the boundaries of a shape in Microsoft Word.

How to Keep Text Inside a Shape in Word 2016
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.
Before you start

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.

Solution 1Recommended

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.

1
Open Shape Formatting

Right-click the border of the shape containing your text and select 'Format Shape' or 'Format AutoShape' from the context menu.

2
Access Text Box Settings

In the formatting pane that appears on the right, navigate to 'Text Options' and click on the 'Text Box' icon.

3
Reduce Internal Margins

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.

4
Enable Auto-Resize

Check the box for 'Resize shape to fit text' so the shape automatically expands if you type more text than it can currently hold.

Adjust Shape Formatting and Internal Margins
Formatting Tip: Checking 'Wrap text in shape' in the same menu will ensure that long lines of text automatically break to the next line instead of spilling out the sides.
Seamless Document Formatting

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. 1. Open Your Document: Launch WPS Writer and open your existing .docx document, or create a new one.
  2. 2. Insert a Shape: Go to the 'Insert' tab, click on 'Shapes', draw your desired shape, right-click it, and select 'Add Text'.
  3. 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. 4. Adjust Margins: Switch to the 'Text Options' tab and adjust the internal margins to '0' to maximize the text space.
  5. 5. Save Perfectly: Save your document in standard .docx format, ensuring formatting remains identical if shared with Microsoft Word users.
Fully compatible with Microsoft Word .docx formats.Intuitive right-side properties panel for quick shape formatting.Lightweight software that runs smoothly on all devices without glitches.Free to use with a familiar, user-friendly interface.
microsoft office alternative - wps office

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.