How to delete temporary files & other junk on a smartphone or tablet

On Android, open Files by Google, tap Menu > Clean, and tap Clean on the Junk files card; on an iPhone or iPad, clear Safari's website data and offload or delete the apps that hold the most space.

This guide covers app caches, browser caches, deleted photos and the built-in storage tools on Android phones, Android tablets, iPhones and iPads, plus what to do when storage stays full.

How to delete temporary files & other junk on a smartphone or tablet
The Clean tab in Files by Google puts a Junk files card under the storage bars for internal storage and the SD card. (Image: Google)

Use a cleaning app to delete temporary files on Android

Google's own Files by Google app finds the temporary files that apps leave behind and removes them in one pass. Google says app settings are not affected, so there is no reason to install a third-party cleaner.

  1. Open Files by Google on your Android phone or tablet.
  2. Tap Menu > Clean.
  3. On the Junk files card, tap Clean. The button shows how much space you get back.
  4. On the confirmation dialog, tap Clear.

Anything Files by Google clears or deletes is permanently deleted. Junk files are temporary data that apps recreate, so nothing you made yourself is lost in this step.

Phone junk files: what to delete on Android vs iPhone

Android and iOS handle temporary files differently. Android gives you buttons to clear caches, while iOS removes cached files by itself when storage runs low.

Type of junk On Android On iPhone or iPad
Temporary files from many apps Files by Google > Clean > Junk files No button; iOS removes cached and temporary files itself when space runs low
One app's cache Settings > Apps > the app > Storage & cache > Clear cache Offload App in iPhone Storage or iPad Storage, then reinstall
Browser cache and cookies Chrome: More > Delete browsing data Safari: Settings > Apps > Safari > Clear History and Website Data
Photos and videos taking space Turn on Smart Storage to clear backed-up photos and videos Photos > Collections > Recently Deleted > Delete
Apps and files you no longer use Settings > Storage > Free up space Settings > General > iPhone Storage recommendations

Manually delete app caches on Android

Clearing one app's cache is the fix when that app crashes, freezes or shows old content, and it is the most common way to clear cache on Android. It removes temporary files only, and your sign-ins, messages and photos stay in place.

  1. Open the Settings app on your Android phone or tablet.
  2. Tap Apps. If the app you want is not listed, tap See all apps.
  3. Tap the app that is using the most space or misbehaving.
  4. Tap Storage & cache.
  5. Tap Clear cache, and leave Clear storage alone.

As a shortcut, touch and hold the app's icon, tap App info, then open Storage & cache. Google calls this a short-term fix, because cached data builds up again over time.

How to clear Chrome cache on Android and iPhone

Chrome keeps cached images and files on both platforms. Its default time range is 15 minutes, so widen it to remove older junk.

  1. Open Chrome on your phone or tablet.
  2. On Android, tap More on the right of the address bar, then Delete browsing data. On iPhone or iPad, tap More > Delete Browsing Data.
  3. Set the time range to a longer period than the default 15 minutes.
  4. On Android, tap More options. On iPhone or iPad, tap Browsing Data.
  5. Select cached images and files, and unselect anything you want to keep, such as passwords.
  6. On Android, tap Delete data. On iPhone or iPad, tap Confirm, then Delete Browsing Data.

Deleting cookies signs you out of most sites, but you stay signed in to your Google Account while you are signed in to Chrome. Data saved to your Google Account is removed from every device signed in to that account.

How to clear Safari cache on iPhone

Safari stores history, cookies and cache together. Apple gives two options: clear everything, or clear cookies and cache while keeping your history.

  1. Open Settings, tap Apps, then tap Safari.
  2. To clear everything, tap Clear History and Website Data, choose the timeframe, then tap Clear History.
  3. To keep your history, tap Advanced > Website Data instead.
  4. Tap Remove All Website Data.
  5. Tap Remove Now.

Clearing history does not change your AutoFill information. Removing website data clears the data sites use to keep you signed in, so expect to sign in again.

Clear Safari cache on iPhone with Clear History and Website Data
In Settings > Apps > Safari, Clear History and Website Data sits under the History and Website Data heading. (Image: Apple)

How to delete temporary files on iPhone and iPad

