What "modify text" means and where you'll do it

Modifying text means changing words, sentences, or formatting that you've already written. You might fix a typo, reword a sentence, change the font size, or alter the color. The steps depend on what program you're using — Microsoft Word works differently from Google Docs, which works differently from Gmail or a text message.

Most programs let you modify text in two ways: you can select the text first and then change it, or you can place your cursor in the middle of a word and edit directly. Learning both methods gives you flexibility depending on what you're trying to do.

Key Takeaways

  • To change text, click where you want to edit, delete what you don't want, and type the replacement — or select the text first and type over it.
  • Double-click a word to select just that word, or click and drag to select multiple words or sentences.
  • Formatting changes like bold, italic, underline, and color require you to select the text first, then use the toolbar buttons or keyboard shortcuts.
  • Undo (Ctrl+Z on Windows, Command+Z on Mac) reverses your last change if you make a mistake.
  • Different programs store the undo history differently — some keep it only while the document is open, others save it permanently.

Selecting text before you modify it

Selecting text means highlighting it so the program knows which words you want to change. Once text is selected, anything you type will replace it, or you can use toolbar buttons to change how it looks.

The fastest way to select a single word is to double-click it. To select multiple words, click at the start of the text you want, hold down the mouse button, and drag to the end. You can also click once at the start, then hold Shift and click at the end — the computer will select everything between those two points.

To select an entire paragraph or section, triple-click anywhere inside it. To select all the text in a document, use Ctrl+A on Windows or Command+A on Mac. Once text is highlighted (usually shown in blue or another color), you can delete it, type over it, or apply formatting.

Editing text without selecting it first

You don't always need to select text to change it. If you're fixing a typo or adding a word in the middle of a sentence, you can click directly where you want to edit.

Click at the exact spot where you want to make a change — you'll see a blinking cursor appear. Use the Delete key to remove the character to the right of the cursor, or use Backspace to remove the character to the left. Then type the replacement text. This method is faster for small fixes but slower if you're replacing an entire sentence.

Changing how text looks: bold, italic, underline, and color

To make text bold, italic, or underlined, you must select it first. Once the text is highlighted, look for the formatting buttons in the toolbar — they usually look like a B for bold, an I for italic, and a U for underline. Click the button that matches what you want.

You can also use keyboard shortcuts, which are faster once you memorize them. On Windows, Ctrl+B makes text bold, Ctrl+I makes it italic, and Ctrl+U underlines it. On Mac, use Command+B, Command+I, and Command+U instead. These shortcuts work in most programs including Word, Google Docs, Gmail, and many others.

To change text color, select the text, then look for a button with an "A" and a colored line underneath it — this is usually in the toolbar. Click the small arrow next to it to see color options. Some programs also let you change the background color (the color behind the text) using a similar button labeled "Highlight" or with a marker icon.

Changing font size and font type

Font size is measured in points — larger numbers mean bigger text. To change the size, select the text you want to resize, then look for a box in the toolbar showing a number like "12" or "14". Click that box and choose a new size from the list, or type a number directly.

Font type (also called typeface or font family) is the actual design of the letters — Arial, Times New Roman, and Calibri are common examples. To change it, select your text, find the font dropdown menu in the toolbar (it usually shows the current font name), click it, and choose a different font from the list.

Different programs organize these controls differently. In Microsoft Word, they're in the Home tab at the top. In Google Docs, they're in the toolbar below the menu. In Gmail, they appear when you click the formatting button (usually three horizontal lines or an "A" icon) in the compose window.

Using Find and Replace to change multiple instances at once

If you've used the same word or phrase many times and want to change all of them at once, use Find and Replace instead of editing each one by hand. Open this feature with Ctrl+H on Windows or Command+Option+F on Mac in most programs.

A dialog box will appear with two fields: one for the text you want to find, and one for what you want to replace it with. Type the old text in the first field and the new text in the second. Then click "Replace All" to change every instance in the document at once, or click "Replace" one at a time if you want to check each change before it happens.

Be careful with Find and Replace — if you search for a short word like "the" and replace it with something else, you might accidentally change it inside longer words too. Most programs have an option to match whole words only, which prevents this problem.

Undoing changes you didn't mean to make

If you modify text and then realize you made a mistake, use Undo to reverse the change. Press Ctrl+Z on Windows or Command+Z on Mac. You can undo multiple times to go back several steps — each time you press it, you reverse one more action.

If you undo too far and want to redo a change you just reversed, press Ctrl+Y on Windows or Command+Y on Mac. Most programs show your undo history if you click the undo button's dropdown arrow, letting you jump back to a specific point instead of clicking undo repeatedly.

Keep in mind that undo history works differently depending on the program. In Google Docs, your changes are saved automatically and you can see the full edit history even after you close the document. In Microsoft Word, the undo history usually disappears once you close the file without saving. Always save your work if you think you might need to undo changes later.

Frequently Asked Questions

How do I select text on a phone or tablet?

Tap and hold on a word to select it, then drag the blue handles at either end to extend the selection. On some devices, double-tapping a word selects it automatically. Once text is selected, the same formatting options appear — bold, italic, color, and font size — usually in a menu above the keyboard.

What's the difference between deleting text and replacing it?

Deleting removes text and leaves a gap. Replacing selects the text first, then types over it so the new text takes its place without leaving a gap. Replacing is usually faster when you're changing a whole word or sentence, while deleting is better for removing text you don't want to replace with anything.

Can I modify text in a PDF?

Most PDFs are read-only and can't be edited directly. You can highlight or add comments to a PDF in many programs, but to actually change the text, you usually need to convert it to Word or Google Docs first, edit it there, then save it back as a PDF. Some PDF editors like Adobe Acrobat Pro let you edit text directly, but they cost money.

Why does my text look different after I change the font?

Different fonts take up different amounts of space, so changing the font can shift where line breaks happen and make your document look different overall. If you're working on a document with specific page requirements, test font changes on a copy first to make sure they don't push text onto extra pages.

How do I change text in an image or screenshot?

You can't edit text that's inside an image or screenshot directly — the text is part of the picture, not editable text. To change it, you'd need to use image editing software like Photoshop or Canva, or recreate the text in a document program. If you need to extract text from an image, some programs can read it using OCR (optical character recognition).