To select all in Windows, press Ctrl + A — this works in File Explorer, most text editors, web browsers, and countless other apps. If you’re on a touch screen or prefer mouse-only, you can also use the Select all command from the Edit menu (if present) or the ribbon in File Explorer.
Why Ctrl+A Works Everywhere (and Sometimes Doesn’t)
Ctrl+A is a universal keyboard shortcut that has been part of Windows since the early days. It sends a “select all” command to whatever window has focus. In a text document, it highlights every character. In File Explorer, it selects all files and folders in the current view. In a web page, it selects all visible text on the page.
However, some applications override or ignore it. For example, in certain games, Ctrl+A might not do anything because the game captures the key. In some specialized software (like CAD programs), Ctrl+A may select all objects in the drawing, not all text. If Ctrl+A doesn’t work, look for a menu item called Edit > Select All or a button with a checkbox icon.
Selecting All in File Explorer
File Explorer (the folder window) is where most people need to select all files. Here are the exact methods:
- Keyboard: Click anywhere inside the folder, then press Ctrl+A. This selects every file and subfolder in the current view.
- Ribbon: Click the Home tab at the top of File Explorer. In the Select group, click Select all.
- Menu: If you have the classic menu bar visible (press Alt to show it temporarily), click Edit > Select All.
- Mouse: Click and drag a rectangle around all files. This only works if they are not too spread out, but it’s a quick way to select a large block.
Note: If the folder is in a grid or list view, Ctrl+A selects everything visible on the screen. If you have many files and the folder is set to “Details” view, Ctrl+A still selects all items, not just the visible ones.
Selecting All in Text Documents and Browsers
In Notepad, Word, WordPad, or any text field, Ctrl+A highlights all the text. This is handy for copying an entire document. In a web browser (Chrome, Edge, Firefox), Ctrl+A selects all text on the page — but it doesn’t select images or other elements. To copy everything, you’d need to copy the selected text.
In Microsoft Word, Ctrl+A behaves differently depending on where your cursor is. If your cursor is in the body, it selects all body text. If your cursor is inside a table, pressing Ctrl+A once selects the table’s contents, pressing it again selects the whole document. This is a common source of confusion.
How to Select All on a Touch Screen or with Mouse Only
Windows tablets and touch laptops don’t always have a physical keyboard. To select all without a keyboard:
- In File Explorer, tap the Home tab, then tap Select all.
- In most touch-friendly apps (like Photos or Mail), look for a selection icon (often a circle with a checkmark) in the top toolbar, then tap it and choose “Select all” if available.
- In a text field, tap and hold to bring up the selection handles, then drag them to cover the text. There’s no one-tap “select all” on a touch keyboard, but you can tap the Ctrl key on the on-screen keyboard, then tap A if you’ve enabled the full keyboard.
Selecting All in Specific Apps (Excel, Word, Photoshop)
Different programs sometimes have unique behaviors:
- Excel: Ctrl+A selects the current data region (a contiguous block of cells with data). Pressing Ctrl+A again selects the entire worksheet. To select all cells, click the triangle at the top-left corner (where row numbers and column letters meet).
- Word: As mentioned, Ctrl+A selects the whole document, but inside a table it first selects the table. Press it twice to get the whole document.
- Photoshop: Ctrl+A selects the entire canvas area (all pixels on the current layer). It doesn’t select layers.
- File Explorer in OneDrive: Ctrl+A works the same, but if you’re in a search results view, it selects all search results, not all files in the folder.
If an app doesn’t respond to Ctrl+A, check its menus or help file for the correct shortcut.
Common Problems and Fixes
Sometimes Ctrl+A doesn’t seem to work. Here are the usual culprits:
- Focus is on a different window: Click inside the window you want to select first, then press Ctrl+A.
- Sticky Keys or Filter Keys: If you have Sticky Keys enabled, you may need to press Ctrl, then A separately. To check, go to Settings > Accessibility > Keyboard and turn off Sticky Keys if needed.
- In a list with checkboxes: In some apps (like Gmail in a browser), Ctrl+A selects all items, but you might need to click a checkbox first to enter “selection mode.”
- In a PDF viewer: Some PDF readers don’t support Ctrl+A. Instead, use the selection tool (often a T icon) and drag, or look for Edit > Select All.
If Ctrl+A still fails, try the menu method. If that fails too, the app may simply not support selecting everything at once.
Alternative Ways to Select Multiple Items
Selecting all is just one way to grab items. You might also need to select a specific group:
- Select a range: Click the first item, hold Shift, then click the last item. This selects everything in between.
- Select non-adjacent items: Hold Ctrl and click each item you want. This toggles each item’s selection.
- Invert selection: In File Explorer, after selecting a few items, press Ctrl+Shift+A to select everything except what you already selected. This is useful when you want to delete or copy all but a few files.
- Select all in a column: In Excel, click a column letter to select the whole column, or a row number for the whole row. To select all columns and rows, press Ctrl+A twice or click the triangle.
Frequently Asked Questions
Does Ctrl+A work in Command Prompt? Yes, in Command Prompt (cmd.exe) and PowerShell, Ctrl+A selects all text in the console window. However, it doesn’t select the command output in a way you can copy easily; you may need to right-click and choose “Mark” or use Ctrl+M to enter mark mode first.
Why does Ctrl+A select the whole page in a browser but not images? In a browser, Ctrl+A selects all text content, not images or other embedded elements. To select images, you’d need to click and drag over them, or use the browser’s “Select all” from the Edit menu (if present), which still only selects text.
Is there a way to select all files in a folder using the mouse only? Yes, click the first file, then scroll to the last file, hold Shift and click the last file. Or, if the files are in a grid, drag a box around them. But the quickest mouse-only method is to use the ribbon’s “Select all” button.
What if Ctrl+A selects everything in the document but I only want to select a sentence? That’s normal. To select a sentence, hold Ctrl and click anywhere in the sentence in many word processors (like Word). Or double-click to select a word, triple-click to select a paragraph.
Does Ctrl+A work on Mac? On a Mac, the equivalent is Command (⌘) + A. The Ctrl key on a Mac usually performs right-click actions, so don’t use Ctrl+A there.
Selecting All in Windows Settings and Other System Areas
In Windows Settings (the modern app), Ctrl+A doesn’t work because it’s not designed for multi-selection. However, in some lists (like the list of apps in Settings > Apps > Installed apps), you can’t select multiple items at once. For system files, you should never select all and delete them — that could break Windows. Always be cautious when selecting all in system folders like C:\Windows or C:\Program Files.
In the Registry Editor, Ctrl+A doesn’t select all keys; instead, you’d use Ctrl+F to find. In Task Manager, you can select multiple processes by holding Ctrl and clicking, but there’s no “select all” because you usually only want to end specific tasks.
Safety and Best Practices
Selecting all is powerful, but it can lead to accidental deletions or moves. Before you press Delete or Cut after selecting all, double-check that you really want to affect every item. For example, if you select all files in a folder and press Delete, they go to the Recycle Bin (unless you press Shift+Delete, which permanently deletes them). If you select all in a text document and type something, you’ll replace the whole document. Always verify your selection before performing a destructive action.
If you’re working with important data, consider making a backup first. And if you’re in a system folder, avoid selecting all altogether — it’s rarely necessary and can cause serious problems.
Related
- Generate 100 Random Numbers in Python: Easy Steps
- Changing Desktop Shortcut: How to Rename or Move
- Computer Keypad Shortcut Keys: The Essential List
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- How to Change View Size in Outlook Email on Any ScreenTo change the size of an email in Outlook, adjust message zoom in classic Outlook for Windows, or…
- Move a Row Up or Down in Excel Without Losing DataTo move a row in Excel without overwriting another one, click its row number, press Ctrl+X, then right-click…
- Excel Conditional Formatting for Upcoming DatesYes. In Excel for Microsoft 365 on Windows, select the date cells, choose Home > Conditional Formatting >…
- Cash Flow Statement Template Excel: Build and UseA cash flow statement template in Excel is a worksheet that organizes cash received and cash paid into…
- How to Add Animated Text to PowerPoint PresentationsTo add animated text in PowerPoint, select a text box or highlight text, open Animations > Add Animation,…
- Password Protect an Excel Workbook to Require a PasswordTo require a password before anyone can open an Excel workbook in Microsoft 365 for Windows, open the…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.