OBB extractor

This OBB extractor does two jobs. Give it an XAPK and it takes out the OBB game files, keeps their exact names and tells you the folder each one goes in. Give it an .obb file and it reads the first bytes to work out what kind of file it is, then lists and extracts what's inside if it can be opened. Everything runs in your browser, and large files are read from disk, not uploaded.

  • Free, no sign-up
  • Never uploaded
  • Works offline once loaded

Drop an .xapk or an .obb file here

or

Read on your device, never uploaded ·

How to extract an OBB file

From an XAPK:

  1. Drop the .xapk onto the box above.
  2. The tool lists every OBB with its size, type (main or patch) and the folder it belongs in on the phone.
  3. Click an OBB to save it, or Save all. Each file keeps its name, which the game needs.
  4. Copy it to the folder shown, by USB or with the adb command next to it.

From an .obb file:

  1. Drop the .obb onto the box.
  2. The tool shows what format it's in. If it's a ZIP, you see its contents and can extract any file.

If you also need the app itself as one APK, get it from the homepage converter. It saves the APK and the OBB files together. For APKs and other parts of the package, the XAPK extractor lists every file in the archive.

Where OBB files go

Android sets aside one folder per app for its expansion files, and the game only looks there:

/sdcard/Android/obb/<package name>/

The file name follows a fixed pattern from Google's expansion file rules:

[main|patch].<version code>.<package name>.obb
  • main holds the bulk of the game's data. patch holds an optional update to it. An app has at most one of each.
  • The version code is the app version the file was first released with. It doesn't always match the installed app's version, and that's fine: a game can keep using an older main file across many updates.
  • The package name must be the app's own, the same as the folder name.

Each expansion file can be up to 2 GB. Larger games split their data into a main and a patch file, or use other delivery methods such as asset packs.

The OBB extractor checks each name against this pattern. Two of the mistakes it catches:

File nameWhat the tool says
game-data.obbThe name doesn't follow the [main|patch].<version>.<package>.obb pattern, so the game may not find it.
main.7.com.example.other.obb, for the app com.example.splittestThe file is named for com.example.other, but the app is com.example.splittest.

A renamed OBB is the most common reason a game downloads its data again, or says it can't find it.

What's inside an OBB

An .obb file can hold anything the developer chose. Google's rules don't fix a format. In practice you'll meet three kinds, and the tool tells them apart by their first bytes:

FormatHow it's recognizedCan it be opened?
ZIP archiveStarts with the ZIP signature, "PK"Yes: listed and extracted here
FAT disk imageA FAT12, FAT16 or FAT32 boot sector, ending in 55 AAIt's a whole file system. Disk image tools can mount it, but a browser can't list it
Game engine bundleAn engine's own header, such as "UnityFS" for Unity asset bundlesOnly with that engine's tools
Anything elseNo known header, often because it's encrypted or customNo

FAT images are what Google's jobb tool makes for apps that mount their OBB as a drive. Many games encrypt their data or use their own pack format, and that's expected. The game reads it fine even though nothing else can.

This explains a common puzzle: renaming an .obb to .zip and finding it empty or "invalid". Only ZIP-format OBB files open that way. The OBB extractor tells you which kind you have, so you don't have to guess.

How the OBB extractor works

For an XAPK, the tool reads the archive's index and finds every entry ending in .obb, usually under Android/obb/<package name>/. It checks the name, works out the device path from the package in the base APK, and marks main and patch. When you save an OBB, its bytes are copied straight out of the original file in slices, so a 2 GB OBB never sits in memory.

For an .obb on its own, the tool reads the first 512 bytes and checks them for a ZIP signature, a FAT boot sector or a known engine header. A ZIP gets its index read and listed, with each file ready to extract.

Worked example: an XAPK with two OBB files, and three .obb types

The XAPK. We added two OBB files to our test app's XAPK, com.example.splittest, making a 204.4 KB file:

FileTypeSizeGoes in
main.7.com.example.splittest.obbmain7.2 KB/sdcard/Android/obb/com.example.splittest/
patch.7.com.example.splittest.obbpatch3.7 KB/sdcard/Android/obb/com.example.splittest/

Both names passed the pattern check. The tool gave these commands, after the install line for the APK:

adb shell mkdir -p /sdcard/Android/obb/com.example.splittest/
adb push main.7.com.example.splittest.obb /sdcard/Android/obb/com.example.splittest/
adb push patch.7.com.example.splittest.obb /sdcard/Android/obb/com.example.splittest/

The main OBB is a ZIP, so the tool also listed what's in it: assets/levels/level1.dat (3,000 bytes) and assets/music/theme.ogg (4,096 bytes).

Three .obb files on their own. We made three files to test the format check:

FileWhat it isTool's verdict
main.7.com.example.splittest.obb, 7.2 KBThe ZIP aboveZIP, contents listed
fat16-image.obb, 4 MBAn empty FAT16 file system written by our own script (a FAT image, the kind jobb makes)FAT image: mount it with a disk image tool
random-4kb.obb, 4 KB4,096 random bytes, standing in for an encrypted packUnknown format: only the game can read it

Android 11 and later: copying into /Android/obb/

From Android 11, Android walls off each app's folders in Android/obb/ and Android/data/. Other apps can't read or write another app's folder, even with "all files access". The system file picker can't choose files inside Android/obb/ either, for apps built for Android 11 or later. The game itself can still read its own OBB folder.

That's why moving an OBB on the phone often fails now. File manager apps can't see into the folder, or show it empty. What still works:

  • USB from a computer. Plug the phone in and choose File transfer. On most phones the computer's file window can still open Android/obb/, so copy the OBB into Android/obb/<package name>/ there. Or use the adb push commands above. To do it all from the browser, install the XAPK from your computer and the OBB files are copied as part of the install.
  • An installer app. XAPK installer apps copy the OBB for you when they install the app.
  • Let the game download it. Many games fetch their data on first launch if the OBB is missing.

Once the file is in place, open the game. If it still can't find its data, check the folder name and the file name letter by letter against the package name. For a step-by-step, see how to install apk with obb. For the background, read what is obb file.

Need to go the other way, packing an APK and its OBB into one file? The APK to XAPK converter builds an XAPK with the OBB in the right place.

All tools

Every tool runs in your browser. Your files are never uploaded.

OBB extractor FAQ

Where do I put the OBB file?

In /sdcard/Android/obb/<package name>/ on the phone, where the package name is the app's, such as com.example.game. Create the folder if it doesn't exist, and keep the file name exactly as it is.

Can an OBB file be bigger than 2 GB?

No. Google's rules cap each expansion file at 2 GB, and an app can have one main and one patch file. Games with more data download the rest themselves or use other delivery methods.

Why isn't the game finding its OBB?

Usually the folder or the file name is wrong: a typo in the package name, a renamed file, or the OBB in Downloads instead of Android/obb/. Check both against the app's package name. The OBB extractor shows the exact path.

Can Android 11+ apps still read /Android/obb/?

Each app can read its own OBB folder, so games work as before. Other apps, including most file managers, can't reach other apps' folders there. Copy OBB files over USB from a computer instead.

Why does my OBB look empty when renamed to .zip?

It isn't a ZIP. Many OBB files are FAT disk images, engine bundles or encrypted packs, which archive tools can't read. The game reads them fine. Drop the file in here to see which format it is.