To shrink an iCloud backup, open Settings › your name › iCloud › Manage Account Storage › Backups, tap your device and turn off the apps you do not need backed up. Turning an app off removes its data from iCloud.
Step 1: see what the backup contains
Go to Settings › your name › iCloud, tap Storage (or Manage Account Storage), then Backups, and pick your device. You see the apps in the backup so you can spot the heavy ones. Source: Manage your iCloud storage.
Step 2: turn off apps you do not need
In that same screen, switch off the apps you do not need backed up and confirm. Their data is removed from iCloud. Keep the apps whose data you cannot get back, such as messages and app files that live only on the phone.
Step 3: look at your photos
If you do not use iCloud Photos, your photo library is part of the iCloud backup. Apple suggests saving your photos and videos to your computer, or turning off Photos in the backup. If you do use iCloud Photos, your photos are kept there rather than in the backup. Either way, a smaller library means a smaller backup: clear the clutter first.
Step 4: delete backups of old devices
In Backups, tap an old backup and choose Turn Off and Delete from iCloud. This also turns off iCloud Backup for that device. Apple keeps a backup for 180 days after you stop using iCloud Backup, and a backup being used for a restore cannot be deleted.
Deleting a backup deletes what only that backup holds. Be sure the device is gone or that you saved what you need before you confirm.
Back up less by keeping less
Duplicates, near-identical shots and big videos make every backup heavier. Winnow shows how much you can free on your iPhone, with a reason for each suggestion. Deleted items wait 30 days in Recently Deleted.
FAQ
Does deleting an iCloud backup delete my photos?
If you use iCloud Photos, your photos live there and are not in the backup. If you do not, the backup may hold the only iCloud copy, so save them first.
How long does iCloud keep a backup?
Apple says a backup is available for 180 days after you turn off iCloud Backup or stop using the device.
How many GB do I need for iCloud backups?
It depends on your apps and photos. Check Backups for your size, then compare with the iCloud storage calculator.