Rounded Corners
Give any image smooth, rounded corners. Drag the radius slider to adjust the curve, or enable per-corner mode to set each corner independently. The live preview updates instantly. The result is exported as a PNG with a transparent background around the corners.
Drop your image here
or click to browse · any format · exports as PNG
All processing happens locally in your browser. No files leave your device.
How to add rounded corners to an image
- 1
Upload your image
Drop a JPEG, PNG, or WebP file onto the upload area, or click to browse. A preview appears immediately.
- 2
Set the corner radius
Drag the radius slider from 0% (sharp square) to 50% (pill shape or circle). The preview updates in real time. Toggle independent corners to set a different radius for each of the four corners.
- 3
Download as PNG
Click Apply Rounded Corners to process the image using the Canvas API. The output is a PNG with a transparent background where the corners were clipped.
Understanding the radius values
The radius is expressed as a percentage of the shorter side of the image. At 12%, a 1000×800 image gets a corner radius of 96px (12% of 800). At 50%, both dimensions are equally rounded, producing a pill or circle depending on the aspect ratio. This percentage approach ensures the rounding scales proportionally regardless of the image size.
In independent corner mode, each of the four corners can be set separately. This makes it easy to create flat-on-one-side layouts, diagonal cuts for banner design, or purely decorative asymmetric shapes.
Why the output is always PNG
JPEG does not support transparency. When corners are clipped, the area outside the rounded shape becomes transparent. PNG is the only common web format that can represent this transparency correctly. If you place the resulting image on a web page or presentation, the transparent corners will show the background behind the image rather than a white or black fill.
Frequently asked questions
Does the CSS preview exactly match the exported PNG?
The CSS preview uses border-radius as a percentage, which is a good approximation of the export. The actual export uses canvas.roundRect with exact pixel radii calculated from the same percentage, so the result is very close. Slight differences can appear because CSS border-radius uses different calculations for non-square images.
Can I get a circular crop?
Set the radius to 50% on a square image to produce a perfect circle. On a non-square image, 50% creates a pill shape. Crop your image to a square first using the Image Cropper tool, then apply a 50% radius here.
Will my image lose quality?
The image is drawn to a canvas and re-encoded as PNG, which is lossless. There is no quality reduction beyond the single re-encoding step.
What if I want to keep JPEG format?
JPEG does not support an alpha channel, so rounded corners cannot be stored in JPEG. To use a JPEG, place the exported PNG on any background colour, then save that composite as JPEG.
Is there a file size limit?
No hard limit. The Canvas API works entirely in the browser and is limited only by available memory. Very large images (20+ megapixels) may take a few seconds to process.
