By default, WhatsApp chats are end-to-end encrypted, but the backups aren't encrypted for iPhone users. To be on the safe side, you can enable end-to-end encryption for those WhatsApp backups. Here's how.

Start by opening WhatsApp on your iPhone. Next, tap the "Settings" (gear-shaped) icon in the bottom-right corner.

Select the "Settings" in the bottom-right corner of WhatsApp.

In WhatsApp Settings, select "Chats."

Select "Chats."

In Chats, tap "Chat Backup."

Select "Chat Backup."

Under Chat Backup options, tap "End-to-End Encrypted Backup."

Select "End-to-End Encrypted Backup."

The next screen will show that the Encrypted backup is off. Select "Turn On."

Select "Turn On."

On the next screen, tap "Create Password."

Select "Create Password" to add it to your end-to-end encrypted WhatsApp backup.

Type a new password with at least 6 characters and one letter. Then, tap "Next" in the top-right corner. Retype the same password on the following screen, and tap "Next" in the top-right corner again.

Make sure you write this password down somewhere safe. If you lose it, you will lose access to your message backups.

Type in a password and hit "Next" in the top-right corner of the screen.

Tap the "Create" button at the bottom to confirm that you want to create a new End-to-End Encrypted Backup. WhatsApp will prepare your backup with encryption and store it in iCloud.

Select "Create" to initiate an End-to-End Encrypted Backup process in WhatsApp on iPhone.

That's it! When you want to restore your WhatsApp messages backup, you'll have to enter the same password that you've set for your encrypted backups. Good luck!

Related: How To Back Up and Restore Your WhatsApp Messages with Google Drive