Field Guide

How to wrap text in Excel: Wrap Text, line breaks, and hidden lines

Updated

To wrap text in Excel: select the cell or cells, then on the Home tab, in the Alignment group, select Wrap Text. The text wraps to the width of the column, and on a row whose height has not been fixed, the row grows taller so every line shows. On a Mac the same button sits on the Home tab, labeled Wrap Text.

Microsoft frames the whole feature in one line: “You can format the cell to wrap the text automatically or enter a manual line break.” This guide covers turning wrapping on, the manual line break that breaks a line exactly where you want, how wrapping differs from merging cells, why wrapped lines sometimes stay hidden, and how to turn wrapping back off.

How do I turn on text wrapping?

Select the cell or cells, then on the Home tab, in the Alignment group, select Wrap Text. The text reflows to fit the column width instead of running past the cell’s right edge, and if you widen or narrow the column later, the wrapping adjusts to the new width on its own. On a row whose height you have not set by hand, the row grows tall enough to fit every wrapped line.

A B
1 Order Status
2 1042 Shipped, waiting on signature
3 1043 Backordered
Before wrapping, the note in B2 is wider than column B and spills past its right edge. Select B2, then Home > Alignment > Wrap Text: the text stacks onto several lines inside B2 and row 2 grows taller to fit. B2 is the highlighted cell being wrapped.

On a Mac the button is on the Home tab as Wrap Text, with no separate Alignment group named in Microsoft’s Mac instructions. Either way, wrapping is a display setting: it changes how the cell shows its text, not the text itself. The cell still holds one continuous string.

How do I add a line break inside a cell?

Wrapping decides where each line breaks for you, at the column edge. A manual line break lets you choose the exact spot, which is what you want for something like a two-line address or a label that should always split at the same word.

Double-click the cell (or select it and press F2) to start editing, click at the point where the new line should begin, and press Alt+Enter on Windows. On a Mac, Microsoft’s keyboard-shortcut reference gives Control+Option+Return for starting a new line in the same cell, and Option+Return does the same job. Unlike turning on Wrap Text, a manual break puts a real line-break character into the cell’s text, so the split stays put no matter how wide the column gets.

Wrap text or merge cells?

These two get confused because both make a cell look roomier, but they do very different things. Wrapping keeps a single cell and stacks its text onto several lines inside it. Merging combines two or more cells into one larger cell, and only the upper-left cell’s contents survive the operation.

Merging also brings costs that wrapping does not, such as stopping a column from sorting once merged cells are in it. So if all you wanted was a long heading or note to show on several lines without spilling across neighbors, reach for wrapping rather than merging. When you do need cells combined, how to merge cells in Excel covers the merge commands, the deletion rule, and unmerging.

Why isn’t all my wrapped text showing?

You turn on wrapping and some lines still do not appear. Microsoft names the two causes: “If all wrapped text is not visible, it may be because the row is set to a specific height or that the text is in a range of cells that has been merged.”

The fix depends on which one it is:

On a Mac, Microsoft’s page names only the fixed-height cause and fixes it from the Format menu: point to Row, then click AutoFit to let the row size itself to the wrapped text.

How do I turn wrapping off?

Wrap Text is a toggle, not a one-way switch. Select the wrapped cell or cells and choose Home > Alignment > Wrap Text a second time, and the wrapping turns off, so the text drops back to one line and the row returns to its normal height. On a Mac, click Wrap Text on the Home tab again. Any manual line breaks you added with Alt+Enter stay in the text, though, because those are characters in the cell rather than a display setting, so a cell that still splits after you switch wrapping off is carrying a manual break.

The short version

Frequently asked questions

How do I wrap text in Excel?
Select the cell or cells you want to format, then on the Home tab, in the Alignment group, select Wrap Text. The text wraps to fit the column width, and on a row whose height has not been fixed the row grows taller to show every line. On a Mac the button sits on the Home tab as Wrap Text. Widening or narrowing the column afterward re-flows the wrapped text to match the new width.
How do I start a new line inside a cell in Excel?
Double-click the cell (or select it and press F2) to start editing, click at the point where the new line should begin, and press Alt+Enter on Windows. On a Mac, press Control+Option+Return, and Option+Return works too. This inserts a manual line break, which forces the line to break exactly where you put the cursor, unlike Wrap Text, which breaks the line automatically at the column edge.
What is the difference between wrapping text and merging cells?
Wrapping keeps one cell and stacks its text onto several lines inside that single cell. Merging is a different operation: it combines two or more cells into one larger cell, and only the upper-left cell's contents survive. Merging also causes problems that wrapping does not, such as blocking a column from sorting. If you only wanted a long label to show on several lines without spilling, wrapping is usually the tool you actually want, not merging.
Why is my wrapped text cut off or not showing every line?
Microsoft names two reasons a wrapped cell hides lines: the row is set to a specific height, or the cell is inside a range that has been merged. For a fixed-height row, raise it on the Home tab, in the Cells group, by selecting Format, then AutoFit Row Height, or set a taller Row Height by hand. AutoFit does not work on merged cells, so for a merged range you set the row height yourself or drag the row's bottom border down.
How do I turn off text wrapping in Excel?
Wrap Text is a toggle. Select the wrapped cell or cells and choose Home > Alignment > Wrap Text again, and the wrapping switches off so the text returns to a single line. On a Mac, select the cells and click Wrap Text on the Home tab a second time.

Catch the errors before they ship

Reviewing a change to a model? Compare the two versions in your browser and see every changed cell, formula, and value. It's free, and nothing leaves your computer.