Images
JPG test files, any size.
Set a size and generate a structurally valid JPG immediately. Nothing is uploaded and nothing is stored.
JPG, built to spec.
Each file is a JPEG encoded by your browser at the dimensions you pick. The size you ask for is reached with COM comment segments, the field the JPEG spec reserves for free text, so the result opens in standard image viewers, browsers and EXIF-aware tools. Most people generate these for testing photo upload forms and EXIF-aware processors.
Common sizes
Pick a size to jump straight to it, or set your own on the caliper above.
5 KB JPG
5,120 bytes
10 KB JPG
10,240 bytes
50 KB JPG
51,200 bytes
100 KB JPG
102,400 bytes
500 KB JPG
512,000 bytes
1 MB JPG
1,048,576 bytes
2 MB JPG
2,097,152 bytes
3 MB JPG
3,145,728 bytes
5 MB JPG
5,242,880 bytes
10 MB JPG
10,485,760 bytes
15 MB JPG
15,728,640 bytes
20 MB JPG
20,971,520 bytes
25 MB JPG
26,214,400 bytes
50 MB JPG
52,428,800 bytes
100 MB JPG
104,857,600 bytes
200 MB JPG
209,715,200 bytes
500 MB JPG
524,288,000 bytes
1 GB JPG
1,073,741,824 bytes
2 GB JPG
2,147,483,648 bytes
Questions.
How small can a JPG file be?
About 1,927 bytes. Below that the format cannot carry its mandatory structure, let alone padding.
Will the file open normally?
Yes — it opens in standard image viewers, browsers and EXIF-aware tools, because the padding lives in COM comment segments, the field the JPEG spec reserves for free text.
Can I ask for an unusual size?
Any byte count above the minimum works, including values like 3,145,728 or 27.5 MB. Drag the caliper or type the number.
Noticed an issue with this test file? Report an issue →