You can copy Minecraft: Bedrock Edition worlds created on Android devices to a computer or another Android device if your File Storage Location was set to External when you created your world. See Use Realms to Transfer a Minecraft: Bedrock Edition World to Another Device if your world is in the Application file storage location.
To learn more about Android file storage, see How Minecraft Stores World Files on Your Android Device.
Locate and copy Minecraft world files in External storage on Android
- Connect your Android device to your computer with a USB cable.
- Select the Charging this device via USB notification.
- Select File Transfer or MTP mode.
- Open a file browser on your computer.
- Go to Android > data > com.mojang.minecraftpe > files > games > com.mojang > minecraftWorlds
- Copy the minecraftWorlds folder or individual world folders to your computer.