What gets deleted when you clear data and documents
When you clear data and documents from your iPhone, you're removing files that apps have stored on your device — things like cached images, temporary files, login information, and documents you've downloaded. This is different from deleting the app itself. The app stays installed, but the space it's using shrinks, and you may need to log back in the next time you open it.
Most people clear this data for one of two reasons: to free up storage space when your iPhone is running low, or to remove information you don't want sitting on your device anymore. Clearing data doesn't affect your photos, messages, or contacts unless you specifically delete those separately.
Key Takeaways
- You can clear data for individual apps through Settings > General > iPhone Storage, which shows you exactly how much space each app is using.
- Offloading an app removes it but keeps your data, so you can reinstall it without losing saved progress or login information.
- Clearing Safari history, cookies, and website data is a separate step from clearing app data and requires going to Settings > Safari.
- Signing out of apps before clearing their data prevents you from being locked out of accounts you use across multiple devices.
- A full factory reset through Settings > General > Transfer or Reset erases everything on your phone, so back up first if you want to keep anything.
Clearing data for a single app
The fastest way to free up space from one app is to go to Settings, tap General, then iPhone Storage. You'll see a list of apps ranked by how much space they're using. Tap the app you want to clear, and you'll see two options: Offload App or Delete App.
Offload App removes the app but keeps your data and documents. If you reinstall it later, your saved games, preferences, and login information stay intact. This is useful if you want to reclaim space but might use the app again. Delete App removes everything — the app and all its data. Choose this only if you're sure you won't need it.
After you offload or delete, the space frees up immediately. If you offloaded the app, you can reinstall it from the App Store without losing your progress.
Clearing browser history and website data
Safari stores your browsing history, cookies, and data from websites you visit. This information can add up over time and may contain login details or tracking information you'd rather not keep. To clear it, go to Settings, scroll down and tap Safari, then tap Clear History and Website Data.
A menu will appear asking what time range you want to clear: the last hour, today, today and yesterday, or all time. Choose the range that fits what you want to remove. You can also choose what types of data to clear by tapping Advanced at the bottom of the Safari settings menu, then Website Data, where you can select specific sites or clear all of them.
If you use other browsers like Chrome or Firefox, each one has its own data-clearing settings. Open the app, go to its settings menu, and look for an option like "Clear browsing data" or "Privacy".
Removing documents stored in the Files app
Documents you've downloaded or saved to your iPhone often live in the Files app. Open Files, navigate to the folder where your documents are stored (usually Downloads or On My iPhone), tap Select in the top right, then tap each document you want to delete. Once you've selected them, tap Delete and confirm.
You can also delete documents from individual apps. For example, if you've downloaded PDFs in Mail, open Mail, find the email with the attachment, swipe left on it, and tap the trash icon. Documents stored in cloud services like iCloud Drive, Google Drive, or Dropbox can be deleted from those apps' folders in the Files app, but deleting them there also removes them from the cloud service on all your devices.
Signing out before clearing app data
Before you clear data for an app where you're logged in — like email, banking, or social media — sign out first. If you clear the data while still logged in, you might lock yourself out of that account on your iPhone, and you'll need to remember your password to get back in.
Open the app, go to its settings or account menu, and look for a Sign Out, Log Out, or Disconnect option. After you sign out, then go to Settings > General > iPhone Storage, find the app, and tap Offload App or Delete App. When you reinstall or reopen it, you can log back in with your credentials.
Using a factory reset for complete data removal
If you want to remove everything from your iPhone — all apps, data, photos, messages, and settings — you can perform a factory reset. Go to Settings, tap General, then Transfer or Reset, and choose Erase All Content and Settings. Your iPhone will ask for your Apple ID password to confirm, then it will wipe the device completely.
Back up your iPhone before doing this if there's anything you want to keep. You can back up to iCloud by going to Settings > [Your Name] > iCloud > iCloud Backup and tapping Back Up Now, or connect to a computer and use Finder (on Mac) or iTunes (on Windows) to create a local backup. After the reset, you can restore from that backup or set up your iPhone as new.
A factory reset takes 10 to 30 minutes depending on your device and internet speed. Your iPhone will restart several times during the process, so don't interrupt it or disconnect from power.
Checking how much space you've freed up
After you clear data, you can see how much space you've reclaimed. Go to Settings, tap General, then iPhone Storage. At the top, you'll see a bar showing how much storage is used and how much is available. The available space should increase after you delete apps or data.
If you're still running low on storage, look at the app list to see what's taking up the most room. Photos and videos are often the biggest culprits, followed by large apps like games or social media. You can also go to Settings > General > iPhone Storage and look for the Recommendations section, which suggests apps you haven't used recently that you could offload.
Frequently Asked Questions
Will clearing app data delete my photos or messages?
No. Clearing app data removes only the files that app has stored — like cached images or temporary files. Your Photos app, Messages, and Contacts are separate and won't be affected unless you specifically delete them through their own apps or through a full factory reset.
What's the difference between offloading and deleting an app?
Offloading removes the app but keeps your data, so reinstalling it later restores your progress and login information. Deleting removes both the app and all its data. Use offload if you might use the app again; use delete if you're done with it.
Can I recover data after I clear it?
Once you clear app data or delete an app, that data is generally gone. However, if you have an iCloud or local backup from before you cleared the data, you can restore your entire iPhone from that backup. Otherwise, individual cleared files cannot be recovered.
Do I need to sign out of apps before clearing their data?
It's a good idea. If you clear data while logged in, you may lock yourself out and need to remember your password to log back in. Signing out first prevents this problem and makes reinstalling the app smoother.
How often should I clear data and documents from my iPhone?
There's no set schedule. Clear data when your storage is running low, when you want to remove browsing history for privacy, or before selling or giving away your iPhone. Regular clearing isn't necessary unless you download large files frequently or your device is consistently low on space.