The Windows select all shortcut is Ctrl+A. Pressing Ctrl and the A key together selects every item in the current window, document, or text field. On a Mac, the equivalent is Command (⌘)+A.
What Ctrl+A Actually Selects
Ctrl+A is context-sensitive, meaning it selects everything in whatever is currently active. In a word processor like Microsoft Word, it highlights all text in the document. In File Explorer, it highlights every file and folder in the current directory. In a web browser, it selects all text on the page (but not images or buttons). In an Excel spreadsheet, it selects the entire worksheet, or just the current data region if you press it twice.
Here are common examples:
- Notepad or Word: Selects all text in the document.
- File Explorer: Selects all files and folders in the current folder.
- Outlook: Selects all emails in the current folder.
- Command Prompt: Selects all text in the console window.
- Browsers: Selects all text on the webpage, not the page elements.
How the Shortcut Works in Different Apps
While the core action is the same, some applications add extra behavior. In Microsoft Excel, pressing Ctrl+A once selects the current data range (contiguous cells with data). Pressing Ctrl+A again selects the entire worksheet. In PowerPoint, Ctrl+A selects all objects on a slide; pressing it again selects all slides in the outline pane. In Photoshop, Ctrl+A selects the entire canvas, which is useful for copying the whole image.
In text fields, Ctrl+A selects all text in that field. If you are in a search box on a website, it selects the text you typed, not the whole page. This is because the focus is on the input field.
How to Use Ctrl+A with Other Keys
Ctrl+A is rarely used alone. It is almost always followed by another shortcut to act on the selection:
- Ctrl+A then Ctrl+C: Copy everything.
- Ctrl+A then Ctrl+X: Cut everything (moves it to clipboard).
- Ctrl+A then Delete: Delete everything.
- Ctrl+A then Ctrl+B: In Word, bold all text.
- Ctrl+A then Ctrl+Shift+End: In Word, selects from cursor to end of document (useful if you want to select only part).
You can also use Ctrl+A in combination with the Shift key in some apps to adjust the selection. For example, in File Explorer, after Ctrl+A, hold Shift and click a file to deselect everything except that file and the ones between it and the first selected item.
Select All Without the Keyboard
If you prefer the mouse, most applications have a menu option. In Windows 11 and 10, File Explorer has a Select all button on the Home ribbon tab. In Microsoft Office apps, go to Home > Select > Select All (in Word, it is under the Editing group). In a web browser, right-click on a page and choose Select All (though this is not always available).
For touchscreens, you can long-press on text and drag the selection handles, but that is not a true select-all. The easiest touch method is to use the on-screen keyboard’s Ctrl key if you have a tablet with a keyboard attached.
Common Problems and Misconceptions
Ctrl+A doesn’t select everything on a webpage. It only selects the text. To copy an entire webpage including images, you need to save the page or use browser developer tools. This is a frequent confusion.
Ctrl+A in File Explorer selects hidden files too? Yes, if hidden files are visible. If they are hidden, they are not selected. To include hidden files, first enable viewing them via View > Show > Hidden items.
Ctrl+A doesn’t work in some games or specialized apps. Some applications, especially games, override the shortcut. In those cases, you may need to use the app’s own select-all command.
Pressing Ctrl+A twice in Excel selects the whole sheet. If you press it once and it selects the data range, press it again to select all cells. This is a known behavior.
Alternatives and Variations
Sometimes you don’t want to select everything. Here are alternatives:
- Ctrl+Shift+Home/End: Selects from the cursor to the beginning or end of the document or line.
- Shift+Click: Selects a range between two points.
- Ctrl+Click: Selects multiple non-adjacent items.
- Ctrl+Shift+Arrow keys: Selects text word by word or line by line.
In Windows 10 and 11, you can also use Win+Shift+S to select a region of the screen (screenshot), which is not the same as select all but often confused because the word “select” appears.
Frequently Asked Questions
Does Ctrl+A work in the Command Prompt? Yes, in Windows 10 and 11, Ctrl+A selects all text in the console window. In older versions, you had to right-click and choose Select All.
Why does Ctrl+A select all in some apps but not others? Because the app decides what “all” means. In a text editor, it’s all text; in a file manager, it’s all files; in a spreadsheet, it’s all cells. The shortcut is a request, not a universal command.
Can I select all in a dropdown list? No, Ctrl+A does not work in dropdown lists. You can use Shift+Click to select multiple items if the list allows multi-select, or use Ctrl+Click for non-adjacent items.
What is the Mac equivalent? Command+A (⌘+A). The Ctrl key on Windows is replaced by the Command key on Mac.
Does Ctrl+A work in the Windows 11 Settings app? Not usually. Settings is a modern app that doesn’t support text selection in most places. You can select text in some text boxes, but not the whole page.
How do I select all in a PDF viewer? Most PDF readers (like Adobe Acrobat) use Ctrl+A to select all text on the page. If the PDF is scanned images, there is no text to select.
Related
- Google Sheets Remove Duplicates in Column: 3 Ways
- Shortcut Keys Definition & How to Use Them
- Data Entry Jobs From Home for Students: Real Guide
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Delete a Page in Word Using Ctrl+G: Step-by-Step GuideTo delete a page in Word with Ctrl+G on Windows, press Ctrl+G, enter \page in the Go To…
- How to Clear Track Changes in WordTo clear tracked edits in Word, review them and choose Review > Accept > Accept All Changes to…
- Switch Excel Cell References: F4 and Reference TypesTo switch a formula reference between relative, absolute, and mixed types in Excel for Microsoft 365 on Windows,…
- Software for Data Entry: Top Tools ComparedThe best software for data entry depends on your volume, budget, and whether you need automation, but the…
- Microsoft Word: Remove Formatting from Text QuicklyTo remove formatting in Microsoft Word, select the text, then choose Home > Clear All Formatting in the…
- Power Query Not Equal: Use the <> OperatorOperator” loading=”lazy” width=”800″ height=”450″ style=”max-width:100%;height:auto” /> In Power Query’s M language, the not-equal operator is <>. For example,…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.