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.

10,485,760 bytes
10 MiB · JPG · 1,927 B
Exact size

1 MB = 1,000,000 B · 1 MiB = 1,048,576 B

WidthHeight
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

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 →