To select all using your keyboard, focus the content you want, then press Ctrl + A on Windows 11 or Chromebook, or Command + A on Mac. Hold the first key, press A, then release both keys. The shortcut selects content in the active area of a supported app.
Spreadsheets and email conversation lists have their own selection rules, so check what is highlighted before continuing. The Windows steps below use Windows 11 menus.
The short version
- Windows and Chromebook: Focus the content, then press Ctrl + A.
- Mac: Activate the document, text field, or Finder window, then press Command + A.
- Excel: Repeat the selection shortcut until the whole worksheet is selected.
- Gmail: Enable keyboard shortcuts before using * followed by A to select conversations.
- Phones and tablets: External keyboard shortcuts depend on the app, with touch selection available in supported text controls.
| Where or how | Shortcut or action | What it selects |
|---|---|---|
| Windows 11 | Ctrl + A | Active area in a supported app or control |
| Mac | Command + A | Active document, field, or Finder view |
| Chromebook | Ctrl + A | Focused page or text area |
| Ubuntu desktop | Ctrl + A | Text or items in a compatible graphical app |
| Desktop Firefox | Ctrl + A on Windows or Linux; Command + A on Mac | Focused page or editable field |
| Google Docs on the web | Ctrl + A on Windows or ChromeOS; Command + A on Mac | Document text |
| Google Sheets on the web | Ctrl + A on Windows or ChromeOS; Command + A on Mac | Sheet content |
| Word keyboard selection | Ctrl + A on Windows, Android, or the web; Command + A on Mac or iOS | Focused document, with an external keyboard on mobile |
| Word ribbon on Windows | Home > Select > Select All | Document text |
| Excel worksheet keyboard selection | Ctrl + A on Windows; Command + A on Mac | Repeat to reach the whole worksheet |
| Excel worksheet corner button | Click Select All | All worksheet cells |
| Excel table | Click inside, then press Ctrl + A | Table data, then headers with another press |
| Google Drive on the web | Ctrl + A on Windows or ChromeOS; Command + A on Mac | All visible items |
| Gmail conversation shortcut | *, then A, with shortcuts enabled | Conversations in the list |
| Gmail selection beyond one page | Check Select, then click the selection notification link | Conversations beyond the current page |
| iPad external keyboard | Command + A | Content supported by the active app |
| Google Docs or Gmail on Android | Ctrl + A on an external keyboard | Focused document or editable text |
| Word mobile touch selection | Touch and hold, then tap Select All | Document text |
| iPhone text editing controls on iOS 26 | Double-tap a word, tap the selection, then tap Select All | Text in a compatible app |
| Windows Sticky keys | Enable the setting, then press Ctrl, followed by A | Content in the active supported area |
| Windows onscreen keyboard | Use the displayed Ctrl and A keys | Content in the active supported area |
| Mac accessibility keyboard options | Use Sticky Keys or Accessibility Keyboard | Content in apps supporting Command + A |
Select text or items on your computer
On Windows 11, give the document, text field, desktop, or file list focus, then press Ctrl + A. The shortcut works in applications and controls that implement Select all.
On a Mac, activate the document, text field, or Finder window before pressing Command + A. On a Chromebook, focus the page or text area and press Ctrl + A. Ubuntu desktop also uses Ctrl + A for text or item lists in compatible graphical applications.
Fix selection in the wrong area
If the shortcut selects the wrong content, give the intended document, field, or file list focus and press the shortcut again. Selection follows the active area, so a focused text field and a focused file list produce different results.
In Excel, start with a worksheet cell focused outside text editing mode, then repeat the selection shortcut until the intended scope is highlighted. In Google Drive on the web, selection covers all visible items. Gmail’s top selection checkbox initially covers the current page, with a separate selection link for conversations beyond it.
Select content in a browser
In desktop Firefox, focus the page or editable field you want to select. Press Ctrl + A on Windows or Linux, or Command + A on Mac. Desktop environment shortcuts or customized editing bindings can take precedence over Firefox’s shortcuts.
In Google Docs on the web, focus the document editing area, then press Ctrl + A on Windows or ChromeOS, or Command + A on Mac. In Google Sheets on the web, focus the sheet and use the same shortcut for your platform.
Select an entire Word document
In Word for Microsoft 365 or Word 2024 on Windows, focus your document and press Ctrl + A. Word for the web also uses Ctrl + A. In Word on Mac, focus the document and press Command + A.
For a menu alternative in desktop Word for Windows, open Home > Select > Select All. This selects the document text without holding keys together.
Select a whole Excel worksheet or table
Start with a worksheet cell focused and outside text editing mode. In Excel for Microsoft 365 or Excel 2024, press Ctrl + A on Windows or Command + A on Mac. Repeat until the whole worksheet is selected, because selection can expand through smaller regions first.
Excel for Windows also supports Ctrl + Shift + Spacebar for worksheet selection. Selection can expand through the current region and summary rows before reaching the whole sheet. For a direct pointer alternative in desktop Excel, click the Select All button in the upper-left corner where the row and column headings meet.
To select a table in desktop Excel, click inside it and press Ctrl + A to select its data. Press Ctrl + A again to include its headers. Alternatively, click the table’s upper-left corner twice to include the headers. These actions select the table rather than necessarily selecting the entire worksheet.
Select files or email conversations
For files on Windows 11, focus the file list and press Ctrl + A. On Mac, activate the Finder window and press Command + A. In Google Drive on the web, focus the file list and press Ctrl + A on Windows or ChromeOS, or Command + A on Mac, to select all visible items.
To enable Gmail’s conversation shortcuts on a computer, open Settings > See all settings and find Keyboard shortcuts. Select Keyboard shortcuts on, then click Save Changes. In the conversation list, press * followed by A. On a US keyboard, enter the asterisk with Shift + 8.
To include Gmail conversations beyond the current page, open the desired category and check Select. That checkbox initially selects the current page, so click the selection link in the notification above the messages to extend the selection. The link’s conversation count and category name vary with your account.
Select all on a phone or tablet
Connect an external keyboard to your iPad, focus the intended app content, and press Command + A. What gets selected depends on the app. In Google Docs and Gmail on Android, connect an external keyboard, focus the document or editable text, and press Ctrl + A.
With an external keyboard, Word on Android uses Ctrl + A, while Word on iPhone or iPad uses Command + A. For touch selection in Word on Android, iPhone, or iPad, touch and hold in the document, then tap Select All on the command bar.
In compatible iPhone text editing controls on iOS 26, double-tap a word, then tap the selection to reveal the editing options. Tap Select All to expand the selection.
Use the shortcut without holding keys together
On Windows 11, open Start > Settings > Accessibility > Keyboard and turn on Sticky keys. Focus the intended content, press Ctrl, then press A. This lets you enter the combination one key at a time.
For an onscreen alternative on Windows 11, press Windows + Ctrl + O to open the On-screen keyboard. Focus the content, then use the displayed Ctrl and A keys. On Windows 11, you can also open Start > Settings > Accessibility > Keyboard and turn on On-screen keyboard.
On Mac, open Apple menu > System Settings > Accessibility > Keyboard. Turn on Sticky Keys to enter Command + A sequentially, or turn on Accessibility Keyboard to use an onscreen keyboard. These options work in apps that support the selection shortcut.
Frequently Asked Questions
How do you select only the browser address?
On a Chromebook, press Ctrl + L or Alt + D to select the address-bar content. In Microsoft Edge for Windows, press Alt + D to select the URL for editing.
What is the select all shortcut in Windows Terminal?
With Windows Terminal’s default bindings, focus the terminal pane and press Ctrl + Shift + A. This selects all content in the text buffer.
Can you select a Word document using a function key?
In desktop Word for Windows or Mac, focus the document and press F8 repeatedly until the selection covers the document. Press Esc to stop extending the selection. Use your keyboard’s function-key modifier if needed to send F8.
How do you select every object on an Excel worksheet?
In Excel for Windows, select an object first, then press Ctrl + Shift + Spacebar. With an object already focused, this selects every object on the worksheet.