Generate a sample JPG image at your chosen size
Create a JPEG upload fixture, preview it and download the original bytes. Comment segments adjust file size; they do not increase resolution or photographic detail.
1 MB = 1,000,000 B · 1 MiB = 1,048,576 B
Advanced: test an upload limit
Enter the byte limit above, then choose one byte below, the exact limit or one byte above. Each choice uses the same base: 10,485,760 B. Generate and download each file to test your endpoint.
What to test with a JPG fixture
Confirm the JPEG decodes, record its dimensions and compare the saved bytes with your upload limit. Keep the original download when testing an exact boundary.
10 MB JPG download · 25 MB JPG test guide · Resize image dimensions · Compress a JPG
Choose a size here
These options set the generator above. Separate size guides explain how to test a particular upload boundary.
Guides for specific upload limits
1 MB JPG
1,048,576 bytes
2 MB JPG
2,097,152 bytes
3 MB JPG
3,145,728 bytes
4 MB JPG
4,194,304 bytes
5 MB JPG
5,242,880 bytes
6 MB JPG
6,291,456 bytes
7 MB JPG
7,340,032 bytes
8 MB JPG
8,388,608 bytes
10 MB JPG
10,485,760 bytes
20 MB JPG
20,971,520 bytes
25 MB JPG
26,214,400 bytes
30 MB JPG
31,457,280 bytes
50 MB JPG
52,428,800 bytes
100 MB JPG
104,857,600 bytes
File structure and testing limits
A generated raster image, normally 800 × 600 pixels, enlarged with JPEG comment segments. Small targets can reduce the dimensions; re-encoding usually removes the padding.
Format reference: ITU-T T.81 (JPEG).
This generator assembles the file in your browser; file content is not sent to a server. Site analytics may make network requests. Office ↔ PDF conversion uses a separate server workflow. Data processing and privacy.
Measured regression fixture (2026-10-13): 1,048,576 bytes. Validation method and limits.
Technical notes for every format · Guide to testing file upload limits
Related tools: Image Convert · Resize Image · Compress Image.
Questions
How small can a JPG file be?
About 1,927 bytes. Below that the format cannot carry its mandatory structure, let alone padding.
How is the JPG made large enough for an upload test?
A decodable JPEG image carries extra COM comment segments to reach the requested bytes. Image dimensions and visual detail do not increase in proportion to file size; re-saving may remove the extra segments.
Can I ask for an unusual size?
Any byte count above the minimum works — for example 3,145,728 bytes (exactly 3 MB) or 27.5 MB. Drag the caliper or type the number.
Noticed an issue with this test file? Report an issue →