iOS and iPadOS have no clear-cache button for apps. Apple says the device removes cached and temporary files itself when it needs space, so the manual route is to offload or delete the apps that hold the most data.

  1. Open Settings and tap General.
  2. Tap iPhone Storage or iPad Storage to see recommendations and a list of apps by size.
  3. Tap the app at the top of the list.
  4. Tap Offload App to free the space the app uses while keeping its documents and data.
  5. Or tap Delete App to remove the app and its related data.
  6. Reinstall an offloaded app from the App Store when you need it again.

Apple notes that cached data and temporary data might not count as an app's usage on this screen. Mail can grow large on its own, and you can reset the Mail cache on iPhone when it does.

Delete temporary files on iPhone from the iPhone Storage screen
iPhone Storage shows a usage bar by category and recommendations such as Offload Unused Apps above the list of apps by size. (Image: Apple)

How to empty Recently Deleted photos on iPhone

Deleted photos and videos stay in Recently Deleted for 30 days and keep using storage until then. With iCloud Photos turned on, deleting removes them from every device signed in to the same Apple Account.

  1. Open the Photos app and tap Collections.
  2. Tap Recently Deleted under Utilities, tap View Album, and unlock your iPhone.
  3. Tap Select, then choose the photos or videos to remove.
  4. Tap the More button, then tap Delete.

Items deleted from Recently Deleted cannot be recovered, so check the selection before you confirm.

Empty Recently Deleted photos on iPhone with the Select button
Each item in Recently Deleted shows the days left before removal; tap Select to choose what to delete now. (Image: Apple)

How to free up storage on Android with Settings

Android's Storage screen lists photos, videos and apps you have not used recently. Google notes some of these steps only work on Android 14 and later.

  1. Open the Settings app.
  2. Tap Storage > Free up space.
  3. Scroll to the category you want, then tap Select files. If the category is not listed, tap Browse.
  4. Select the files you want to delete, or select all files in the list.
  5. Tap Move files to Trash.
  6. To clear backed-up photos and videos automatically when storage is almost full, tap Menu > Settings and turn on Smart Storage.

Files by Google offers the same kind of cleanup by category, including duplicate files, downloaded files, large files, screenshots and WhatsApp media.

What is Other and System Data storage on iPhone and iPad

The storage bar in Settings > General > iPhone Storage splits space into categories. Two of them hold the junk people ask about most, and you cannot empty either one directly.

Category What it holds Can you clear it?
Apps Installed apps and their content, files in On My iPhone or On My iPad, and Safari downloads Yes, by offloading or deleting apps and files
Photos Photos and videos in the Photos app Yes, delete them and empty Recently Deleted
Messages and Mail Messages, emails and their attachments Yes, by deleting conversations or mail
Other Siri voices, fonts, dictionaries, non-removable logs and caches, the Spotlight index and system data such as Keychain No; Apple calls these non-removable
System The operating system itself No; the size varies by device and model

When you stream or view music, video and photos, the device creates cached copies so they load faster next time. Apple says the device removes these files when it needs more space.

How to see how much storage is used on Android and iPhone

Read the storage figures before and after a cleanup to see what you got back. A drop in the app or category you cleaned is the proof.

  1. On Android, open Settings > Storage and select a category to see what it uses.
  2. On Android, open Settings > Apps > the app > Storage & cache to see that app's figures.
  3. On iPhone or iPad, open Settings > General > iPhone Storage or iPad Storage and read the bar at the top.
  4. Tap an app on that list to see its size after offloading or deleting content.

A Mac's Finder, or the Apple Devices app on a Windows PC, also shows the storage bar for a connected iPhone or iPad. Those tools file cached music, videos and photos under Other, so their numbers can differ from Settings.

See how much iPhone storage is used in the Mac Finder storage bar
With an iPhone connected to a Mac, hover over a segment of the Finder storage bar to see that category's size. (Image: Apple)

Clear cache vs clear storage on Android

Button What it deletes When to use it
Clear cache The app's temporary files, which it rebuilds Any time an app misbehaves or storage is low
Clear storage All of the app's data, including settings and accounts Only after clearing the cache failed and you have saved what the app holds
Clear all data for Google Play services Data that can include saved passwords, transit cards and virtual payment cards Only when the Play Store still fails after clearing its cache

Uninstalling an app also erases any data saved in it, so treat that as a last step for an app you can set up again.

Phone storage still full after clearing cache

Clear History and Website Data is gray on iPhone

