How to Select All in Computer: Windows, Mac, & More

How-to basics · Updated November 23, 2026

Selecting all text, files, or items at once is one of the fastest ways to work on a computer. Instead of dragging your mouse across a long document or clicking dozens of files one by one, you can use a simple keyboard shortcut or menu command to highlight everything in a window, document, or field. This guide covers the universal methods that work in Windows, macOS, and most programs, plus how to handle common hiccups.

What You’ll Need

  • A computer running Windows, macOS, ChromeOS, or Linux.
  • A keyboard (for the fastest method). A mouse or trackpad works too.
  • Access to the program or window where you want to select items (e.g., a text editor, file explorer, or web browser).

Step-by-Step

  1. Click on the area you want to select. For text, click inside the document or text field so the cursor is blinking there. For files or icons, click once on any empty space inside the folder window (not on an item) to make sure the window is active.
  2. Press the Select All shortcut.
    • Windows/Linux/ChromeOS: Press Ctrl + A simultaneously.
    • macOS: Press Command (⌘) + A.

    This instantly highlights all content in the active window or document.

  3. Use the menu if the shortcut doesn’t work. In most programs, go to the Edit menu at the top of the screen (or the app’s menu bar on Mac) and choose Select All. In Microsoft Office, it’s under Home > Select > Select All.
  4. For files in File Explorer or Finder: Click the folder to open it, then press the same shortcut. If you want to select all files in a specific folder, make sure that folder is the active window (click on its background first).
  5. For web pages: Click anywhere on the page (not on a link or image) and press the shortcut. This selects all visible text and some elements, which you can then copy.
  6. For spreadsheets (Excel/Google Sheets): Click any cell, then press Ctrl+A (or ⌘+A). Press it again to select the entire sheet if you’re currently inside a data range.
  7. For command prompt or terminal: Click the window, then press Ctrl+A (Windows) or ⌘+A (Mac). In some terminals, you may need to use Ctrl+Shift+A or right-click and choose “Select All.”

Common Mistakes

  • Not clicking the target area first. If you press Ctrl+A while the wrong window is active, you’ll select everything in that window instead. Always click the document, folder, or field you want.
  • Using the wrong modifier key. On a Mac, using Ctrl instead of Command will not work. On Windows, using Alt+A does nothing in most apps.
  • Clicking on a file first. In a folder, if you click on a specific file and then press Ctrl+A, it still selects all files, but if you accidentally click on a file and then drag, you might move it. Click on empty space first.
  • Selecting all in a text box when you meant the whole page. If your cursor is inside a search box or a form field, Ctrl+A selects only the text in that box, not the entire page.
  • Forgetting that “Select All” in a spreadsheet selects only the data range first. Pressing it once may not select the entire sheet if your data is surrounded by empty rows/columns.

Tips

  • Combine with copy/paste: After selecting all, press Ctrl+C (or ⌘+C) to copy, then Ctrl+V to paste elsewhere.
  • Use it to clear a field: In a form, select all and press Delete to quickly erase everything.
  • In file managers, you can also use the menu: In Windows File Explorer, click the Home tab and then Select all. In Finder on Mac, go to Edit > Select All.
  • For large documents, it’s faster than scrolling. No need to drag the mouse for minutes—just one keystroke.
  • On touch screens: Some tablets or touch laptops support a long-press and then a “Select All” option, but the keyboard shortcut usually still works if you have a physical or on-screen keyboard.

Troubleshooting

  • Shortcut does nothing: Make sure the window is active by clicking on it. If it’s a web page with a lot of JavaScript, try clicking on a blank area first. If it’s a PDF, some viewers require you to click inside the document area before pressing the shortcut.
  • Only part of the text is selected: This can happen if your cursor is inside a table cell or a text box within a larger document. Click outside that element (on the main page) and try again. In Word, press Ctrl+A twice to select all in the entire document.
  • Select All selects too much (e.g., includes headers/footers): In Word, Ctrl+A selects everything in the main body, but headers/footers are separate. To select all including headers, you may need to click into the header area first.
  • In Excel, it selects only a small range: If you press Ctrl+A while a cell is active, it selects the current data range. Press Ctrl+A again to select the entire worksheet. If that still doesn’t work, click the triangle at the top-left corner (where row and column headers meet) to select all.
  • On a Mac, ⌘+A doesn’t work in some apps: Some older or specialized apps may not support it. Try the Edit menu or check the app’s documentation. In Terminal, you might need to use Edit > Select All from the menu bar.
  • Select All in File Explorer selects hidden files too? No, it selects only visible files. If you need hidden files, enable them first via View > Show > Hidden items.

Frequently Asked Questions

Q: Does Ctrl+A work in every program?
A: Almost all standard programs support it, but some specialized apps (like certain games or CAD software) may use it for something else or ignore it. In those cases, look for an Edit menu or a toolbar button.

Q: How do I select all files in a folder on Windows?
A: Open the folder, click on an empty area inside it, then press Ctrl+A. All files and subfolders will be highlighted. Alternatively, go to the Home tab and click “Select all.”

Q: What if I only want to select all text in a specific paragraph?
A: That’s not “select all.” To select a paragraph, triple-click inside it (on Windows/Mac) or double-click to select a word, and triple-click to select a paragraph. For a specific section, hold Shift and click at the start and end.

Q: Can I select all in a PDF?
A: Yes, in most PDF readers (like Adobe Acrobat or Preview on Mac), click on the page and press Ctrl+A (or ⌘+A). It will select all text on the current page, not the entire document. To select all pages, use the thumbnails pane and click the first thumbnail, shift-click the last.

Q: Why does Ctrl+A select the whole page in a browser but not in a text box?
A: Because the browser treats the page as a document, but a text box is a separate input field. When your cursor is inside a text box, Ctrl+A selects only that box’s content. To select the whole page, click outside the text box first.

Q: Is there a way to select all without a keyboard?
A: Yes. In most applications, go to the Edit menu and choose “Select All.” In Windows File Explorer, use the Home tab. On a Mac, use the Edit menu in Finder or the app. You can also right-click in some contexts and look for a “Select All” option (rare, but exists in some programs).

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.