Prepare a photo for an upload form

An upload can fail even when a photo looks small on your screen. A form may require a JPG, a maximum file size and particular pixel dimensions at the same time. Treat these as three separate checks. This guide shows a repeatable way to prepare the file without overwriting your original.

1. Read the form before editing

Write down the accepted file types, maximum bytes or KB, minimum and maximum width and height, and any shape or background requirement. Follow the receiving service’s instructions. A photo that works on one application may be rejected on another. For identity documents, also check whether editing, cropping or compression is permitted.

RequirementWhat to checkUseful tool
JPG, PNG or WebPThe actual encoded format, not just the filenamePNG to JPG
Width and heightPixel dimensions and aspect ratioResize image
Maximum KBThe downloaded file’s byte sizeCompress to KB

2. Crop and resize only when required

Start with a copy of the best original you have. If a square crop is needed, crop the image before resizing. Keep the aspect-ratio lock enabled when resizing a photo so faces and text are not stretched. A 1200 × 800 photo becomes 600 × 400 when its width is halved; it does not become 600 × 600 without cropping or distortion.

Increasing a tiny photo’s dimensions does not restore detail that was never captured. If the original is unreadable, a better original is usually more useful than more compression or enlargement.

3. Set a maximum size

Open Compress to KB, choose your JPG, PNG or WebP, and select a target such as 20, 50, 100 or 200 KB. Toolin uses 1 KB = 1000 bytes. A 100 KB target therefore means 100,000 bytes. If the form gives a byte limit, compare against that exact number.

The tool creates a JPG. It lowers JPEG quality and may reduce pixel dimensions if quality alone does not meet the target. Transparency becomes a white background. It aims at a file below the limit; it does not add filler bytes to make the file exactly that size. Your original file remains unchanged.

4. Verify the download

Compression may satisfy the KB limit while reducing dimensions below the form’s minimum. If both cannot be satisfied with readable quality, start from a more suitable original or follow the receiving service’s alternative process. A successful download here does not guarantee that an external application will accept the file.

If the form still rejects it

Confirm that the form accepts JPG, and do not change the filename extension as a substitute for conversion. Check whether the error mentions bytes, pixels, shape or content. If you need more control over the tradeoff, use Compress image to choose JPEG quality. This workflow is for images; it does not compress a PDF attachment.

Toolin processes the image in your browser. No sign-up is needed. Keep your original and inspect the output before submitting it.