Resize an image to KB and pixels
Fit a photo or signature to an upload limit. Set the maximum KB and any required pixel dimensions, then check the finished JPG before downloading.
Up to 20 MB and 16 million pixels.
{{ error }}
{{ loading ? 'Reading your image…' : 'Testing JPG settings against your requirements…' }}
A JPG with size and pixel checks
Choose your photo or signature, enter the form’s requirements, and compare them with the finished file.
- Maximum size or a minimum–maximum range
- Exact dimensions without stretching
- A clear result when a requirement cannot be met
{{ result ? (result.metRequirements ? 'Your size and pixel requirements are met' : 'These requirements were not all met') : 'Original image' }}
- {{ result.checks.size.passed ? '✓' : '✕' }} File size: {{ sizeRequirementLabel }}
- {{ result.checks.dimensions.passed ? '✓' : '✕' }} Pixels: {{ dimensionsRequirementLabel }}
{{ result.reason }}
Check that the image is legible and correctly framed. These file checks do not guarantee acceptance by a form.
Select Resize and check to preview the JPG and see its measured size.
How to resize a photo or signature to a KB limit
- Choose the image. Start from a clear original. Convert an iPhone HEIC photo with HEIC to JPG first.
- Copy the form’s requirements. Set the maximum KB, any minimum, and both pixel dimensions if specified. Choose white padding to keep the whole image, or center crop to fill the frame.
- Resize and check. Review the encoded JPG, its byte count, and its pixel dimensions. Inspect small lettering and signature strokes.
- Download the JPG. Upload that new file to the form. If the file checks pass but the form rejects it, check its format, framing, live-photo, and other instructions.
Read the photo and signature upload guide for source-checked examples and help with conflicting requirements.
Pixels and KB measure different things
Pixels describe the image’s width and height. KB describes the encoded file’s size. Two images at 300 × 300 pixels can have different byte counts because their content and JPEG quality differ. A maximum of 20 KB means the result must fit below a ceiling; it does not need to be exactly 20 KB.
This tool checks actual JPEG bytes after encoding. When exact dimensions are set, they stay fixed. When they are blank, the tool can reduce dimensions to try to fit the maximum. If no tested settings meet a minimum–maximum range, it reports that result instead of adding filler bytes.
Measured examples you can reproduce
We ran these generated test images through this tool’s sizing engine on 5 September 2026 in Chrome 152.0.7977.83. Each result was decoded again to check its dimensions. These are synthetic marks and a color chart, not real application photos or signatures. Different browsers can encode different byte sizes.
| Source | Requirements | Measured JPG | Result |
|---|---|---|---|
| Generated pen strokes | 300 × 80 px Maximum 20,000 bytes | 300 × 80 px 14,308 bytes | Both met Download JPG |
| Detailed color chart | 300 × 300 px Maximum 100,000 bytes | 300 × 300 px 94,178 bytes | Both met Download JPG |
| Same color chart | 300 × 300 px Maximum 100 bytes | 300 × 300 px 1,426 bytes | Size not met Inspect failed attempt |
The 100-byte example is deliberately impractical: even a heavily degraded JPG exceeded the limit, while the requested pixels stayed fixed. Passing bytes and pixels in the other examples does not establish legibility or portal acceptance. Full measurements and settings · Method and reusable sample files.
Your file-size limit
Choose 20, 50, 100, or 200 KB, or enter another maximum. Add a minimum if the form asks for a range.
Exact pixels when needed
Enter both width and height to keep the result at those dimensions. Leave them blank to allow smaller dimensions.
Choose what fits
Keep the whole image with white padding, or fill the frame with a center crop. Neither option stretches the image.
Check the actual result
See the encoded JPG in bytes, KB, and pixels. A missed requirement is shown clearly.
Questions about resizing to KB
How do I resize an image to 20 KB, 50 KB, 100 KB, or 200 KB?
Choose an image and select a maximum-size preset, or type your own KB limit. Enter pixel dimensions only if required, then select Resize and check. The tool tries JPEG quality settings and can reduce dimensions when you leave them blank.
Does 20 KB mean exactly 20,000 bytes?
On this tool, 1 KB means 1,000 bytes, so a 20 KB maximum means no more than 20,000 bytes. Some forms use 1,024 bytes per KB instead. Check the portal instructions; the result shows an exact byte count. A maximum is a ceiling, not a promise to produce exactly that many bytes.
Can I set a minimum and maximum file size?
Yes. Enter a minimum when the form asks for a range such as 10–20 KB. If no tested JPEG encoding fits that range, the result is marked as not met. The tool never appends meaningless bytes to make a small file look larger.
What if the image cannot fit at the required dimensions?
With exact width and height set, the tool keeps those pixels and reports a missed file-size requirement. It never silently reduces fixed dimensions. You can review the best attempt, choose a simpler source, or change the requirements only if your upload form allows it.
Will resizing guarantee that a photo or signature is accepted?
No. This tool checks file size and dimensions, not identity, signature validity, framing, background, or application eligibility. Review the preview and the current instructions for your specific form. A live-photo or certified-photo step needs the required capture process.
What happens to transparency, animation, and metadata?
The result is one JPG. Transparent areas become white, animated WebP or AVIF uses one decoded frame, and embedded metadata is not preserved. JPEG compression can remove detail; inspect small text and signature strokes before downloading.