WEB TOOLS

Image Cropper

Crop images and export them with the aspect ratio or output size you need.

Your files are not uploaded to a server. All processing is performed locally in your browser.

Crop Ratio

Drop an image here

or

JPG, PNG and still WebP · 30 MiB per file · 8,192px per side · 40 million pixels

You can also paste an image with Ctrl / ⌘ + V.

Add an image to adjust the crop area here.

About image cropping

Keep only the part of a JPG, PNG, or WebP image you need. Move the crop frame and resize it from any edge or corner while viewing the image.

When this tool is useful

Crop square images for social posts or wide thumbnails for websites while keeping only the part you need. Use the Image Resizer to change overall dimensions without cropping.

How to use

  1. Add an image.
  2. Choose a ratio preset or custom crop size.
  3. Move and, outside Custom Size mode, resize the crop frame.
  4. Focus the crop frame: arrow keys move it by one source pixel, Alt + arrows resize it, and Shift increases steps to ten pixels. Reset the area if needed.
  5. Choose save quality for JPG/WebP, check the cropped preview, then download.
  6. Use Clear all to remove the image and reset all editing settings. Reset crop area only restores the selection frame.

Aspect ratios

Free mode lets width and height change independently. Choose 1:1, 4:3, 3:2, 16:9, or Original Ratio to keep that ratio while resizing the frame.

Custom crop size

Specify the crop size in original-image pixels, then move the fixed-size crop area to choose what to keep. Initial values larger than the current image are reduced to fit. The selected pixels are exported without an additional resize.

Preview, quality and filename

The scaled-down crop preview helps check composition but does not reproduce final encoded quality or file size. JPG defaults to quality 92, WebP to 90; you can choose 50–100 for either format. PNG is unaffected. Saved filenames receive a _cropped suffix.

Paste an image

Use Ctrl / Cmd + V to paste a copied still JPG, PNG or WebP. Normal paste in text fields is left alone, and pasted files undergo the same validation as chosen files.

Transparency

PNG and WebP transparency is preserved where possible. JPG does not support transparency, so its output is opaque.

Supported files, limits and metadata

Crop one still JPG, PNG or WebP at a time. Input files must be at most 30 MiB, source and output images must stay within 8,192 pixels per side and 40 million pixels, and exports must be at most 150 MiB. Animated WebP is not supported. Re-encoding through Canvas does not guarantee retention of Exif, GPS or other metadata.

Your image is not uploaded

The image is decoded, cropped, and exported in your browser. tools.yayao.site does not receive or store it.

FAQ

Which formats are supported?

JPG, JPEG, PNG, and WebP.

Does the output format change?

No. The original format is preserved.

Can I lock the aspect ratio?

Yes. Choose 1:1, 4:3, 3:2, 16:9, or Original Ratio.

Can I crop at a free ratio?

Yes, in Free mode.

Can I specify the output size?

Yes. Enter a width and height in Custom Size mode.

What happens in Custom Size mode?

The frame uses the exact width and height in original-image pixels. Move the fixed-size frame to select the crop position.

Is PNG or WebP transparency preserved?

Yes, where possible.

Can JPG preserve transparent pixels?

No. JPG has no transparency and the cropped JPG output is opaque.

Can I process multiple images together?

No. This tool is designed to compose and crop one image at a time.

Is my image uploaded?

No. Processing takes place locally in your browser.

Does the preview show the final encoded quality?

No. It is a scaled-down composition preview; quality and file size depend on the export encoder.

Can I adjust export quality?

Yes, from 50 to 100 for JPG and WebP. PNG is unaffected.

Can I paste a copied image?

Yes. Use Ctrl / Cmd + V for a still JPG, PNG or WebP.

What are the image size limits?

Input files must be within 30 MiB and 8,192 pixels per side / 40 million pixels. Exports must be within 150 MiB.

Can I crop an animated WebP?

No. This tool supports only still images.

Will Exif or GPS metadata be preserved?

Retention of Exif, GPS or other source metadata is not guaranteed when the image is re-encoded with Canvas.