The keyboard shortcut to copy all text is Ctrl+A (Windows, Linux, and Chromebook) or Command+A (Mac) to select everything, followed by Ctrl+C or Command+C to copy it. On mobile, long-press the text and choose Select All, then Copy. This works in most text fields, documents, and web pages, but not in places where text is protected or where the app intercepts the shortcut.

What You'll Need

  • A device with a physical keyboard (Windows PC, Mac, Linux machine, or Chromebook) or a touchscreen with a long-press gesture.
  • An application or browser window that contains selectable text.
  • Basic familiarity with your operating system's modifier keys (Ctrl, Command, Alt).

Step-by-Step

  1. Click inside the text area where you want to copy from. This ensures the application has focus and the shortcut will apply to the correct window. For a web page, click on a blank part of the page (not on a link or image).
  2. Press the select-all shortcut: On Windows, Linux, or Chromebook, hold Ctrl and press A. On Mac, hold Command (⌘) and press A. All text in the active field or page should become highlighted.
  3. Verify the selection. If only part of the text is highlighted, the cursor may have been inside a text box that contains limited content. Click outside the box and try again, or use the menu: Edit > Select All.
  4. Copy the selected text by pressing Ctrl+C (Windows/Linux/Chromebook) or Command+C (Mac). The text is now on the clipboard.
  5. Paste to confirm. Open a new document or text field, then press Ctrl+V or Command+V. The copied text should appear. If it does not, see Troubleshooting below.

Note: Menu labels and shortcut behavior can differ slightly by application version, device, or region. For example, some apps use Edit > Select All and Edit > Copy instead of keyboard shortcuts, and certain web-based editors may override Ctrl+A to select only the content of their editor rather than the whole page.

Common Mistakes

  • Pressing Ctrl+A without clicking the right window first. The shortcut applies to the active window, so if focus is on the desktop or another app, you may select icons or nothing at all.
  • Using Ctrl+A on a Mac. On macOS, Ctrl+A moves the cursor to the beginning of a line in some text fields; it does not select all. Use Command+A instead.
  • Expecting Ctrl+A to select text in protected fields. Password fields, some PDF viewers, and certain system dialogs block select-all for security or design reasons.
  • Forgetting to copy after selecting. Selecting alone does not put text on the clipboard; you must follow with Ctrl+C or Command+C.
  • Using Select All on a page with mixed content. On a web page, Ctrl+A may select navigation menus, ads, and footers along with the main article. To copy only the article, click at the start, then Shift-click at the end, or use the app's own copy function.

Tips

  • To copy all text in a specific text box without selecting the entire page, click inside the box first, then press Ctrl+A or Command+A. This selects only the box's content in most applications.
  • Use Ctrl+Shift+V or Command+Shift+V to paste as plain text, which removes formatting from the copied content.
  • On Windows, you can view clipboard history with Windows key + V (if enabled in Settings > System > Clipboard). This lets you paste previously copied items.
  • On a Mac, Command+Shift+V pastes without style in many apps, and the clipboard history is available through third-party utilities or macOS's own limited history in some apps.
  • For touchscreens, long-press on the text until a menu appears, then tap Select All and Copy. On iOS, you may need to tap Select All after the first long-press; on Android, the menu often shows Select all directly.
  • If you need to copy text from a website that blocks selection, try using Reader Mode in your browser (if available) or print the page to PDF and copy from the PDF.

Troubleshooting

  • Shortcut does nothing: Make sure the correct window is active. Click inside the text area, then try again. If you are in a virtual machine or remote desktop, the shortcut may be captured by the host system; use the VM's own menu or release the capture key.
  • Only part of the text is selected: The cursor may be inside a text box that contains limited content. Click outside the box and press Ctrl+A again, or use the application's Edit menu and choose Select All.
  • Text is selected but copy fails: Check if the text is in a protected field (e.g., password, some PDFs). Try copying a smaller portion manually. If the app is unresponsive, restart it.
  • Paste produces nothing: The clipboard may be empty or the target app may not accept pasted text. Try pasting into a plain text editor like Notepad (Windows) or TextEdit (Mac) to test. If that works, the issue is with the target app.
  • Shortcut works in some apps but not others: Some applications (e.g., certain games, remote desktop clients, or kiosk software) intercept or disable standard shortcuts. Check the app's documentation or settings for alternate copy methods.
  • On a Chromebook: Use Ctrl+A and Ctrl+C as on Windows. If the text is in a web app, ensure the app has focus.

Frequently Asked Questions

Does Ctrl+A select all text on a web page?

Yes, in most browsers, pressing Ctrl+A (or Command+A on Mac) selects all selectable text on the page, including menus and sidebars. To copy only the main article, click at the start of the text and Shift-click at the end, or use the browser's Reader Mode if available.

Why does Ctrl+A not work in some text fields?

Some fields, such as password inputs or certain rich-text editors, may block select-all for security or functional reasons. In those cases, try using the application's Edit menu or manually select the text with the mouse.

Can I copy all text on a phone or tablet?

Yes. Long-press on the text until a menu appears, then tap Select All and Copy. The exact steps vary slightly between iOS and Android, but the long-press gesture is standard.

Is there a shortcut to copy all text without selecting first?

No. The copy command only copies what is selected. You must select the text first (Ctrl+A or Command+A) and then copy (Ctrl+C or Command+C). Some apps offer a "Copy All" button, but that is app-specific.

What if Ctrl+A selects everything on my desktop instead of the text?

This happens when the desktop has focus. Click inside the text window first, then press Ctrl+A. If you are in a file explorer, Ctrl+A selects all files, not text.

Does the shortcut work in PDF viewers?

In most PDF viewers, Ctrl+A selects all text on the current page or document, depending on the viewer. However, some PDFs are scanned images and contain no selectable text, so the shortcut will not work.