Wrap Text in Excel: Keyboard Shortcut and Quick Steps

How-to basics · Updated November 2, 2026

Wrap Text in Excel: Keyboard Shortcut and Quick Steps

In Excel for Microsoft 365 on Windows, select the cell or cells and press Alt, then H, then W to turn Wrap Text on or off. Press the keys one after another, not all at once. This displays long cell contents on multiple lines within the existing column width; it does not add a line break to the underlying text.

What You’ll Need

  • Excel for Microsoft 365 on a Windows computer, with the workbook open.
  • The cell or range whose contents you want to display on multiple lines. You can select a single cell, adjacent cells, or several nonadjacent cells.
  • A keyboard with an Alt key. If you use a Mac or Excel for the web, see the platform notes below because the Windows KeyTip sequence may not work there.

No formula, add-in, or special workbook setting is needed. Wrapping changes how cell contents are displayed; it does not edit the value. If the text is lengthy, check that the column has a usable width and that the row is not locked to a fixed height, so the wrapped lines can be seen.

Step-by-Step

  1. Open the worksheet and identify the cells. Find the column or cells containing text that is cut off, runs into an empty neighboring cell, or is difficult to read. Wrapping is useful for headings, addresses, notes, and descriptions that should remain in one cell rather than be split across columns.
  2. Select the target cell or range. Click one cell to wrap only that cell. To apply the setting to a block, click the first cell and drag across the rest, or click the first cell, hold Shift, and select the last cell. To select a complete column, click its letter heading. For separate cells, hold Ctrl while selecting each one. The shortcut applies to every selected cell.
  3. Press the Windows KeyTip sequence. Press and release Alt, press and release H, then press W. Do not hold Alt while typing H and W. These are ribbon KeyTips for the Home tab’s Wrap Text command. In some keyboard layouts or Excel configurations, the visible KeyTips may differ; follow the letters shown on screen if they do.
  4. Check that the text is wrapped. The cell should show its contents on two or more lines if the text is longer than the available column width. The formula bar still shows the cell’s full contents as one value. The row may become taller to accommodate the displayed lines.
  5. Adjust the column width if necessary. Wrapping uses the current width as its boundary. Drag the right edge of the column heading to widen or narrow the column. A wider column usually produces fewer lines; a narrower one produces more. Choose a width that balances readable text with the space needed by neighboring columns.
  6. Fit the row height if some lines are hidden. Select the affected row or rows and use Home > Format > AutoFit Row Height. You can also double-click the lower border of a row number to AutoFit that row. Excel normally adjusts row height automatically, but a manually set height can prevent all wrapped lines from appearing.
  7. Toggle wrapping off when you no longer need it. Select the same cells and press Alt, then H, then W again. Wrap Text is a toggle: the same command turns the setting on or off for the selection. If the cells have mixed settings, applying the command may make them all match the resulting setting, so check the selection afterward.

To use the ribbon instead of the keyboard, select the cells and choose Home > Wrap Text. The button is in the Alignment group. This is also a useful way to confirm the setting: when the selected cell has wrapping enabled, the Wrap Text button appears selected. Ribbon layout can vary with window size, so the group may be compressed or displayed as a smaller control.

On a Mac, use Home > Wrap Text in Excel rather than assuming the Windows Alt, H, W KeyTip sequence applies. Keyboard commands and KeyTips can vary by Excel version and Mac keyboard settings. Option+Return inserts a manual line break while editing a cell; it is not the same as toggling Wrap Text. In Excel for the web, choose Home > Wrap Text if the Windows sequence is intercepted by the browser or does not show the expected KeyTips.

Common Mistakes

  • Pressing the keys simultaneously. Alt, H, W is a sequence of ribbon KeyTips, not a three-key shortcut to hold down. Press Alt and release it, then press H and release it, then press W. If the sequence fails, try again after clicking in the worksheet and look for KeyTips displayed over the ribbon.
  • Expecting the column to widen. Wrap Text keeps the column width and places the contents on additional displayed lines. If you want the text on one line, widen the column instead, or use both approaches to find a readable layout.
  • Confusing wrapping with a manual line break. Wrapping is automatic and responds to the column width. A manual line break is a character inserted at a particular point in the cell’s contents. On Windows, press Alt+Enter while editing a cell to insert a line break at the cursor. On Mac, the corresponding editing command is generally Option+Return. Use a manual break when you need a specific line division, not simply to show overflow.
  • Applying it to the wrong range. The command affects the current selection. Before pressing the keys, check the highlighted cells or column heading. If only one cell changes, you may have selected only that cell rather than the full range.
  • Assuming hidden text means wrapping failed. A fixed row height, merged cells, or a very narrow column can make the result look wrong. The setting may be enabled even when not all lines are visible. Inspect row height and merged-cell formatting before toggling the command repeatedly.
  • Using repeated spaces to line up text. Spaces are unreliable for arranging lines because font and column-width changes can shift the appearance. Use Wrap Text for automatic display or a manual line break for an intentional break.

