Highlight All Shortcut: Excel, Docs & More

How-to basics · Updated November 23, 2026

The universal shortcut to highlight all content in a document, spreadsheet, or web page is Ctrl+A on Windows and Cmd+A on Mac. This selects everything in the current context—a whole worksheet, a text document, or a webpage—so you can then copy, delete, format, or apply other actions to the entire selection at once.

What Does Ctrl+A Actually Select?

The scope of Ctrl+A depends on where you use it. In most programs, pressing it once selects everything in the current view or document. In Microsoft Excel, pressing Ctrl+A once selects the current data range (the contiguous block of cells with data), and pressing it a second time selects the entire worksheet. In Word, it selects the whole document. In a web browser, it selects all text on the page, but not images or buttons—only text and certain elements that can be highlighted. In file explorers (Windows File Explorer, macOS Finder), Ctrl+A selects all files and folders in the current folder.

How to Use the Highlight All Shortcut in Excel

In Excel, the shortcut is particularly powerful because it adapts to your data. Here’s how it works in practice:

  • Click any cell inside a block of data (e.g., A1 with values in A1:C10) and press Ctrl+A once. Excel selects the entire contiguous data range (A1:C10).
  • Press Ctrl+A again to select the entire worksheet (all 1,048,576 rows by 16,384 columns).
  • If you want to select only the data range without the blank rows/columns, press Ctrl+A once and then use Ctrl+Shift+End to extend the selection to the last used cell.

On a Mac, the same logic applies with Cmd+A. If you’re using Excel for the web, Ctrl+A works the same way in a browser.

How to Highlight All in Google Sheets

Google Sheets follows the same pattern as Excel. Press Ctrl+A (Windows/ChromeOS) or Cmd+A (Mac) to select the current data range. Press it again to select the entire sheet. The difference is that in Google Sheets, pressing Ctrl+A when your cursor is in a blank cell selects the entire sheet immediately—there’s no “second press” for that case. To select only the data range, click a cell within the data first, then press Ctrl+A.

Selecting All in Word, Docs, and Other Text Editors

In Microsoft Word, Google Docs, Notepad, and most text editors, Ctrl+A selects the entire document. This is useful for changing the font, line spacing, or applying a style to everything at once. In Word, you can also use the ribbon path Home > Editing > Select > Select All. In Google Docs, the menu path is Edit > Select all. For a quick copy of the whole document, press Ctrl+A then Ctrl+C.

Selecting All in Web Browsers and PDFs

In Chrome, Firefox, Edge, and Safari, Ctrl+A selects all text on the current webpage. This is handy for copying an article or a list of search results. However, it does not select images, videos, or interactive elements—only text. In PDF readers like Adobe Acrobat, Ctrl+A selects all text on the current page, not the entire document. To select all pages, use the “Select All” command from the Edit menu or the thumbnail pane.

Common Problems and Misconceptions

One common issue is that Ctrl+A doesn’t seem to work in some applications, like certain web forms or embedded viewers. This usually happens because the focus is on a sub-element (e.g., a text box) rather than the main page. Click outside the sub-element first, then press Ctrl+A. Another misconception is that Ctrl+A will select everything in a spreadsheet including hidden rows/columns—it does, but only if you press it twice in Excel. In Google Sheets, hidden rows are excluded from the selection unless you use “Select all” from the corner button (the rectangle above row 1 and left of column A).

Alternatives to the Keyboard Shortcut

If you prefer using a mouse or need a menu-based approach, here are the alternatives:

  • Excel: Click the corner button (the gray rectangle where row numbers and column letters meet) to select the entire worksheet.
  • Word: Go to Home > Editing > Select > Select All.
  • Google Docs: Use Edit > Select all.
  • Web browsers: Right-click on the page and choose “Select All” (not available in all browsers; keyboard shortcut is faster).

For touch devices, you can often long-press and drag to select, but the shortcut is the most efficient method.

Frequently Asked Questions

Does Ctrl+A work in all programs?

Most programs support Ctrl+A, but some specialized software (like certain games or media players) may not. In those cases, check the program’s Edit menu for a “Select All” option. If it’s not there, the shortcut may be disabled.

Why does Ctrl+A select only part of my spreadsheet?

In Excel, Ctrl+A selects the current data range first. If you want the entire sheet, press Ctrl+A again. In Google Sheets, clicking a blank cell and pressing Ctrl+A selects the whole sheet. If you’re in a filtered list, Ctrl+A selects only visible cells—press Ctrl+A again to include hidden rows.

Can I highlight all without using the keyboard?

Yes. In most programs, you can use the mouse: in Excel, click the corner button; in Word, use the ribbon; in browsers, press Ctrl+A is the only reliable way, but you can also triple-click to select a paragraph and then drag to extend.

Does Ctrl+A copy the selection?

No, Ctrl+A only selects. You still need to press Ctrl+C to copy, Ctrl+X to cut, or Ctrl+V to paste. After selecting all, you can also press Delete to clear the content.

What is the Mac shortcut for highlighting all?

The Mac equivalent is Cmd+A (Command key + A). It works in the same contexts as Ctrl+A on Windows.

Why doesn’t Ctrl+A work in my PDF viewer?

Some PDF viewers only allow selecting text on the current page, not the whole document. Try pressing Ctrl+A twice or use the “Select All” option in the Edit menu. In Adobe Acrobat, you can also use the “Select All” in the page thumbnails pane to select all pages.

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.