How to Show & Change File Extensions on iPhone or iPad
In this article
This guide shows you how to view and rename file extensions (like .jpg, .pdf, .docx) on your iPhone or iPad. By default, iOS hides these suffixes, but you can reveal them in the Files app and even change them when needed. No special apps or tools are required—just the built-in Files app.
What You'll Need
- An iPhone or iPad running iOS 13 or later (the Files app is preinstalled).
- The file you want to inspect or rename already saved in the Files app, iCloud Drive, or a connected location.
Step-by-Step
- Open the Files app. Look for the blue folder icon on your Home Screen or in the App Library.
- Navigate to your file. Tap through folders (e.g., iCloud Drive, On My iPhone) to locate the file whose extension you want to see or change.
- Show file extensions. By default, the Files app hides extensions. To reveal them, you need to enable a setting. Go to Settings → Files (on your device, not inside the app) and toggle on “Show All Filename Extensions.” This will make extensions visible for all files in the Files app.
- Return to the Files app. Now you’ll see the full filename, including the extension, under each file icon.
- Rename the file (change the extension). Tap and hold the file until a menu appears, then choose “Rename.” Alternatively, tap the file once to select it, then tap the file name at the bottom of the screen (on iPad) or tap the “More” (…) button and select “Rename.”
- Edit the extension. In the rename field, you’ll see the full name including the extension. Delete the old extension (e.g., .txt) and type the new one (e.g., .md). Make sure you keep the dot before the extension.
- Confirm the change. Tap “Done” or “Save.” If the system warns that changing the extension might make the file unusable, tap “Use .newextension” to confirm.
- Verify the change. The file now appears with the new extension. You can open it to check if it still works as expected.
Common Mistakes
- Forgetting to enable “Show All Filename Extensions.” Without this, you won’t see the extension, so you can’t change it reliably.
- Deleting the dot. The extension must include the dot (e.g., .pdf). If you type “pdf” without the dot, the file name becomes “reportpdf” and the extension stays hidden or is treated as part of the name.
- Changing the extension of a file that doesn’t support it. For example, renaming a .jpg to .png doesn’t convert the image; it just changes the label. The file may not open correctly.
- Renaming a file that is currently open. Close the file in other apps first to avoid errors.
Tips
- Use the “Show All Filename Extensions” setting permanently—it helps avoid confusion and makes file management easier.
- If you need to convert a file format (e.g., from .docx to .pdf), use the “Export” or “Share” option in the app that created the file, rather than just renaming the extension.
- On iPad, you can also select multiple files and rename them in bulk using the “Rename” option in the toolbar (if available).
- If you’re dealing with hidden files (like .htaccess), the Files app may not show them even with the setting enabled. You may need a third-party file manager for that.
Troubleshooting
- Extensions still not showing after enabling the setting. Make sure you’ve restarted the Files app (swipe it away from the app switcher and reopen). Also, check that the file is actually stored locally or in iCloud Drive—files from third-party cloud services may behave differently.
- The “Rename” option is grayed out. This can happen if you don’t have permission to modify the file (e.g., read-only shared folder). Copy the file to your own location first.
- After changing the extension, the file won’t open. This is expected if the new extension doesn’t match the actual file format. Rename it back to the original extension, or use a proper conversion tool.
- The extension is not visible even after renaming. Double-check that you typed the dot and that the setting is still on. Also, some file types (like .heic) may be displayed differently in certain views.
- You can’t change the extension of a file that’s in iCloud Drive. You should be able to, but if you get an error, download the file to “On My iPhone” first, rename it there, then move it back.
Frequently Asked Questions
Can I show file extensions in other apps like Mail or Safari?
No, the setting only affects the Files app. Other apps have their own way of displaying file names, and you can’t change that globally.
Will changing the extension damage my file?
It can make the file unreadable if the new extension doesn’t match the actual format. Always make a backup before changing extensions, especially for important files.
How do I see the extension of a file I received via AirDrop?
Save it to the Files app first. Then follow the steps above to enable “Show All Filename Extensions” and view it.
Can I change the extension of multiple files at once?
Yes, on iPad you can select multiple files and tap “Rename” in the toolbar. On iPhone, you may need to rename them one by one, unless you use a third-party app.
Why does iOS hide file extensions by default?
To keep the interface clean and avoid confusing casual users. Most people don’t need to see the extension, so Apple hides it by default.
Is there a way to see extensions without changing the system setting?
You can tap and hold a file, then tap “Info” (or “Get Info”) to see the full filename, including the extension, in the info panel.