Skip to content
ThumbSplit

Android gallery cache (.thumbdata3)→ numbered JPEG ZIP + index.csv

Pull every JPEG thumbnail out of an Android gallery cache file

Android keeps gallery thumbnails in cache files such as .thumbdata3, with many small JPEG images one after another and no index. ThumbSplit finds each complete JPEG by reading its marker structure in your browser, and gives you a ZIP of numbered images plus an index.csv with the offset, size and pixel size of every one. Nothing is uploaded.

Preview your files
  • Free preview
  • US$4 per cache file
  • Files stay on your device
  • No account, no install
thumbdata3-demo.thumbdata3 (3 thumbnails, 1 truncated start)thumbsplit-demo.thumbdata3
Android gallery cache (.thumbdata3)
Header
16 bytes, not a JPEG
JPEG images
3 complete: 96x72, 120x90 and 64x64 pixels
thumbdata3-demo-thumbs.zip (3 JPEGs + index.csv)Sample result
Before and after: a gallery cache file with many JPEG thumbnails becomes a ZIP of numbered JPEG files and an index.csv.
3 complete thumbnails extracted1 broken JPEG start skippedZIP with numbered JPEG files and index.csv (offset, size, width, height)

Android gallery cache (.thumbdata3)You upload

numbered JPEG ZIP + index.csvYou download

PrivacyYour file never leaves your device

Three thumbnails copied byte for byte, with a broken start skipped

What makes this file tricky

A gallery cache file holds many small JPEG thumbnails one after another, with no index, so opening it shows only binary data. The one answer found is a Python script that cuts the file at JPEG start and end bytes. A plain byte search can cut an image short, and the script needs Python on your computer.

What the tool accepts

Finds complete JPEG images by walking their marker segments and scan data, so a thumbnail that holds an end marker or a nested start marker inside its data is not cut short. Each image is copied byte for byte: nothing is re-encoded and a damaged image is not repaired. Damaged JPEG starts are skipped and counted. Only JPEG images are extracted; headers that are not JPEG are left out. The layouts are checked with generated files built from the JPEG structure, not with a phone's own cache, and other cache versions such as thumbdata5 are not checked. Files over 128 MB are refused. Nothing is uploaded and the phone is not contacted.

From source file to export

  1. Open the source file

    Copy the gallery cache file from the phone to your computer, for example a .thumbdata3 file from the phone's thumbnail cache folder. Keep the original name and do not edit it.

  2. Check your preview

    Choose one or more cache files here. Each JPEG is checked by its marker structure, and any JPEG start that never ends is skipped and counted. Nothing is uploaded.

  3. Save the export

    Download the ZIP. Open index.csv to see where each thumbnail sat in the original file, and open the numbered JPEG files to view them.

Read the step-by-step guide

Open ThumbSplit

Try a sample or open your own files. The preview runs in this browser.

Source files

Android gallery cache (.thumbdata3)

No files selected.

Preview & export

numbered JPEG ZIP + index.csv

Choose a file or try the sample to see the result here.

What the sample produces

The sample is generated by a script from JPEG-structured data, not taken from a phone. A separate check compares each file in the ZIP byte for byte with the offsets the script recorded, including a thumbnail whose data holds an end marker and a nested start marker that a plain byte search would cut at. A file with no complete JPEG is rejected.

thumbdata3-demo-thumbs.zip (3 JPEGs + index.csv)

Files in the ZIP
thumb-0001.jpg to thumb-0003.jpg, byte for byte
Rows in index.csv
3, with offset, size, width and height
Where they sat
in a 971-byte file, starting at bytes 16, 355 and 662

ThumbSplit and other ways to do the job

Comparison of ThumbSplit and other tools
ToolWhat it does
ThumbSplitThe sample is generated by a script from JPEG-structured data, not taken from a phone. A separate check compares each file in the ZIP byte for byte with the offsets the script recorded, including a thumbnail whose data holds an end marker and a nested start marker that a plain byte search would cut at. A file with no complete JPEG is rejected.
jpegripC tool that pulls JPEG files out of any binary data by signature; you build it yourself with make and run it on a computer.
VinettoExtracts thumbnails from Windows Thumbs.db and Thumbcache files, not from Android thumbdata caches.

The links describe each alternative's documented workflow.

Preview for free. Pay when you download.

Free preview

$0

Open a sample or your own files and inspect the result before deciding whether to export.

Full export

US$4 per cache file

Pay once to download the full result shown in your preview.

Already paid? Restore your purchase.

Frequently asked questions

Does it work with every Android phone's cache?

It reads the JPEG layout used in .thumbdata3 and .thumbdata4 style caches. The checks use generated files, not a phone's cache, and other versions such as thumbdata5 are not checked. Compare one of your own thumbnails with the ZIP before you rely on it.

Are the images changed?

No. Each JPEG is copied byte for byte, so a damaged image stays damaged. A broken start is skipped and counted, not repaired.

Is anything uploaded?

No. The file is read in your browser and the ZIP is made there. Nothing is sent to a server.

How much does ThumbSplit cost?

The preview is free. Each cache file is US$4, charged once at download.

Do my files get uploaded?

Your files are processed in your browser. Stripe handles checkout separately.

Do I need an account to pay or download?

No account is needed. Complete Stripe Checkout and return to this browser to download the result.

Can I come back to finish a paid download?

Open this tool in the same browser and select Restore purchase. Prepared exports are kept locally for up to seven days.

Guides and support

Try ThumbSplit with a sample

Open the tool and preview the result for free.

Open the tool