Recover deleted files on iCloud.com
On iCloud.com, you can recover files deleted from both iCloud Drive and other apps within the last 30 days, whether you deleted them on iCloud.com or another device that has iCloud Drive turned on. However, you can’t recover or restore files you permanently remove.
Recover files deleted from iCloud Drive or iWork apps
In iCloud Drive on iCloud.com, tap Recently Deleted in the sidebar.
If you don’t see the sidebar, tap in the top-left corner.
Do one of the following:
Recover some items: Tap , choose Select, tap the items you want to recover, then tap Recover at the bottom of the screen.
Recover all items: Tap Recover All at the bottom of the screen.
To go back to your other files, tap another option in the sidebar, such as Browse or Recents.
Recover files deleted from other apps
On iCloud.com, tap in the toolbar, then tap Data Recovery.
Tap Restore Files.
Select each file you want to restore, or select Select All.
Tap Restore.
Look for your recovered files in the folders they were in when you deleted them. For example, if a file was in the Pages folder when you deleted it, look for the recovered file in the Pages folder.