Tips

  • Format a whole column before entering data. Select the column heading and turn on Wrap Text. New text entered in those cells will use the setting, which can help when building a notes or description column.
  • Set the column width before fine-tuning row heights. Changing the width changes where text wraps and can alter the number of lines in many rows. Once the width is settled, AutoFit row height so the displayed lines fit.
  • Use a practical width for long descriptions. Very narrow columns create tall rows and make a worksheet harder to scan. A moderately wider column with wrapping often gives a better balance, especially when readers need to compare rows.
  • Check print layout as well as the screen. A worksheet that looks readable on screen may paginate differently when printed. Use File > Print to preview it, and adjust column widths, row heights, or page orientation if wrapped rows make the printout too long.
  • Apply the setting consistently. If a table has several description columns, select their ranges and apply wrapping together. Consistent row heights and wrapping make the table easier to read than a mixture of clipped and expanded cells.
  • Remember that formatting is separate from content. Copying a cell can also copy its formatting, including Wrap Text. If pasted cells unexpectedly wrap, inspect the destination formatting; if appropriate, use Paste Special options that paste values rather than all formatting.

Troubleshooting

The sequence does nothing. Make sure the worksheet is active, then press and release Alt before H and W. If you are editing text inside a cell, press Esc or Enter to leave edit mode before using the ribbon command. Try clicking the Home tab or choosing Home > Wrap Text directly. In Excel for the web, the browser can affect keyboard shortcuts, so use the ribbon command instead.

The button is selected, but the text still looks cut off. Select the row and choose Home > Format > AutoFit Row Height. Also check whether the row has a fixed height: drag its bottom edge downward or use AutoFit. A fixed height can hide lower lines even though wrapping is enabled.

The row height does not AutoFit correctly. Merged cells can prevent Excel from calculating the height of wrapped text as expected. If the cell is merged, consider unmerging it and using Home > Alignment options such as Center Across Selection when that suits the layout. If you must keep merged cells, adjust the row height manually and review the result after changing the column width.

The words break at unexpected points. Check the column width and look for manual line breaks or unusually long strings with no spaces, such as a long web address or identifier. Widening the column may help. For a specific break, edit the cell and insert a manual line break at the desired position; remember that this changes the cell’s contents.

Only some cells change, or cells behave inconsistently. Review the selected range and check whether the cells have different existing formatting. Select the intended cells again and apply Wrap Text to standardize them. If the worksheet is protected, formatting commands may be restricted; check Review > Protect Sheet and ask the workbook owner to allow formatting changes if needed.

Frequently Asked Questions

What is the keyboard shortcut for Wrap Text in Excel on Windows?
In Excel for Microsoft 365 on Windows, press and release Alt, then H, then W. It is a sequence of KeyTips for Home > Wrap Text, not keys held together.

Does Alt+H+W work on a Mac?
That is the Windows ribbon KeyTip sequence and may not work on Mac. Use Home > Wrap Text in Excel for Mac. Keyboard behavior can depend on the Excel version and keyboard settings.

Does Wrap Text insert a line break in the cell?
No. It changes how Excel displays the existing cell value based on the column width. To force a break at a chosen point, edit the cell and insert a manual line break, using Alt+Enter on Windows or generally Option+Return on Mac.

Why does the row get taller after I turn on Wrap Text?
Excel makes room for the additional displayed lines by increasing row height when it can. The text remains in one cell; the extra height is a display adjustment. If the row height is fixed, some lines may remain hidden until you AutoFit or resize the row.

Can I wrap text in several cells at once?
Yes. Select the range, rows, or columns first, then apply Home > Wrap Text or the Windows Alt, H, W sequence. The setting applies to the selected cells and does not change their contents.

How do I turn Wrap Text off?
Select the wrapped cells and use the same command again: press Alt, H, W on Windows, or choose Home > Wrap Text. Because it is a toggle, the displayed lines may return to one line and appear clipped if the column is too narrow.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.