Can You Back Up WhatsApp to OneDrive? Yes, Here’s How (Android & iPhone, 2026)

How to back up WhatsApp chats to OneDrive

Your Google storage is full, or you simply prefer Microsoft OneDrive, and you want your WhatsApp backup on OneDrive. Is that possible? The honest answer: not directly. WhatsApp’s built-in backup works only with Google Drive on Android and iCloud on iPhone. But with a few simple workarounds you can keep your chats, photos and even the full backup file safe in OneDrive. Here’s exactly what works, and what doesn’t.

Short answer: WhatsApp cannot back up to OneDrive automatically. You can (1) export important chats to OneDrive, (2) back up WhatsApp photos and videos with OneDrive’s camera upload, and (3) on Android, copy WhatsApp’s local backup file to OneDrive and restore it later.

What WhatsApp supports officially

PhoneOfficial backup locationOneDrive?
AndroidGoogle Account (Google Drive)Not built in
iPhoneiCloudNot built in
Coming soonWhatsApp’s own encrypted backup storage (in beta)No

WhatsApp is also testing its own end-to-end encrypted backup storage, with a small amount of free space in beta. Until that reaches everyone, OneDrive needs one of the methods below.

Method 1: Export a chat to OneDrive (Android & iPhone)

Best for saving important conversations, such as business chats, family groups or records, as a readable copy.

  1. Open the chat in WhatsApp.
  2. Android: tap ⋮ > More > Export chat. iPhone: tap the contact or group name > Export chat.
  3. Choose Include media or Without media.
  4. In the share menu, pick OneDrive and choose a folder.

You get a .txt file of the conversation (plus media files if included). Limitation: an exported chat can be read on any device, but it cannot be restored back into WhatsApp.

Method 2: Back up WhatsApp photos and videos to OneDrive

  • iPhone: in WhatsApp, turn on Settings > Chats > Save to Photos. Then in the OneDrive app turn on Camera upload. New WhatsApp photos land in Photos and OneDrive uploads them.
  • Android: open the OneDrive app > + > Upload, browse to Android > media > com.whatsapp > WhatsApp > Media > WhatsApp Images (and WhatsApp Video), and upload the files. Some phones also let OneDrive back up extra folders automatically.
Phone and laptop used to copy a WhatsApp backup to OneDrive
You can keep WhatsApp media and backup files in OneDrive · Photo: Unsplash

Method 3 (Android): Copy the WhatsApp backup file to OneDrive and restore it

Android saves a local backup of your chats on the phone every night. You can upload this file to OneDrive and use it to restore WhatsApp on a new phone.

Save the backup to OneDrive

  1. In WhatsApp, go to Settings > Chats > Chat backup and tap Back up to create a fresh local copy.
  2. Open the OneDrive app > + > Upload.
  3. Browse to Internal storage > Android > media > com.whatsapp > WhatsApp > Databases.
  4. Upload the newest file, usually msgstore.db.crypt15. For a full copy, upload the whole Databases folder.

Restore on a new Android phone

  1. Install the OneDrive app on the new phone and download the backup file.
  2. Using the Files app, create the folder path Android/media/com.whatsapp/WhatsApp/Databases if it doesn’t exist, and put the file there.
  3. Install WhatsApp, verify the same phone number, and tap Restore when it finds the local backup.
  4. If you turned on end-to-end encrypted backup, enter your password, key or passkey.

Note: this works only Android to Android with the same phone number. iPhone backups cannot be copied to OneDrive and restored this way.

Cloud servers storing WhatsApp backup files
Keep a second copy of your backup file in the cloud · Photo: Unsplash

Which method should you use?

MethodSavesRestore into WhatsApp?
Export chatSelected chats (text + media)No, read-only copy
Media uploadPhotos and videosPhotos stay in OneDrive, not in chats
Local backup file (Android)All chatsYes, on Android with the same number

Related guides

Frequently asked questions

Can WhatsApp back up to OneDrive automatically?

No. WhatsApp’s automatic backup works only with Google Drive on Android and iCloud on iPhone. OneDrive can only be used through manual workarounds such as exporting chats or uploading the local backup file.

Can I restore WhatsApp chats from OneDrive?

Yes, on Android: download the msgstore backup file from OneDrive into WhatsApp’s Databases folder on the new phone before verifying your number. Exported chat files cannot be restored into WhatsApp.

Does OneDrive free storage fit a WhatsApp backup?

OneDrive gives 5 GB free. A text-only backup is usually small, but media can be many gigabytes, so upload only the Databases folder or the photos you need.

Can I back up WhatsApp from iPhone to OneDrive?

Only photos, videos and exported chats. The iPhone chat backup itself stays in iCloud and cannot be moved to OneDrive.