Free browser tools — processed on your device, nothing uploaded

Resize image to exact pixels

🔒 This tool runs entirely in your browser. Your files are not uploaded to any server.

Choose photos → set width × height → export

Force JPG / PNG / WebP to an exact pixel size (center-crop or pad). Optional KB cap. Same local engine as compress to KB and Chinese 精确改像素.

Quick caps:

Fill only width or only height to keep aspect ratio. Leave both blank to keep original pixels (the tool may shrink pixels if a Max KB still cannot be met).

Paste a requirement text to auto-fill pixels / KB

Choose an image

This page only changes pixels and optional file size. It does not recolor backgrounds or check pose.

Chinese counterpart: 图片精确改像素. Related: compress to KB · US passport photo.

What this does

Forms often demand an exact width × height (for example 600×600 or 1920×1080). This page uses the same local compressor as our other English image tools: it draws to a canvas at your target size (crop or pad), then optionally binary-searches JPEG quality under Max KB. 1 KB = 1000 bytes.

How to use

  1. Choose one or more images.
  2. Pick a common size or type width and height. Optional: set a Max KB.
  3. Choose crop vs pad if both sides are set, then tap Resize now.

FAQ

Is my photo uploaded?

No. Resizing runs in your browser.

Crop vs pad — which should I use?

Crop fills the exact box and may cut edges. Pad keeps the whole image and adds white bars. Forms that reject letterboxing usually want crop.

Can I also cap file size?

Yes. Set Max KB (and optional Min KB). Output is JPG. 1 KB = 1000 bytes.

Does this change the background color?

No. Pad only fills empty margins with white after fitting; it does not replace an existing backdrop.

Ad slot (reserved)