Skip to content

Round Image Corners

Round the corners of a local JPG, PNG, or WebP with a precise 1–50% radius and download a full-resolution PNG.

Privacy: your files never leave your device. All processing happens locally in your browser.

How to use

  1. 1.Choose a local JPG, PNG, or WebP within the displayed file and pixel limits.
  2. 2.Set the radius from 1% to 50% of the image's shorter side.
  3. 3.Select Round corners, inspect the same-size PNG preview, and download it.

About Round Image Corners

Round Image Corners turns a local JPG, PNG, or WebP into a same-size PNG with transparent rounded corners. Choose an image, move the radius control from 1% to 50% of the shorter image side, create the result, inspect the preview, and download it. The file is decoded, clipped, encoded, and held entirely in the current browser tab.

The percentage is deliberately based on the shorter side. For a 400 by 200 pixel image, a 25% choice creates a 50 pixel corner radius. For a portrait image, the same rule uses its width. This makes the control predictable across wide, tall, and square sources. The radius is rounded to a whole output pixel, while the canvas keeps the source's original width and height.

Rendering uses one natural-size canvas. The tool clears that canvas to transparency, creates a rounded-rectangle clipping path, draws the decoded source once at its original dimensions, and exports PNG. It does not shrink the displayed preview and then export that reduced preview. It also does not crop the center, stretch the image, add a border, or paint a background behind the transparent corners.

Input is limited to JPG, PNG, or WebP files no larger than 25 MiB. Decoded images must also stay within the shared browser safety budget of 20,000 pixels per side and 40 megapixels total. Invalid files, empty files, unsupported types, decode failures, unavailable canvas support, invalid radius values, and failed PNG encoding produce visible errors instead of a silent or partial download.

Changing the file or radius invalidates the previous result. Temporary Object URLs are revoked when they are replaced or when the component closes, and a stale asynchronous export cannot overwrite a newer choice. The output name ends in -rounded-corners.png, making the format change and transformation clear.

PNG is required because JPEG cannot store transparent corners. A JPEG source is therefore decoded and re-encoded, so its output byte size can increase and original EXIF metadata is not preserved by the canvas export. Existing transparent pixels in PNG or WebP sources remain available within the clipped shape, subject to normal browser decoding and PNG encoding.

The preview is scaled only for display and does not determine the downloaded resolution. A 1% setting produces a subtle edge softening, while 50% reaches the largest valid rounded-rectangle radius for the shorter side. The result line reports source-matching dimensions, the computed whole-pixel radius, output format, and approximate file size. These values make it possible to verify that a landscape or portrait file was not silently resized. Users can repeat the export with another radius without re-uploading anything.

This focused tool handles one image and one equal radius for all four corners. It does not offer separate corner radii, masks, circles, decorative frames, shadows, gradients, batch processing, print color management, metadata retention, or lossless JPEG editing. Use a layered desktop editor when those controls or a reversible source file are required.

Methodology & sources

Validate a bounded local JPG, PNG, or WebP; parse a whole-number radius from 1 to 50 percent; calculate the pixel radius from the shorter natural dimension; preserve the natural canvas dimensions; clear to transparency; clip a rounded rectangle; draw the decoded source once without scaling; encode PNG; reject empty output; guard asynchronous jobs; and revoke replaced Object URLs.

Frequently asked questions

Does rounding resize or crop the image?
No. The output keeps the source width and height and only makes the pixels outside the rounded rectangle transparent.
Why is the download a PNG?
PNG can store transparent corner pixels; JPEG cannot.
Is my image uploaded?
No. File decoding, clipping, PNG encoding, preview, and download creation happen locally in the browser.
Will EXIF metadata be kept?
No. Browser canvas export creates new PNG pixels and does not copy source metadata.

Image Tools guides

View all