Use keyboard shortcuts to copy and paste without touching the mouse

You can copy, cut, and paste text or files using only your keyboard on Windows, Mac, and Linux. The standard shortcuts work in almost every program: Ctrl+C to copy (Cmd+C on Mac), Ctrl+X to cut, and Ctrl+V to paste. Select what you want first by holding Shift and using arrow keys, then press the shortcut. The text moves to your clipboard invisibly, and you can paste it anywhere else on your computer.

This matters because relying only on your mouse slows you down and leaves you vulnerable to clipboard hijacking — malware that watches what you copy and replaces it with something else before you paste. Using keyboard shortcuts doesn't prevent that threat, but it does let you work faster and notice when something feels wrong. If you copy a password and the pasted text looks different, you'll catch it when ready.

Key Takeaways

  • Ctrl+C copies, Ctrl+X cuts, and Ctrl+V pastes on Windows and Linux; use Cmd instead of Ctrl on Mac.
  • Select text with Shift+arrow keys, Shift+Home, Shift+End, or Ctrl+Shift+arrow to select whole words before copying.
  • Tab moves focus between buttons and fields in dialog boxes, so you can navigate and paste without the mouse.
  • Ctrl+A selects all text in a document or field, which you can then copy or cut in one action.
  • Some programs use different shortcuts for special tasks — check the Edit menu to see what your specific program supports.

Select text using Shift and arrow keys

Hold Shift and press the right or left arrow key to select one character at a time. Hold Shift and press Ctrl+right arrow to select one whole word at a time, which is faster for longer passages. Shift+End selects from your cursor to the end of the line; Shift+Home selects from your cursor to the beginning.

In most programs, Shift+Ctrl+End selects everything from your cursor to the end of the document. Once the text is highlighted, press Ctrl+C to copy it. You don't need to see the text turn blue or gray — the selection happens even if the highlighting is faint. If you're not sure whether something is selected, press Ctrl+C anyway; it won't hurt, and the clipboard will hold whatever was selected.

Copy or cut entire documents and files

Press Ctrl+A to select all text in a document or all files in a folder. In a text editor or email, Ctrl+A highlights every character. In a file manager like Windows Explorer or Finder, Ctrl+A selects every file and folder visible on screen. Then press Ctrl+C to copy or Ctrl+X to cut.

Cutting is different from copying: cut removes the item from its current location and holds it in the clipboard until you paste it somewhere else. Copy leaves the original where it is. If you cut a file and then open a different program before pasting, the file stays in the clipboard — it won't disappear. But if you cut something and then copy something else, the cut item is lost and you'll paste the new item instead.

Navigate and paste in dialog boxes and forms

Press Tab to move focus from one field to the next in a form or dialog box. Shift+Tab moves backward. When a button or field is focused (you'll see a border or highlight around it), you can type into text fields or press Space to set up buttons. Once you've moved to the field where you want to paste, press Ctrl+V.

This works in web forms, email compose windows, login screens, and most desktop programs. If you're filling out a form and need to paste your address into multiple fields, Tab to each field and press Ctrl+V each time. The clipboard holds the same content until you copy or cut something new, so you can paste the same thing over and over without recopying.

Use Ctrl+Z to undo if you paste the wrong thing

If you paste text or a file into the wrong place, press Ctrl+Z when ready to undo. Most programs support multiple undos, so you can press Ctrl+Z several times to step backward through your recent actions. Ctrl+Y or Ctrl+Shift+Z redoes an action you just undid, in case you change your mind.

Undo works in text editors, file managers, email, and web browsers. It does not work in some online forms or in the terminal — once you paste a command into a terminal and press Enter, undo won't bring it back. If you're pasting something into an unfamiliar program for the first time, paste into a safe place like a text editor first to make sure the content looks right before moving it to its final location.

Check the Edit menu for program-specific shortcuts

Most programs follow the Ctrl+C, Ctrl+X, Ctrl+V standard, but some have additional shortcuts or variations. Open the Edit menu in any program to see what shortcuts are available. You might find "Paste Special" (often Ctrl+Shift+V), which lets you paste without formatting, or "Paste as Plain Text," which strips out colors and fonts.

Some programs like spreadsheets have "Paste Values Only" to paste numbers without formulas, or "Paste Link" to create a reference instead of a copy. Email programs sometimes have "Paste Without Formatting" to avoid pasting HTML code. Learning these variations takes time, but the Edit menu always shows you what's possible in that specific program.

Frequently Asked Questions

What if I copy something and then copy something else — where does the first thing go?

It disappears from the clipboard. Your clipboard holds only one item at a time (unless you use a clipboard manager, which is a separate program). When you copy or cut something new, it replaces what was there before. If you need to keep multiple items, paste the first one into a text file or document before copying the second one.

Can I paste into a program that doesn't have a visible text field?

Usually not. Ctrl+V only works in places designed to accept text or files — text editors, forms, file managers, email. If you try to paste into a program's main window where there's no input field, nothing happens. The clipboard still holds your content, but the program has nowhere to put it. Look for a text field, button, or menu option that accepts input.

Does using keyboard shortcuts protect me from clipboard malware?

No. Malware that hijacks your clipboard works the same way whether you use the mouse or keyboard to copy. The threat is that malicious software watches what you copy and replaces it before you paste. Keyboard shortcuts are faster and let you notice if something looks wrong, but they don't prevent the attack itself. Keep your antivirus software updated and avoid copying sensitive information on untrusted computers.

What's the difference between Shift+Ctrl+End and Ctrl+A?

Ctrl+A selects everything in the document or folder from the beginning. Shift+Ctrl+End selects only from your current cursor position to the end. Use Ctrl+A when you want the whole thing. Use Shift+Ctrl+End when you're partway through and only want to select from that point forward.

Can I use these shortcuts in web browsers?

Yes. Ctrl+C, Ctrl+X, and Ctrl+V work in text fields, search boxes, and the address bar in Chrome, Firefox, Safari, and Edge. You can also use Ctrl+A to select all text on a web page, then copy it. Some websites block copying for copyright reasons, but most allow it. If copying doesn't work on a specific site, it's usually because the site has intentionally disabled it.