The quickest way to select all on a laptop is to press Ctrl+A (Windows) or Command+A (Mac). This works in nearly every program, from web browsers to Word documents to file folders. If you prefer using a mouse, click once inside the content area, then press the shortcut—or use the Edit menu in most apps.
Why Ctrl+A (or Cmd+A) Works Everywhere
The Select All command is one of the oldest universal shortcuts, dating back to early graphical interfaces. It sends a single command to the active window: “select everything in this context.” The context matters:
- In a text document, it selects all text in the current document or text box.
- In a file explorer window, it selects all files and folders in the current folder.
- On a web page, it selects all visible text and images on the page.
- In a spreadsheet, it selects the entire sheet (or just the data range, depending on the app).
Because the operating system handles the shortcut, it works consistently across apps—no need to learn different commands for Word vs. Chrome vs. Notepad.
How to Select All with the Mouse or Trackpad
If you prefer not to use the keyboard, there are mouse-based methods:
- Click and drag: Click at the start of the text, hold the left mouse button, and drag to the end. This selects exactly what you drag over, not the whole document.
- Triple-click: In most word processors, triple-clicking inside a paragraph selects that entire paragraph. Triple-clicking in the margin (left of the text) selects the whole document in some apps.
- Edit menu: In Windows apps, look for the Edit menu at the top and choose Select All. On a Mac, it’s under Edit in the menu bar.
For a trackpad, the same drag technique works—just press and hold the trackpad button (or tap with two fingers if you have tap-to-click enabled) while moving the cursor.
Selecting All in Specific Apps
While Ctrl+A is universal, some apps have their own nuances:
- Microsoft Word: Ctrl+A selects all text in the document. If your cursor is inside a table, it may select only the table first; press Ctrl+A again to select the whole document.
- Excel: Ctrl+A selects the current data range (contiguous cells with data). Press it a second time to select the entire worksheet.
- File Explorer (Windows): Ctrl+A selects all items in the current folder. If you’re in a search results view, it selects all results.
- Finder (Mac): Command+A selects all files in the current folder.
- Google Chrome / Firefox: Ctrl+A selects all text on the webpage. It does not select images or links as separate items—just the text content.
If you’re using a laptop with a touchscreen, you can often tap and hold to bring up a context menu with “Select All” (especially in text fields).
What to Do When Ctrl+A Doesn’t Work
Sometimes the shortcut seems to fail. Common reasons:
- Focus is on a small box: If you’re in a chat input or a search bar, Ctrl+A selects only the text in that box, not the whole page. Click outside the box first.
- Keyboard issue: On some laptops, the Fn key or a stuck key can interfere. Try pressing the right Ctrl key or use the on-screen keyboard.
- App restriction: Some web apps (like certain email editors) block Select All for security reasons. Try clicking inside the content area and then using the menu.
- Mac with Windows keyboard: If you’re using a Windows keyboard on a Mac, use the Windows key (which acts as Command) + A.
If nothing works, restart the app—it’s rarely a system-wide problem.
Selecting All on a Laptop Without a Keyboard
If your laptop keyboard is broken or you’re using an external keyboard without the key, you can still select all:
- On-screen keyboard (Windows): Press Windows key + Ctrl + O to open the touch keyboard, then click the Ctrl key and the A key.
- On-screen keyboard (Mac): Go to System Settings > Accessibility > Keyboard, enable “Show keyboard and emoji viewers,” then use the viewer to click Command and A.
- Mouse menu: In most apps, right-click brings up a context menu with “Select All” (especially in text fields). In file explorers, right-click on empty space and choose “Select All.”
How to Select All in Google Docs, Sheets, and Slides
Google’s web apps follow the same shortcut:
- Docs: Ctrl+A selects all text in the document.
- Sheets: Ctrl+A selects the data range; press again for the whole sheet.
- Slides: Ctrl+A selects all objects on the current slide (not all slides). To select all slides, click one slide in the thumbnail pane, then Ctrl+A.
These work in any browser on any laptop. On a Mac, use Command+A.
Selecting All in Command Line and Terminal
In Windows Command Prompt or PowerShell, Ctrl+A does not select all by default—it moves the cursor to the beginning of the line. To select all text in the terminal window:
- Windows Terminal: Right-click the title bar, choose “Select all,” or use Ctrl+Shift+A (if enabled in settings).
- PowerShell: Right-click and drag to select, or use the Edit menu (if QuickEdit mode is on).
- Mac Terminal: Command+A selects all text in the window, but only if you’re in “Select” mode (hold Shift and use arrow keys).
For copying the entire output, you can often just select and copy—or use the “Select All” option in the window’s context menu (right-click on the title bar).
Frequently Asked Questions
Does Ctrl+A select everything on a webpage?
It selects all the text content on the page, but not images or other elements. To copy everything including images, you’d need to save the page or use a screenshot tool.
Why does Ctrl+A select only one line in Excel?
If your cursor is in a cell, Ctrl+A first selects the data range around that cell. If you press it again, it selects the entire sheet. If you’re in a formula bar, it selects the text in that bar only.
Can I select all files in a folder using the touchpad?
Yes, click once on any file, then press Ctrl+A (or Command+A on Mac). Alternatively, you can click and drag a selection box around all files, but that only works if they’re visible in the window.
Is there a way to select all in a PDF?
In most PDF readers, Ctrl+A selects all text on the current page. To select all pages, you may need to use the “Select All” option in the Edit menu, which sometimes selects all text in the document. If the PDF is scanned (image), you can’t select text—you’d need OCR software.
What if I only want to select a paragraph, not the whole document?
Triple-click on any word in the paragraph to select that paragraph. In Word, you can also press Ctrl+Click on a sentence to select it. To select a line, click in the left margin next to the line.
Related
- Excel Inventory Template: How to Track Stock
- Excel Template Job Schedule: How to Build One
- Split a String in BigQuery? SQL Methods
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 View Duplicates in Google SheetsTo view duplicate values in Google Sheets, select your data, open Format > Conditional formatting, and use a…
- How to Edit Border Color in Excel: Step-by-Step GuideTo edit a cell border color in Excel for Microsoft 365 on Windows, select the cells, open Home…
- How to Delete an Extra Page in WordTo delete an extra page in Word, first show formatting marks with Ctrl+Shift+8 on Windows or Command+8 on…
- Excel Merge Cells Command: Shortcuts, Options, and LimitsIn Excel for Microsoft 365 on Windows, select the cells you want to combine, then choose Home >…
- Excel Merge Cells Without Merging: Better AlternativesTo make cells look merged without actually merging them in Excel, select the range, open Format Cells with…
- Excel Data Validation Custom Lists: Setup and TipsIn Excel for Microsoft 365 on Windows, a data validation custom list is a dropdown menu that limits…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.