Where to edit depends on what program created the file
The way you edit a document depends on what kind of file it is and what program you have available. A Microsoft Word file (.docx) opens in Word, Google Docs, or free alternatives like LibreOffice. A PDF requires different software than a text document. The program that created the file usually works best, but you have other choices — and some are free.
Before you start editing, check the file name's ending (called the file extension). It tells you what type of document you have. Common ones are .docx (Word), .pdf (PDF), .txt (plain text), .odt (OpenDocument), and .pages (Apple). Once you know the type, you can pick the right tool to open it.
Key Takeaways
- The file extension at the end of the document name tells you what type it is and which programs can open it.
- Microsoft Word, Google Docs, and LibreOffice all edit .docx files, but they have different features and costs.
- PDFs need special software to edit — most PDF readers only let you view them, not change the text.
- Cloud-based editors like Google Docs save changes automatically and let multiple people work on the same document at once.
- Desktop programs like Word and LibreOffice give you more formatting control but require you to save manually.
Editing in Microsoft Word
Microsoft Word is the most common document editor. If you have Word installed on your computer, open the program first, then go to File > Open and find your document. You can also right-click the document file itself and select "Open with" > "Microsoft Word." Once it opens, click anywhere in the text to start typing, deleting, or moving words around.
Word shows you formatting tools at the top: buttons to make text bold, italic, or underlined; options to change font size and color; and alignment buttons to center or justify text. To find and replace text throughout the document, press Ctrl+H (Windows) or Command+H (Mac). When you finish editing, press Ctrl+S or Command+S to save, or go to File > Save.
Microsoft Word requires a subscription through Microsoft 365 unless you own an older standalone copy. You can also use Word online for free through Office.com if you have a Microsoft account, though the online version has fewer features than the desktop program.
Editing in Google Docs
Google Docs is free and works in any web browser. Go to docs.google.com, sign in with a Google account, and click "Open a file picker" to upload a document from your computer. Google Docs accepts Word files (.docx), PDFs, and other formats. Once the file opens, you can edit it the same way as Word — click to position your cursor and start typing.
Google Docs saves automatically as you work, so you do not have to remember to save manually. The formatting toolbar works similarly to Word: bold, italic, underline, font size, and color options are all visible at the top. To find and replace text, press Ctrl+H (Windows) or Command+H (Mac).
A major advantage of Google Docs is sharing. Click the "Share" button in the top right, enter email addresses, and choose whether people can view, comment, or edit. Multiple people can work on the same document at the same time, and you can see who is editing and what they changed. This makes it useful for group projects or collaborative work.
Editing in LibreOffice (free alternative)
LibreOffice is a free program you download and install on your computer. It opens Word files, PDFs, and many other formats. Go to libreoffice.org, download the version for your operating system (Windows, Mac, or Linux), and install it. Once installed, right-click any document and select "Open with" > "LibreOffice Writer."
LibreOffice works much like Word. The toolbar at the top has formatting options, and you edit by clicking in the text and typing. Find and replace is under Edit > Find & Replace. You must save manually by pressing Ctrl+S or Command+S, or going to File > Save. LibreOffice does not save to the cloud automatically, so your document stays on your computer unless you move it yourself.
LibreOffice is a good choice if you want a free program with most of Word's features but do not need cloud storage or real-time collaboration. The trade-off is that some advanced formatting from Word files may not display exactly the same way.
Editing PDFs
PDFs are trickier because most PDF readers only let you view them, not edit the text inside. Adobe Acrobat Reader (free) can add comments and highlight text, but cannot change the actual words. To edit the text itself, you need Adobe Acrobat Pro (paid subscription) or a free alternative like PDFtk or Sejda.
Sejda (sejda.com) is a free online tool that works in your browser. Upload your PDF, click "Edit PDF," and you can add, delete, or change text. You can also change fonts, colors, and add shapes or images. When you finish, download the edited PDF to your computer. Sejda works well for simple edits but is slower than desktop software for large documents.
If you need to edit a PDF regularly, consider converting it to a Word document first. Google Docs and Microsoft Word can both open PDFs and convert them to editable formats, though the layout may shift slightly. This works best for simple documents with mostly text.
Editing on your phone or tablet
Microsoft Word, Google Docs, and Apple Pages all have mobile apps for phones and tablets. Download the app from your device's app store, sign in, and open your document. Editing on a phone is slower than on a computer because the screen is smaller, but it works for quick changes or reviewing documents on the go.
Google Docs on mobile saves automatically just like the web version. Word and Pages require you to tap the save button or use the menu. Mobile apps have fewer formatting options than desktop versions — you may not see all the advanced tools available on a computer.
Choosing between cloud and desktop editors
Cloud editors like Google Docs save automatically, work on any device with internet access, and make sharing easy. Desktop programs like Word and LibreOffice give you more control over formatting, work offline, and store files on your computer. The choice depends on what you need.
Use a cloud editor if you work on multiple devices, share documents with others, or want automatic backups. Use a desktop program if you need advanced formatting, work offline often, or prefer keeping files on your own computer. You can also use both — edit in Word on your computer, then upload to Google Docs to share with a team.
Frequently Asked Questions
Can I edit a Word document in Google Docs?
Yes. Upload the .docx file to Google Docs, and it opens in an editable format. Most formatting stays the same, though some advanced Word features may not display exactly as they did in Word. When you download it back to your computer, it becomes a Word file again.
What is the difference between editing and commenting?
Editing changes the actual text or formatting of the document. Commenting adds notes or feedback without changing the original content. In Google Docs and Word, you can give people "comment only" permission so they can leave feedback without editing the document itself.
Do I lose my changes if I close the document without saving?
In Google Docs, no — changes save automatically as you type. In Word, LibreOffice, and most desktop programs, yes — you must save manually or your changes are lost. Word has a recovery feature that sometimes restores unsaved work, but it is not reliable.
Can I edit a document if I do not have the original program?
Usually yes. Google Docs opens Word files, PDFs, and many other formats without needing Word installed. LibreOffice does the same. Online tools like Sejda work for PDFs. The only exception is proprietary formats like Apple Pages, which are harder to open in other programs.
What happens to formatting when I convert between programs?
Simple formatting like bold, italic, and font size usually transfers fine. Complex formatting like columns, advanced tables, or embedded objects may shift or display differently. Test on a copy of your document first if formatting is important.