To wrap text in Excel, select the cells, then on the Home tab, in the Alignment group, select Wrap Text. Long entries break onto extra lines inside the cell instead of spilling into the next column, and the row grows taller to show them. On Windows, the keyboard route is Alt, then H, then W. To choose exactly where a line breaks, click in the cell and press Alt+Enter (Control+Option+Return on a Mac).
These steps work in Excel for Microsoft 365, Excel 2024, 2021, 2019, and 2016 on Windows, with sections for Mac, Excel for the web, and the mobile apps. Wrapping only changes how text is displayed; the cell’s contents and any formulas that use it stay the same.
Wrap Text With the Ribbon Button
- Select the cells to wrap. Click a column letter to select a whole column, or press Ctrl+A to select the entire sheet.
- Select the Home tab.
- In the Alignment group, select Wrap Text. The button stays highlighted while wrapping is on for the selected cell.
Excel breaks the text at spaces to fit the column width and raises the row height to fit the lines. If you later make the column wider or narrower, the text re-wraps to match. Microsoft shows the button on its page about how to wrap text in a cell.
Nothing seems to happen? If the text already fits within the column, wrapping has no visible effect. Make the column narrower and you’ll see the lines break.
Use the keyboard
Press Alt, release it, then press H and then W. These are pressed one after another, not together. The same keys turn wrapping off again.

Wrap Text With Format Cells
The Format Cells box lets you turn on wrapping and set other alignment options at the same time:
- Select the cells and press Ctrl+1 (Command+1 on a Mac), or right-click and choose Format Cells.
- Open the Alignment tab.
- Under Text control, check Wrap text.
- Optionally set Vertical alignment to Top or Center so wrapped cells line up neatly with short ones in the same row. Select OK.
Microsoft explains the other options on this tab on its page about how to change the alignment of text in a cell.
Start a New Line Exactly Where You Want
Wrap Text breaks lines wherever the column width runs out. To put a break in a specific spot, such as between a street and a city in an address, add a manual line break:
- Double-click the cell, or select it and press F2, to start editing.
- Click where the new line should begin.
- Press Alt+Enter on Windows, or Control+Option+Return on a Mac.
- Press Enter to finish.
Excel turns on Wrap Text for that cell so the break shows. Microsoft covers this on its page about how to start a new line of text inside a cell. To remove a manual break, edit the cell, click at the start of the second line, and press Backspace.
Line breaks in formulas
To join text with a line break between the parts, use CHAR(10), the line-feed character. For example, =A2&CHAR(10)&B2 puts the contents of A2 and B2 on separate lines. Turn on Wrap Text for the formula cell, or the break won’t show.
Make the Row Fit the Wrapped Text
Usually the row grows on its own. When text is cut off instead, the row probably has a height that was set by hand, which stops Excel from adjusting it. To fix it:
- Double-click the line below the row number at the left edge of the sheet. The row snaps to fit its tallest cell.
- Or select the rows and choose Home > Format > AutoFit Row Height.
- To fix every row at once, select the whole sheet with the box above row 1, then double-click any row boundary.
Microsoft describes both on its page about how to change the column width and row height. If you’d rather give every column the same size first, see how to make all cells the same size in Excel.

