How to Select All on a Laptop: Windows, Mac & More

How-to basics · Updated November 23, 2026

To select all on a laptop, press Ctrl+A on Windows or Command (⌘)+A on a Mac. This keyboard shortcut works in almost every program, text field, and file folder, instantly highlighting everything in the current window or document.

Why Ctrl+A (or Command+A) Works Everywhere

The “select all” command is one of the oldest and most universal shortcuts in computing, dating back to early graphical user interfaces. It is built into the operating system itself, not into individual apps, which is why it behaves consistently across browsers, word processors, email clients, and file explorers. When you press the keys, your laptop sends a command to the focused window, telling it to highlight all selectable content within that context.

What “all” means depends on where you are:

  • In a text document or text box: selects every character in the document or field.
  • In a file folder (File Explorer or Finder): selects every file and subfolder in the current folder.
  • On a webpage: selects all text on the page (but not images or links as objects).
  • In a spreadsheet: selects the entire current worksheet, or just the data range if you click a cell first.

How to Select All Using a Mouse or Touchpad

If you prefer not to use the keyboard, you can also select all with your pointing device:

  1. Click once inside the document, folder, or webpage to make sure it is the active window.
  2. Use the menu bar: in most Windows apps, go to Home or Edit and click Select All. On a Mac, look under the Edit menu.
  3. In File Explorer on Windows, click the Home tab, then click Select all in the “Select” group. On a Mac Finder, go to Edit > Select All.

Some touchpads also support a “triple-click” gesture to select a paragraph in text editors, but that only selects the paragraph, not everything.

Select All on a Mac vs. Windows Laptop

The main difference is the modifier key: Windows uses Ctrl (Control), while Mac uses Command (⌘). If you are using a Windows keyboard on a Mac, the Windows key often acts as the Command key, so you would press Windows key + A. Conversely, on a Mac keyboard connected to a Windows laptop, the Command key may act as the Windows key, so Command + A works.

In macOS, the Edit menu is always at the top of the screen, even if the app window is not fullscreen. In Windows, the menu bar is often hidden; you may need to press Alt to reveal it in some older programs.

Selecting All in Specific Programs

While Ctrl+A is universal, some apps have their own variations:

  • Microsoft Word: Press Ctrl+A once to select all text. Press it a second time (in newer versions) to select everything including headers, footers, and comments.
  • Excel: Click any cell, then press Ctrl+A to select the current data range. Press Ctrl+A again to select the entire worksheet.
  • PowerPoint: In the slide thumbnail pane, Ctrl+A selects all slides. In the main editing area, it selects all objects on the current slide.
  • Google Docs/Sheets: Works the same as Word/Excel, but in Google Sheets, Ctrl+A selects the data range first, then the whole sheet on the second press.
  • Web browsers: Ctrl+A selects all text on the page. You can then copy it, but you cannot copy images this way.

Common Problems and Fixes

Sometimes Ctrl+A doesn’t seem to work. Here are the usual causes:

  • Focus is on a different element: If you clicked on a button or a frame, the command might apply to that element only. Click in a blank area of the document first.
  • You are in a password field: Many browsers and apps block select-all in password fields for security. Pressing Ctrl+A may do nothing or select only one character.
  • You are using a remote desktop or VM: The shortcut may be intercepted by the host machine. Try using the on-screen menu instead.
  • Keyboard issue: Some laptop keyboards have a “Fn” lock that changes key behavior. Try pressing Fn+Ctrl+A, or check if the Ctrl key is stuck.

Selecting All Without a Keyboard (Touchscreen Laptops)

If your laptop has a touchscreen, you can still select all without a physical keyboard:

  1. Tap and hold on the text or in the file folder until a context menu appears.
  2. Tap the Select all option (the wording may vary by app).
  3. In File Explorer, tap the Home tab at the top, then tap Select all.

On a touchscreen, you can also use the on-screen keyboard: tap the Ctrl key, then tap A.

Alternatives to Select All

Sometimes you don’t want everything. Here are other useful selection shortcuts:

  • Select a word: Double-click a word.
  • Select a line: Triple-click a line (in many text editors).
  • Select a paragraph: Triple-click inside the paragraph (in Word).
  • Select multiple files: Hold Ctrl (Windows) or Command (Mac) and click each file. To select a contiguous range, click the first file, hold Shift, then click the last file.
  • Select everything in a column or row (Excel): Click the column letter or row number.

Frequently Asked Questions

Why doesn’t Ctrl+A select all files in a folder?

It usually does, but if you have a file already selected and the folder is in “Details” view, Ctrl+A should still select all. If it only selects one file, click on an empty area of the folder first to deselect, then press Ctrl+A again.

Does Ctrl+A work in all apps?

Almost all, but some custom apps (like certain games or specialized software) may not implement it. In those cases, look for a “Select All” button in the app’s toolbar or menu.

How do I select all in a PDF?

In most PDF readers (Adobe Acrobat, Microsoft Edge, Chrome), press Ctrl+A to select all text. However, if the PDF is a scanned image, there is no selectable text—you would need OCR software to extract it.

What does “select all” do in a web browser?

It highlights all visible text on the page. You can then copy it, but you won’t copy images or layout. To copy an entire page including formatting, use the browser’s “Save As” or “Print to PDF” instead.

Can I select all in a terminal or command prompt?

Yes, but it works differently. In Windows Command Prompt, right-click and choose “Select All” from the context menu, or press Ctrl+A if “Enable Ctrl key shortcuts” is turned on in the properties. On Mac Terminal, press Command+A to select all text in the window.

Is there a way to select all in multiple tabs or windows at once?

No, Ctrl+A only works in the currently active window or tab. To select files across multiple folders, you would need to move them into one folder first, or use a file manager that supports multi-pane selection.

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.