Sample files for mobile app development
Files for testing uploads, downloads and previews in Android and iOS apps, including on slow networks.
Mobile apps handle files under harsher conditions than the web: connections drop, the operating system suspends the app mid-transfer, storage is limited and memory is tight. Features that work on office Wi-Fi fail on a train.
Test with realistic sizes on a throttled connection. A 5 MB file represents a typical photo, and a 10 MB file is enough to make a transfer outlast the patience of the user and sometimes of the operating system.
Recommended files
| File | Size | Why this one | Download |
|---|---|---|---|
| 5 MB JPG samplesample-jpg-5mb.jpg | 5 MB5,242,880 bytes | Photo-sized upload | Download JPG |
| 10 MB MP4 samplesample-mp4-10mb.mp4 | 10 MB10,485,760 bytes | Video upload and playback | Download MP4 |
| 1 MB PDF samplesample-pdf-1mb.pdf | 1 MB1,048,576 bytes | Document preview | Download PDF |
| 10 MB BIN samplesample-bin-10mb.bin | 10 MB10,485,760 bytes | Transfer resilience on poor networks | Download BIN |
| 440 Hz test tone WAV (3 seconds)sample-test-tone-440hz.wav | 258 KB264,644 bytes | Audio playback check | Download WAV |
| 5 MB MOV samplesample-mov-5mb.mov | 5 MB5,242,880 bytes | The container iPhones record video in | Download MOV |
| Sample MP4 video, 1920 × 1080 (1080p)sample-video-1920x1080.mp4 | 1.59 MB1,665,226 bytes | Full HD clip for resolution handling | Download MP4 |
Checklist
Throttle the network
Use the network conditioner on iOS or emulator network profiles on Android, and repeat upload and download tests on 3G-like speeds.
Background the app mid-transfer
Start a large transfer, switch apps and return. It should continue or resume, not restart or silently fail.
Watch memory with large images
Decode the 10 MB JPG and check that the app downsamples rather than loading the full bitmap.
Open files from the device
Download samples in the device browser and open them through the system file picker to test the import path.
Guides
- How to test file upload: a complete checklist
A test plan for upload forms and endpoints, with the right sample file for every case.
- How to test file downloads
Completeness, integrity, speed, range requests and resume, each with a command you can run.
- How to test file size limits
Where upload limits live, what the common defaults are, and how to test a boundary to the byte.
Related use cases
Frequently asked questions
- Can I download the samples directly on a phone?
- Yes. Every download works in mobile browsers; files are created on the device itself. Files are saved to the Downloads folder on Android and to the Files app on iPhone and iPad.
Test plan architecture and assertion matrix for sample files for mobile app development
A thorough mobile development workflow separates positive functional verification (confirming well-formed inputs succeed and preserve their SHA-256 checksum) from negative boundary verification (confirming oversized, truncated, or mislabelled inputs fail with structured diagnostic codes).
| Test case ID | Scenario in mobile development | Input fixture | Expected system outcome |
|---|---|---|---|
| TC-MOBI-01 | Baseline small payload acceptance | 1 KB – 100 KB valid fixture from Formats | HTTP 200/201; stored byte count and SHA-256 match /checksums.txt |
| TC-MOBI-02 | Gateway / reverse-proxy ceiling check | 1 MB, 10 MB, and 20 MB sized fixtures from Sizes | Exact threshold enforced; oversize payload returns HTTP 413 Payload Too Large |
| TC-MOBI-03 | Extension vs. magic-byte mismatch | wrong-extension-png-as-jpg.jpg from Broken Files | Validator detects 89 50 4E 47 PNG header and rejects spoofed .jpg extension |
| TC-MOBI-04 | Truncated stream / unexpected EOF | Truncated PDF or JPEG from Broken Files | Parser catches missing trailer/EOI marker and returns HTTP 422 without leaking stack traces |
Automating mobile development in CI/CD pipelines
To keep automated runs deterministic and fast, commit your small sub-100 KB fixtures directly to your repository and synthesize larger 10 MB to 1 GB stress fixtures on demand using our in-browser generator or the reproducible local commands on Methodology. When testing tabular or relational data pipelines during mobile development, pair binary container checks with our 100-row and 1,000-row synthetic datasets so you can assert exact row counts and column aggregations after ingestion.