Wrap a Header Row or a Whole Column
Wrapped headers keep columns narrow while still showing long labels like “Quarterly Revenue (USD).” A good order is:
- Set each column to the width its data needs. Drag the border between column letters, or double-click it to AutoFit the column.
- Select the header row by clicking its row number, and turn on Wrap Text.
- Set the header row’s vertical alignment to Bottom or Center on the Home tab so short and long headers line up.
- Choose View > Freeze Panes > Freeze Top Row if you want the wrapped headers to stay visible while you scroll.
For a column of notes or descriptions, select the column letter, set a comfortable width, turn on Wrap Text, and set vertical alignment to Top. Top alignment keeps the first line of every cell level with the rest of its row, which makes long rows easier to read.
Spread wrapped lines evenly with Justify
For paragraph-style text, open Format Cells (Ctrl+1), and on the Alignment tab set Horizontal to Justify. Excel wraps the text and stretches each line, except the last, to the full cell width, like a newspaper column.
Wrapped Text in Merged Cells
Wrap Text works in merged cells, but AutoFit doesn’t size rows that contain merged cells, so the text can be hidden. You have two options:
- Drag the row border down by hand until all the text shows.
- Avoid the merge. Select the cells, press Ctrl+1, and on the Alignment tab set Horizontal to Center Across Selection. The text looks centered across the cells, and AutoFit keeps working.
For a related layout problem, see how to split a cell in half in Excel.
Wrap Text vs. Shrink to Fit vs. Overflow
| Option | What happens to long text | Best for |
|---|---|---|
| Wrap Text | Breaks onto more lines; the row gets taller | Notes, descriptions, addresses |
| Shrink to fit | Font gets smaller to fit on one line | Slightly long labels in fixed-size layouts |
| Neither (default) | Spills into the next cell if it’s empty; cut off if not | Titles above empty columns |
Shrink to fit is a check box under Text control in Format Cells. It’s grayed out while Wrap text is checked, because the two can’t be used together.
Turn Off Text Wrapping
Select the cells and select Wrap Text again so it’s no longer highlighted, or clear the Wrap text box in Format Cells. The row height doesn’t always shrink back on its own, so double-click the row border to AutoFit it.
Remove manual line breaks from many cells
To take out Alt+Enter breaks across a range, select the cells and press Ctrl+H. Click in Find what and press Ctrl+J. The box looks empty, but it now holds the line-break character. Type a space in Replace with, then select Replace All. Our guide on how to replace a word in Excel covers more Find and Replace options.
Put Wrap Text on the Quick Access Toolbar
If you wrap text often, add the button where it’s always visible: right-click Wrap Text on the Home tab and choose Add to Quick Access Toolbar. It then appears at the top of the window on every tab.
For a long note that doesn’t belong in a cell at all, such as instructions at the top of a sheet, a text box can be easier: choose Insert > Text Box, draw it, and type. Text in a text box wraps on its own and doesn’t change row heights.
Make New Cells Wrap Automatically
Excel doesn’t have a “wrap everything” setting, but you can change the default cell style for a workbook. On the Home tab, right-click Normal in the Cell Styles gallery, choose Modify, select Format, and check Wrap text on the Alignment tab. Every cell that uses the Normal style in that workbook now wraps. To make this the default for new workbooks, save the workbook as a template.
Wrap Text on a Mac, the Web, and Mobile
- Excel for Mac: select the cells and choose Home > Wrap Text, or press Command+1 and check Wrap text on the Alignment tab. Use Control+Option+Return for a line break inside a cell.
- Excel for the web: the Wrap Text button is on the Home tab. Alt+Enter adds a line break while editing a cell.
- iPhone, iPad, and Android: select the cells, open the Home menu of formatting options, and turn on Wrap Text.
Microsoft lists the Mac shortcut on its page about how to fix data that is cut off in cells.
Word Wrap Questions
Why does my wrapped text break in the middle of a word?
Excel breaks at spaces and hyphens. A single word longer than the column, such as a long web address, has nowhere to break, so Excel splits it at the edge. Widen the column or add a manual break.
Does wrapped text print?
Yes, it prints the way it looks on screen. Check Print Preview, since rows that are too short will cut off text on paper too.
Does wrapping affect formulas or sorting?
No. Formulas, sorting, and filtering use the cell’s contents, which wrapping doesn’t change. Manual line breaks are real characters, though, so they count in LEN and can affect lookups.
How is this different from wrapping text in Word?
In Word, wrapping controls how text flows around pictures. See how to wrap text in Word for that.

Matt Wilmont is a data scientist who has used Microsoft Office daily since 1999 and has more than 20 years of IT experience. His work with Word, Excel and Windows runs from college through a career in IT to data analysis today. He writes and reviews the guides on WindowBrain. Read more on the About page: https://windowbrain.com/about-us/