Applies ToWord for Microsoft 365 Word for Microsoft 365 for Mac Word 2024 Word 2024 for Mac Word 2021 Word 2021 for Mac Word 2019 Word 2019 for Mac Word 2016 Word 2013

Text boxes and most shapes can include text in them. The text can be positioned horizontally or vertically, and it can appear on one line or wrap to multiple lines.

You can change the direction of the text, and you can also change the margins of text boxes and shapes for optimal spacing, or resize shapes for a better text fit.

Specify text direction in a shape or text box

Text direction samples: horizontal, rotated, and stacked

In a shape or text box, you can change the direction in which text is read. That is, you can pivot text 90 or 270 degrees so that it appears sideways.

  1. Right-click the edge of the shape or text box.

  2. On the shortcut menu, select Format Shape.

    Format shape menu item selected

  3. In the Format Shape pane, click Size/Layout & Properties Layout & Properties tab.

  4. Under Text Box, select the option that you want in the Text direction list.

    Text Effects panel with text direction selected

Rotate (mirror) text in a shape or text box

An example of mirrored text: the first is rotated 180 degrees on the x axis, and the second is rotated 180 degrees on the y axis
  1. Right-click the box or shape and select Format Shape.

  2. In the Format Shape pane, select Effects.

    Effects tab in the Format Shape pane
  3. Select 3-D Rotation and in the X Rotation or Y Rotation box, enter 180.

  4. (Optional) If your text box is filled with a color, you can remove the color in the Format Shape pane. Select Fill & Line Fill & Line tab, select Fill, and then select No fill.

  5. (Optional) To remove the text box outline, right-click the text box, select Outline in the mini toolbar that appears, and choose No Outline.

Horizonal text in shapes

  1. Select the paragraph, line of text, shape, or text box that you want to modify.

  2. Go to Home and select the horizontal alignment option that you want.

The Paragraph group on the Home tab

Three vertical text-alignment options: top, middle, and bottom

  1. Right-click the border of the shape or text box.

  2. On the shortcut menu, select Format Shape.

    Format shape menu item selected

  3. In the Format Shape pane, select Size/Layout & Properties Layout & Properties tab.

    Format Shape panel with Vertical Alignment selected

  4. Select the option that you want in the Vertical alignment list.

When text wraps, it automatically continues on a new line as it reaches the right border of the shape or text box.

  1. Right-click the border of the shape or text box that contains the text you want to wrap.

  2. On the shortcut menu, select Format Shape.

    Format shape menu item selected

  3. In the Format Shape pane, select Size/Layout & Properties Layout & Properties tab, and then select Wrap text in shape.

    Format shape panel with Wrap Text selected

The margin is the distance between the text and the outer border of the enclosing shape or text box.

  1. Right-click the border of the shape or text box.

  2. On the shortcut menu, select Format Shape.

    Format shape menu item selected

  3. In the Format Shape pane, select Size/Layout & Properties Layout & Properties tab.

    Format shape showing margin settings

  4. Specify a measurement in inches or millimeters (mm) for any of the following margins:

    • Left margin     Distance between the left border of a shape and the leftmost text

    • Right margin     Distance between the right border of a shape and the rightmost text

    • Top margin     Distance between the top border of a shape and the uppermost text

    • Bottom margin     Distance between the bottom border of a shape and the lowest text

You can automatically increase the size of a shape or text box vertically so that the text fits inside it.

  1. Right-click the border of the shape or text box.

  2. On the shortcut menu, select Format Shape.

    Format shape menu item selected

  3. In the Format Shape pane, select Layout & Properties Layout & Properties tab, select Text Box, and then select Resize shape to fit text.

    Format Shape with Resize shape for Text selected

Tip: You can reduce the size of the text to fit it in the shape or text box by selecting Shrink text on overflow.

Specify text direction in a shape or text box

  1. Control + Click the border of the shape or text box that contains the text, and then select Format Shape.

  2. In the Format Shape pane on the right, select Text Options.

  3. Select the third icon, Textbox, and then select the option that you want from the Text direction list.

    Text direction is highlighted in the Format Shape pane.

Position text horizontally in a paragraph, text box or shape

  1. Click or tap in the paragraph, line of text, shape, or text box that you want to modify.

  2. Go to Home, and in the Paragraph group, click the horizontal alignment option that you want.

    Text alignment options

You can automatically increase the size of a text box or shape vertically so that the text fits inside it.

  1. Control + Click the border of the shape or text box that you want to resize, and then select Format Shape.

  2. In the Format Shape pane on the right, select Text Options.

  3. Select Layout & Properties, and then select the check box next to Resize shape to fit text.

    Resize text to shape is highlighted in the Format Shape pane.

By default, the text wraps automatically as you type in a text box or shape. If you don't want the text to wrap, do the following:

  1. Control + Click the shape that contains the text, and then select Format Shape.

  2. In the Format Shape pane on the right, select Text Options.

  3. Select Layout & Properties, and then clear the check box next to Wrap text in shape.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.