Images

JPG test files, any size.

Set a size and generate a structurally valid JPG immediately. Nothing is uploaded and nothing is stored.

0bytes
Exact size

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.

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 →