There is no data to clear, or Screen Time web content restrictions block it.

  1. Open Screen Time in Settings and check the web content restrictions.
  2. Change the restriction if you set it yourself, or ask whoever manages Screen Time on the device.
  3. Return to Settings > Apps > Safari and try again.

Clear cache is missing on an Android phone or tablet

Settings vary by phone maker, so the label can sit under a different screen.

  1. Touch and hold the app icon and tap App info.
  2. Open the screen that lists the app's storage figures.
  3. If there is still no cache option, check your manufacturer's support site for the label it uses.

The cache fills up again right after clearing it

Apps recreate temporary files as soon as you use them, which is how cache works.

  1. Open Settings > Storage on Android, or iPhone Storage on iOS, to find the largest apps.
  2. Offload, archive or uninstall apps you rarely open.
  3. Move photos and videos to cloud storage with Smart Storage on Android or iCloud Photos on iPhone.

Other or System Data on iPhone stays large

It holds non-removable logs, caches and system data that only iOS manages.

  1. Leave it alone; Apple says the device removes cached files when it needs space.
  2. Free space in the categories you can control, such as Photos, Messages and Apps.
  3. Tap Show All under the recommendations in iPhone Storage and enable the ones that fit.

An app still crashes after clearing its cache

The fault is in the app or its saved data, not its temporary files.

  1. Press the Power button for about 30 seconds until the phone restarts.
  2. Update the app from the Play Store under Manage apps & devices.
  3. Tap Clear storage only after saving anything you need from the app.
  4. Uninstall and reinstall the app, then contact its developer if the problem continues.

On a Windows PC the same kind of junk lives in the Temp folder, and you can delete temporary files on Windows 11 with Storage settings.

Clear cache on a Samsung Galaxy phone from the app Storage screen
On a Samsung Galaxy phone, Clear cache sits at the bottom of the app's Storage screen next to Clear data. (Image: samsung.com)

Phone and tablet junk files FAQ

Is it safe to delete junk files on my phone?

Yes. Junk files are temporary data that apps create and can rebuild, and Google says clearing them in Files by Google does not affect app settings. The deletion is permanent, but these files are not documents or photos you made yourself.

Does clearing cache delete photos or messages?

No. Clear cache on Android removes only an app's temporary files, so photos, messages and accounts stay. Clear storage is the separate button that deletes all of an app's data, so read the label before you tap it.

Can you clear app cache on an iPhone?

Not with a button. iOS removes cached and temporary files itself when storage runs low. To clear one app's data, offload or delete it in Settings > General > iPhone Storage, and clear Safari's cache in Settings > Apps > Safari.

How do I delete temporary files on an Android tablet?

Use the same tools as an Android phone. Open Files by Google, tap Menu > Clean, then clean Junk files, or clear one app's cache under Settings > Apps > Storage & cache. Labels can vary by tablet maker.

Do I need a cleaner app for my phone?

No. Android ships the cleanup you need in Files by Google and the Storage screen, and iPhone and iPad have storage recommendations in Settings. A third-party cleaner adds nothing these built-in tools do not already do.

Why is my phone storage still full after deleting photos?

Deleted photos move to a trash folder first. On iPhone, Recently Deleted keeps them for 30 days, so open Photos > Collections > Recently Deleted and delete them to get the space back immediately.

Will clearing cache make my phone faster?

Only when a full phone or a faulty app causes the slowdown. Apps may open more slowly the first time after a clear because they rebuild their files. Google describes clearing cache as a short-term fix for space.

What is the difference between offloading and deleting an app on iPhone?

Offloading frees the storage the app uses but keeps its documents and data, so reinstalling brings you back where you were. Deleting removes the app and its related data from the iPhone or iPad.

Philip Celasco

Philip is a Texas-based technology writer and IT administrator at Techdows.com with more than 10 years of experience creating practical content for everyday users and professionals. He specializes in web browsers, particularly Chromium-based platforms such as Google Chrome, Microsoft Edge, Brave, and Opera. Through his work as an IT administrator, Philip has hands-on experience managing devices, configuring browser policies, troubleshooting software and network issues, and helping people resolve problems that affect productivity and security. His articles are based on practical testing and real-world technical experience. He covers browser settings, extensions, performance problems, privacy controls, security features, and Windows troubleshooting. Outside work, Philip enjoys the quieter side of life in Texas and stepping away from the screen when he can. He has two kids, two cats and loves to play golf with his mother during the weekends.

Leave a Reply

Your email address will not be published. Required fields are marked *