How to Edit a Document on iPhone: Step-by-Step Guide
In this article
You can edit a document on an iPhone using Apple's built-in Files app, Pages, or a third-party app like Microsoft Word or Google Docs. The exact steps depend on the file type and the app you use, but the core process is the same: open the file, tap to place the cursor, make your changes, and save or let the app auto-save. This guide walks through the most common methods using only official apps and menus. Menu labels can differ slightly by iOS version, device model, or region, so if you don't see an exact match, look for the closest wording.
What You'll Need
- An iPhone running a recent version of iOS (iOS 15 or later is ideal for the Files app features described here).
- The document you want to edit, stored either in the Files app (On My iPhone, iCloud Drive, or another connected location) or in a dedicated editing app.
- If you plan to edit Microsoft Word, Excel, or PowerPoint files, you'll need the Microsoft Word, Excel, or PowerPoint app from the App Store, or you can use Pages, Numbers, and Keynote, which can open many of those formats.
- An internet connection if the file is stored in iCloud Drive or another cloud service and hasn't been downloaded to your device yet.
Step-by-Step
- Open the Files app. It's the blue folder icon on your Home Screen. If you deleted it, you can reinstall it from the App Store (search for "Files" by Apple).
- Navigate to the document. Tap "Browse" at the bottom, then choose a location such as "iCloud Drive," "On My iPhone," or a connected cloud service like Google Drive or Dropbox if you've added it. Tap through folders until you see your file.
- Tap the document to open it. If it's a text file (.txt), a rich text file (.rtf), or a PDF, it may open in a preview mode. For PDFs, you can often annotate but not freely edit the text unless you use a dedicated PDF editor. For .txt and .rtf files, tap the share icon and choose an app that can edit them, such as Pages or a text editor you've installed.
- If the document opens in a preview, tap the share icon (square with an arrow) and choose an editing app. For example, choose Pages to edit a Word document, or Microsoft Word if you have it installed. The app will create a copy or open the original depending on the app's behavior.
- Place the cursor where you want to edit. Tap once to place the cursor, or tap and hold to bring up the magnifying glass for precise placement. Double-tap a word to select it, or use the selection handles to highlight a range.
- Make your changes. Use the on-screen keyboard to type, delete, or replace text. To format text (bold, italic, underline, font size), select the text and use the formatting toolbar that appears above the keyboard or in the app's menu. In Pages, tap the paintbrush icon to open formatting options. In Microsoft Word, use the Home tab at the bottom.
- Save your changes. Most modern apps auto-save as you type. If you're using an app that requires manual saving, look for a "Done," "Save," or checkmark button. In the Files app, edits to .txt files made through Quick Look are saved automatically when you tap "Done."
- Close the document. Tap "Done" or the back button to return to the file list. Your changes should be saved. If you're using iCloud Drive, the file will sync across your devices automatically when connected to the internet.
Common Mistakes
- Editing a PDF as if it were a text document. The Files app's preview lets you annotate and fill in forms, but it does not let you freely edit the text of a PDF. You need a dedicated PDF editor app for that.
- Forgetting to check the file format. Some apps can open a file but not save it in the same format. For example, Pages can open a .docx file but saves in its own format by default. Use the export or share options to save as .docx if you need to keep the original format.
- Assuming edits are saved when they aren't. If you're editing a file stored in a cloud service and your internet connection drops, changes may not sync. Check for a sync icon or reopen the file to confirm.
- Using an unsupported app. Only install editing apps from the App Store. Avoid third-party apps that claim to unlock features or bypass restrictions; they may be unsafe.
- Editing a file that's read-only. Some files shared with you may be view-only. If you can't type, look for a "Duplicate" or "Make a Copy" option to create an editable version.
Tips
- Use the Files app's "Recents" tab to quickly find documents you've opened recently.
- For long documents, use the search function within the editing app to jump to specific text.
- Enable iCloud Drive syncing so your edits appear on your iPad and Mac automatically.
- If you frequently edit Word documents, consider installing Microsoft Word from the App Store for the most faithful formatting.
- Use the iPhone's built-in undo gesture: shake the device to bring up the undo menu, or use the undo button in the app's toolbar if available.
- When editing on a small screen, rotate to landscape for a wider keyboard and more visible text.
Troubleshooting
If you can't open or edit a document, work through these checks in order:
- Restart the Files app or your iPhone. Close the app by swiping up from the bottom and pausing, then swipe the Files app card up. If that doesn't help, restart your iPhone.
- Check your internet connection. If the file is in iCloud Drive or another cloud service, make sure you're connected to Wi-Fi or cellular data. Try opening a different file to see if the issue is specific to one document.
- Update your apps. Go to the App Store and update the Files app (it updates with iOS) and any editing apps you use. An outdated app may not support the file format.
- Sign out and back in to iCloud. This can resolve sync issues. Note that signing out may remove some data from your device until you sign back in.
- Reinstall the editing app. If a specific app won't open or save your document, delete it and reinstall from the App Store. Your documents stored in the app may be lost if they aren't saved elsewhere, so back them up first if possible.
- Check file permissions. If the document was shared with you via a link, you may only have view access. Ask the owner to grant edit permissions or make a copy.
If none of these steps work, the file may be corrupted or in a format that no app on your iPhone can edit. Try opening it on a computer to confirm, or contact the person who sent it.
Frequently Asked Questions
Can I edit a Word document on my iPhone without Microsoft Word?
Yes. Apple's Pages app can open and edit .docx files. You can also use Google Docs if you have the app installed. Keep in mind that complex formatting may not look exactly the same as in Word.
How do I edit a PDF on iPhone?
The Files app lets you annotate PDFs and fill in forms, but to change the text you need a dedicated PDF editor app from the App Store, such as Adobe Acrobat or PDF Expert. Some apps offer limited free editing.
Why can't I type in a document I opened?
The file may be read-only, or you may be viewing it in a preview mode that doesn't allow editing. Look for an "Edit" button or try opening the file in a different app. If it's a shared file, you may need edit permissions from the owner.
Do my edits save automatically?
Most editing apps on iPhone auto-save as you type. However, if you're editing a file in a cloud service and lose internet connection, changes may not sync until you reconnect. Always check for a sync indicator or reopen the file to confirm.
Can I edit documents stored in Google Drive or Dropbox on my iPhone?
Yes. You can add those accounts to the Files app (tap the More button in Browse, then Edit, and enable the service) or use their respective apps. Editing works similarly, but saving may require the app to sync.
What if I accidentally delete text?
Use the undo button if the app has one, or shake your iPhone to bring up the undo option. In many apps, you can also three-finger tap and swipe left to undo. If you've closed the document, check if the app keeps version history.