Excel guide ยท Reviewed 9 October 2026

How to wrap text in Excel

Alt+HthenW

Quick answer: Select the cells and press Alt+H, then W, to switch Wrap Text on or off in Excel.

Text spilling across neighbouring columns makes a sheet look unfinished. Wrap Text keeps long labels tidy inside their own cell, and the KeyTip sequence does it without breaking your flow.

Hold Alt, then press H, then press W.

Step by step

  1. Select the cells you want to wrap.
  2. Press Alt, then H to show the Home tab KeyTips.
  3. Press W to turn Wrap Text on. The row height grows to fit the text.
  4. Press Alt, H, W again to turn it off.

Tips & troubleshooting

  • To choose exactly where a line breaks, edit the cell and press Alt+Enter at that point.
  • If the row doesn't resize, double-click the row border to auto-fit it.

Wrap, shrink or widen?

Long text in a narrow cell can be handled three ways, and each suits a different job.

  • Wrap Text keeps the column width and makes the row taller. Best for descriptions and comments.
  • Shrink to Fit keeps both width and height and reduces the font size instead. Press Ctrl+1 and tick it on the Alignment tab. Fine for the odd long heading, but hard to read if overused.
  • AutoFit widens the column to the longest entry. Press Alt, H, O, I, or double-click the right edge of the column header.

When the row won't grow

  • The row height was set manually. Once you drag a row to a specific height, Excel stops adjusting it. Press Alt, H, O, A to AutoFit Row Height.
  • The cell is merged. Rows with merged cells never auto-fit; set the height by hand or use Centre Across Selection instead of merging.
  • The text is a number or date. Wrap Text only applies to text. A number too wide for its column shows ##### until you widen the column.

Control where the lines break

Wrap Text breaks lines wherever the column width dictates. For a break at an exact point, edit the cell and press Alt+Enter where you want the new line. Adjusting the column width is the other lever: a slightly wider column can turn four ragged lines into two neat ones.

On a Mac and in Excel for the web

Ribbon KeyTips are a Windows feature. On a Mac and on the web, select the cells and click Wrap Text on the Home tab.

Common questions

Why is wrapped text cut off when I print?

The row height on screen and in print can differ slightly. Select the rows and AutoFit them again with Alt, H, O, A, then check Print Preview with Ctrl+P.

Can I wrap text in a whole sheet at once?

Yes. Press Ctrl+A twice to select everything, then Alt, H, W. It's usually better to wrap only the columns that need it, so number columns stay on one line.

Turn it into a habit

Knowing a shortcut is one thing. Using it without thinking is another. Practise it in seconds with our free trainer.

Free weekly email

Shortcut of the Week

One genuinely useful Microsoft 365 shortcut, explained in a minute. No spam, no sharing your address, unsubscribe in one click.

By subscribing you agree to receive this weekly email. We'll ask you to confirm first. See our privacy policy.

Related guides