The three ways to delete, and when each one works

Deleting means removing text or files so they no longer appear on your screen or take up space. Most devices give you three methods: the Delete key, the Backspace key, and selecting text then pressing Delete. Which one you use depends on where your cursor is and what you want to remove.

The Backspace key deletes the character to the left of your cursor. If you type "helllo" and press Backspace once, you get "hello". It moves backward through your text. On most keyboards, Backspace is in the top right area, sometimes labeled with a left arrow.

The Delete key (often labeled "Del") removes the character to the right of your cursor. If your cursor sits between the "l" and "o" in "hello" and you press Delete, you get "helo". It moves forward through your text. On most keyboards, Delete sits near Backspace.

The third method is to select text first, then delete it. This removes any amount at once — a word, a sentence, a paragraph, or an entire document. You select by clicking and dragging your mouse, or by holding Shift and using arrow keys, then press Delete or Backspace (both work the same on selected text).

Key Takeaways

  • Backspace deletes backward (the character to your left), and Delete deletes forward (the character to your right).
  • To remove more than one character at a time, select the text first by clicking and dragging, then press Delete.
  • On phones and tablets, long-press a word to select it, then tap the delete or trash icon that appears.
  • Deleted files sent to Trash or Recycle Bin can usually be recovered for a limited time before they are permanently removed.
  • Ctrl+Z (Windows) or Command+Z (Mac) undoes your last deletion if you remove something by mistake.

Deleting on Windows computers

On a Windows PC, the Delete key is usually in the top right section of your keyboard, near the End and Page Down keys. Pressing it removes the character to the right of your cursor. The Backspace key sits above Delete and removes the character to the left.

When you delete a file from your computer (not just text in a document), Windows sends it to the Recycle Bin instead of erasing it permanently. The Recycle Bin is usually an icon on your desktop that looks like a trash can. Files stay there until you empty the bin, which means you can recover them if you change your mind. To permanently delete a file, open the Recycle Bin, right-click the file, and choose "Delete" again.

If you want to delete a file without sending it to Recycle Bin first, hold Shift while pressing Delete. This removes it permanently right away, so use this only when you are certain.

Deleting on Mac computers

On a Mac keyboard, the Delete key (labeled "Delete" or with a left arrow) works like Backspace on Windows — it removes the character to the left of your cursor. There is no separate forward-delete key in the same location, but you can press Fn+Delete to delete forward (the character to the right).

When you delete a file on a Mac, it goes to the Trash, which appears as a trash can icon in the Dock at the bottom of your screen. Files stay in Trash until you empty it, so you can recover them afterward. To permanently delete a file, open Trash, select the file, and click "Empty Trash".

If you want to delete a file without sending it to Trash first, hold Command+Option while pressing Delete. This removes it permanently when ready, so only use this when you are sure.

Deleting on phones and tablets

On iPhones and iPads, you delete text the same way as on a computer: press the Delete key (top right of the keyboard) to remove the character to the left. If you need to delete more than one character, select the text by double-tapping a word (which highlights it), then press Delete. You can also drag the selection handles to include more text before deleting.

On Android phones and tablets, the process is similar. Press the Delete key on the keyboard to remove characters one at a time, or select text by tapping and dragging, then press Delete.

When you delete a file or app on a phone or tablet, it usually goes to a Trash or Recently Deleted folder instead of disappearing when ready. On iPhones, go to Settings, then the app where the file lives (like Photos or Mail), and look for a "Recently Deleted" section. On Android, open the file manager app and look for a Trash folder. Files typically stay there for 30 days before being permanently removed.

Selecting and deleting large amounts of text

If you need to delete a word, sentence, or paragraph instead of one character, selecting first is much faster. Click at the start of the text you want to remove, hold down your mouse button, and drag to the end. The selected text usually appears highlighted in blue. Then press Delete or Backspace — both work the same on selected text.

On a keyboard without a mouse, hold Shift and press the right or left arrow key to select text one character at a time. Hold Shift and press Ctrl+Right Arrow (Windows) or Option+Right Arrow (Mac) to select one word at a time. Once the text is selected, press Delete.

You can also select all text in a document by pressing Ctrl+A (Windows) or Command+A (Mac). This highlights everything, so be careful — pressing Delete after this removes the entire document. Use Ctrl+Z or Command+Z when ready if you do this by mistake.

Undoing a deletion you did not mean to make

If you delete something and realize you made a mistake, press Ctrl+Z (Windows) or Command+Z (Mac) to undo the deletion. This works when ready after you delete. You can press Ctrl+Z or Command+Z multiple times to undo several actions in reverse order.

Undo works in most programs — word processors, email, web browsers, photo editors — but not everywhere. Some apps do not support undo, or undo only works for a limited time after the deletion. If undo does not work, your next option is to check Trash or Recycle Bin to see if the file is still there.

If you have already emptied Trash or Recycle Bin, recovery becomes much harder and may require special software or professional help. This is why it is a good idea to pause before permanently deleting important files, and to keep backups of documents you cannot afford to lose.

Frequently Asked Questions

What is the difference between Delete and Backspace?

Backspace removes the character to the left of your cursor, and Delete removes the character to the right. Both keys are near each other on the keyboard. In most programs, when you have text selected, both keys do the same thing — they delete the selected text.

Can I get back a file I deleted from Trash or Recycle Bin?

Once you empty Trash or Recycle Bin, the file is no longer easily recoverable through normal means. Some operating systems keep deleted files for a short period before truly erasing them, but this varies. For important files, keep a backup in a separate location so you always have a copy.

Why does my phone have a Recently Deleted folder?

The Recently Deleted folder gives you time to recover files you removed by mistake. Files stay there for about 30 days before being permanently deleted. This is especially useful for photos and messages, since you might not realize you deleted something important right away.

How do I delete a whole word at once instead of one letter?

Select the word first by double-tapping it (on phones and tablets) or by clicking and dragging (on computers). Once it is highlighted, press Delete. On computers, you can also hold Ctrl+Shift and press the left or right arrow to select one word at a time, then delete.

What happens if I press Delete by accident while typing?

Press Ctrl+Z (Windows) or Command+Z (Mac) right away to undo the deletion. This works in most programs and restores what you just deleted. If you wait too long or close the program, undo may no longer work.