Excel Wrap Text: How to Wrap Text in a Cell
In this article
To wrap text in Excel, select the cells you want to change and press the Wrap Text button on the Home tab (in the Alignment group). The text then flows onto multiple lines inside the same cell instead of spilling into the neighbouring columns or being cut off. On Excel for the web the button sits in the same place, and on Mac Excel it is also on the Home tab. If the button is greyed out, the sheet is probably protected or the cell is part of a merged range that needs unmerging first.
Wrapping affects only how text is displayed; it does not change the cell's value, the column width, or the row height unless you let Excel auto-fit rows. That distinction matters when you print or share a file, because wrapped text that is taller than the row will be clipped on screen and on paper until the row is resized. The steps below cover the button method, the Format Cells dialog, keyboard shortcuts and the row-height follow-up, and they apply to Excel for Microsoft 365, Excel 2021 and 2019 on Windows and Mac. Labels and ribbon positions can differ slightly by version, device and region.
What You'll Need
- Excel for Windows, Excel for Mac, or Excel for the web (the free web version has the same Wrap Text button).
- A workbook with at least one cell containing text longer than the column width.
- Optional: a keyboard for the Alt shortcuts; touch-only devices can use the ribbon button instead.
Step-by-Step
- Select the cells. Click the first cell, then drag to the last, or hold Ctrl (Cmd on Mac) to select several non-adjacent cells. To wrap an entire column, click the column letter heading. Selecting a whole column is the fastest way to apply wrapping to every entry you add later.
- Go to the Home tab. The Wrap Text button lives in the Alignment group, next to the horizontal and vertical alignment buttons. If you cannot see the group, widen the Excel window; the ribbon collapses groups at narrow widths.
- Click Wrap Text. The button toggles on and off, so clicking it a second time removes wrapping. Wrapped cells show the text on multiple lines and the row height usually grows automatically if it was set to auto-fit.
- Check the row height. If the row does not expand, the row height has been set manually. Select the row heading, then use Home > Format > AutoFit Row Height, or double-click the boundary between two row numbers. On Mac, use Format > Row Height and set a value, or double-click the row divider.
- Use the Format Cells dialog for more control. Press Ctrl+1 (Cmd+1 on Mac), open the Alignment tab, tick Wrap text, and click OK. This dialog also lets you set vertical alignment to Top so long wrapped text starts at the top of the cell rather than the bottom.
- Try the keyboard shortcut. In Excel for Windows, Alt then H then W toggles Wrap Text on the selected cells. There is no default single-key shortcut; you can add one through the Quick Access Toolbar by right-clicking Wrap Text and choosing Add to Quick Access Toolbar, then pressing Alt plus the number shown.
- Adjust column width if needed. Wrapping works best when the column is wide enough for a few words per line. Drag the column boundary or use Home > Format > AutoFit Column Width. Very narrow columns produce one-word lines and very tall rows.
- Test the print layout. Press Ctrl+P (Cmd+P) and check the preview. Wrapped rows that exceed the page height are split across pages; use Page Layout > Print Titles or reduce the font size if the preview looks wrong.
Common Mistakes
- Expecting wrapping to change the data. Wrap Text is a display setting. Copying the cell to Notepad or another program gives you the original single-line text, not the line breaks you see on screen.
- Forgetting row height. A manually set row height overrides auto-fit, so wrapped text is clipped. Reset the row height to AutoFit after wrapping.
- Wrapping merged cells. Excel does not auto-fit row height for merged cells. You must set the row height by hand, or unmerge and wrap the individual cells instead.
- Confusing Wrap Text with Alt+Enter. Alt+Enter inserts a manual line break inside the cell and is part of the text. Wrap Text is automatic and depends on column width. Mixing both is fine, but manual breaks stay put when the column is resized.
- Applying it to the wrong selection. If you select a single cell and click Wrap Text, only that cell is affected. Select the full range or column first.
Tips
- Set vertical alignment to Top on wrapped cells so the first line stays visible when the row grows.
- Use Wrap Text together with Center Across Selection (Format Cells > Alignment) instead of merging when you want a heading to span columns without breaking auto-fit.
- For long notes, keep the column narrow and let wrapping do the work; this keeps the sheet readable on smaller screens.
- If you need the wrapped text in another app, copy the cell and paste as plain text; the line breaks are recreated only if you used Alt+Enter, not Wrap Text.
- Apply wrapping to a whole column before typing so new entries inherit it. Typing into an already-wrapped cell keeps the setting.
Troubleshooting
- The Wrap Text button is greyed out. The sheet is protected, the workbook is shared with restrictions, or the selection includes a merged cell. Unprotect the sheet via Review > Unprotect Sheet, or unmerge the cells first.
- Text still spills into the next column. The adjacent cell is empty, so Excel shows the overflow instead of wrapping. Either the Wrap Text toggle is off, or the row height is fixed and clipping the wrapped lines. Recheck both.
- The row is enormous. The column is too narrow or the cell contains a very long string. Widen the column, or split the content across several cells.
- Wrapping disappears after reopening the file. The file may have been saved in a format that does not keep all formatting, such as CSV. Save as .xlsx to retain cell formatting.
- It works on Windows but not on the web version. Excel for the web supports Wrap Text, but some alignment options are limited. Open the file in the desktop app for full control.
Frequently Asked Questions
Does Wrap Text change the cell value?
No. It only changes how the text is displayed. The underlying value stays a single string unless you add manual line breaks with Alt+Enter.
Why does my wrapped text get cut off?
The row height has been set manually. Select the row and use Home > Format > AutoFit Row Height, or double-click the row boundary.
Can I wrap text in merged cells?
You can turn wrapping on, but Excel will not auto-fit the row height for merged cells. Set the row height manually or avoid merging.
Is there a keyboard shortcut for Wrap Text?
In Excel for Windows, Alt, H, W toggles it. On Mac there is no default shortcut; add the button to the Quick Access Toolbar or use the ribbon.
Does wrapping affect printing?
Yes. Wrapped rows that are taller than the page area are split across pages. Check the print preview and adjust row heights or page setup before printing.
Why is Wrap Text missing on my Mac?
It is on the Home tab in the Alignment group, the same as Windows. If the ribbon is collapsed, click the Home tab to expand it, or use Format Cells (Cmd+1) and the Alignment tab.