logo
search
Formatting Issues

How to Insert a Line Break Inside an Excel Cell

Steve KSteve K Sep 25, 2026 873 views

Question details

The user wants to format text by placing multiple lines of text within one single cell in a spreadsheet.

How to Insert a Line Break Inside an Excel Cell
Product
Microsoft Excel
Device & OS
not provided
Scenario
Formatting text inside a spreadsheet cell to improve readability and fit multiple lines without merging cells.
Observed behavior
The user needs to display multiple lines of text within the confines of a single Excel cell without the text bleeding into adjacent cells or automatically dropping down to the next row.
Before you start

Ensure that the cell is in edit mode before attempting to insert a line break, and verify that 'Wrap Text' is enabled so the multiple lines display correctly within the cell boundaries.

Solution 1Recommended

Use the Alt + Enter Keyboard Shortcut

The quickest and most standard way to add a manual line break inside an Excel cell is by using the Alt+Enter keyboard shortcut.

This method works seamlessly across most desktop versions of Excel and helps you organize long text strings neatly inside a single cell.

1
Double-click the target cell

Enter edit mode by double-clicking the cell where you want to add the text, or simply select the cell and press the F2 key.

2
Position the cursor

Click exactly where you want the line break to occur within the text.

3
Press Alt + Enter

Hold down the left Alt key on your keyboard and press Enter to push the text to a new line within the same cell.

Use the Alt + Enter Keyboard Shortcut
Keyboard Layout: Make sure to use the Alt key on the left side of your spacebar, as the right Alt key (AltGr) might not work on certain international keyboard layouts.
Free Office Suite

Insert Line Breaks Easily with WPS Spreadsheet

WPS Office provides a highly compatible and user-friendly spreadsheet tool. You can use the exact same shortcut to add line breaks in WPS Spreadsheet, ensuring a familiar and seamless experience when handling spreadsheet data.

  1. 1. Open your document: Launch WPS Spreadsheet and open your existing file or create a new one.
  2. 2. Edit the cell: Double-click the cell where you want to add a line break to enter edit mode.
  3. 3. Place the cursor: Click exactly where the new line of text should begin.
  4. 4. Apply the shortcut: Press Alt + Enter using the left Alt key to instantly create the manual line break.
Identical Alt+Enter shortcut for in-cell line breaks.Fully compatible with Microsoft Excel (.xlsx, .xls) file formats.Lightweight, fast, and completely free to download.Intuitive interface for text wrapping and cell formatting.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my text hide instead of showing on a new line after pressing Alt+Enter?

If your text disappears or seems cut off after inserting a line break, you may need to manually adjust the row height or ensure the 'Wrap Text' feature is enabled on the Home tab for that specific cell.

Can I use a formula to insert a line break?

Yes, you can use the CHAR(10) function combined with the ampersand (&) operator to add a line break via formula (e.g., =A1 & CHAR(10) & B1). Remember to enable 'Wrap Text' on the cell containing the formula for it to display correctly.

How do I quickly remove all manual line breaks from my Excel cells?

You can remove line breaks using the Find and Replace tool. Press Ctrl+H, click inside the 'Find what' box, press Ctrl+J to enter the invisible line break character, leave the 'Replace with' box empty (or add a space), and click 'Replace All'.

Does this method work on a Mac?

On a Mac, the equivalent shortcut for inserting a line break inside an Excel cell is Option + Return (or Control + Option + Return depending on your Excel version).