The basic steps to edit any document

To edit a document, open it in the program it was created in — or a compatible one — then click where you want to make changes and start typing. Delete text by selecting it and pressing Delete or Backspace. Save your work by pressing Ctrl+S on Windows or Command+S on Mac, or by going to File > Save in the menu.

The specific steps depend on what program you're using and what kind of document it is. A Word document opens in Microsoft Word or Google Docs. A PDF might open in Adobe Reader (read-only) or in an editor that lets you change it. A Google Sheet opens in your browser. Each program has its own menu layout and keyboard shortcuts, but the core idea is the same: find the file, open it, make your changes, and save.

If you're not sure what program to use, look at the file name's ending — called the file extension. A .docx file is a Word document. A .pdf is a PDF. A .xlsx is an Excel spreadsheet. A .txt is plain text. The extension tells you what program created it and what will open it most reliably.

Key Takeaways

  • Open the document in the program it was made in, or in a compatible program like Google Docs for Word files.
  • Click where you want to edit, type new text, and select-then-delete to remove text.
  • Save your changes by pressing Ctrl+S (Windows) or Command+S (Mac), or use File > Save from the menu.
  • The file extension (.docx, .pdf, .xlsx) tells you what program will open it and whether you can edit it directly.
  • Cloud-based programs like Google Docs and OneDrive save automatically, so you may not need to manually save.

Editing in Microsoft Word or Google Docs

Microsoft Word and Google Docs work almost the same way for basic editing. Open the document, click anywhere in the text, and start typing. To delete, select the text you want gone (click and drag, or double-click a word, or triple-click a paragraph) and press Delete. To undo a mistake, press Ctrl+Z on Windows or Command+Z on Mac.

Word saves to your computer by default — you choose where the file lives. Google Docs saves automatically to your Google Drive in the cloud, so you don't have to remember to save. If you're working in Word and want to save to the cloud instead, use File > Save As and choose OneDrive or another cloud service. If you're in Google Docs and want to download a copy to your computer, go to File > Download and pick the format you want (Word, PDF, or plain text).

Both programs let you track changes so you can see what was edited and by whom. In Word, go to Review > Track Changes. In Google Docs, click the version history icon (looks like a clock) at the top right. This is useful if multiple people are editing the same document.

Editing PDFs and other file types

PDFs are trickier because many PDF readers don't let you edit — they only let you view and print. Adobe Reader, the free version, is read-only. To edit a PDF, you need Adobe Acrobat (paid), a free online tool like Smallpdf or ILovePDF, or a program like Microsoft Word that can open PDFs and convert them to editable format.

If you open a PDF in Word, Word converts it to a Word document so you can edit it freely. The layout might shift slightly, especially if the PDF has complex formatting, but the text will be there and changeable. Once you're done, save it as a Word file (.docx) or export it back to PDF using File > Export As > PDF.

Plain text files (.txt) open in Notepad on Windows or TextEdit on Mac. They have no formatting — no bold, italics, or fonts — just raw text. Edit them the same way as any document: click, type, delete, and save. Excel spreadsheets (.xlsx) open in Excel or Google Sheets and work differently because they're organized in rows and columns, not paragraphs.

Editing on your phone or tablet

On iPhone or Android, the easiest way to edit a document is through Google Docs, Microsoft Word's mobile app, or Apple Pages (on iPhone). Download the app, sign in with your account, and open the document from your cloud storage. Editing works the same way: tap where you want to change text, type or delete, and the app saves automatically.

If you have a PDF on your phone, most phones let you mark it up — add notes, highlight, or draw on it — but not edit the text itself. To edit PDF text on a phone, use an app like Adobe Acrobat Reader (paid features) or upload it to a web-based editor like Smallpdf, make your changes, and download it back.

Phone keyboards are smaller, so editing is slower and more error-prone than on a computer. For anything longer than a few sentences, it's usually faster to edit on a laptop or desktop. But for quick fixes — changing a date, adding a note, fixing a typo — the mobile apps work fine.

Finding and replacing text

If you need to change the same word or phrase throughout a document, use Find and Replace instead of editing each one by hand. In Word, press Ctrl+H (Windows) or Command+H (Mac). In Google Docs, press Ctrl+H or Command+H. A box will open where you type the text you want to find and the text you want to replace it with. Click Replace All to change every instance at once, or click Replace to go through them one by one.

This is especially useful for fixing repeated typos, updating names, or changing formatting across a whole document. For example, if you typed someone's name wrong throughout a 20-page report, Find and Replace fixes it in seconds instead of manually hunting through the whole thing.

Formatting while you edit

While you're editing text, you can also change how it looks. Select the text you want to format (click and drag to highlight it), then use the toolbar buttons or keyboard shortcuts. Bold is Ctrl+B or Command+B. Italic is Ctrl+I or Command+I. Underline is Ctrl+U or Command+U. In Word and Google Docs, you can also change the font, size, and color from the toolbar at the top.

Formatting is optional — you can edit the words without touching the appearance. But if you're creating a document that other people will read, formatting makes it easier to scan. Headings in bold, important words in italics, and lists with bullet points all help readers find what they need.

Sharing and protecting documents while editing

If you're editing a document that other people need to see, you can share it directly from Word or Google Docs. In Google Docs, click the Share button at the top right, enter their email address, and choose whether they can view, comment, or edit. In Word, go to File > Share and do the same. The other person gets a link and can open the document in their browser or app.

If you want to prevent someone from editing — so they can only read it — set their permission to "Viewer" in Google Docs or "Read" in Word. If you're worried about accidental changes, you can also lock parts of a document so only certain people can edit them. In Word, go to Review > Protect Document. In Google Docs, you can restrict editing on specific sections.

Frequently Asked Questions

What do I do if I can't open a document?

First, check the file extension to see what program it needs. If you don't have that program, download it or use a free alternative — Google Docs opens Word files, for example. If the file is corrupted or won't open in any program, try opening it in a different program or uploading it to a web-based converter to change its format.

Can I edit a document someone else is editing at the same time?

Yes, if it's in Google Docs or Microsoft Word online. Both programs let multiple people edit the same document at once and show you who's editing what in real time. Word's desktop version doesn't do this — only the online version does. If you're both editing offline, you'll create conflicting versions and have to merge them manually later.

How do I undo changes I made a while ago?

In Word, press Ctrl+Z repeatedly to undo back through your recent changes. In Google Docs, click the version history icon (clock) at the top right, and you can see every change made and restore an older version of the document. This works even if you saved and closed the document.

What's the difference between Save and Save As?

Save (Ctrl+S) updates the file you're currently working on. Save As lets you save a copy with a new name or in a new location, so you keep the original. Use Save As when you want to make a copy of a document without changing the original, or when you want to save it in a different format.

Can I edit a document offline?

Yes. Word documents and Google Docs can both be edited offline on your computer. With Google Docs, you need to turn on offline mode in settings first. When you're back online, changes sync automatically. With Word, just open the file from your computer and edit normally — it saves locally until you upload it to the cloud.