How to Round the Corners of an Image and Keep Them Transparent

Give images rounded corners that stay transparent on any background. Learn which radius to use, why JPG corners turn white, and when CSS is the better option.

Updated September 29, 2026 5 min read

Use the free Round Image CornersGive images rounded corners, per corner if needed, as a transparent PNG

Rounded corners soften an image and make it look like part of a modern interface: a card in an app, a thumbnail on a landing page, a photo in a slide deck, a product image in an email. It sounds like the simplest edit imaginable, yet it trips people up constantly. The corners come out white on a dark background, the radius looks different on each image, or the rounding disappears when the file is uploaded.

This guide explains what actually happens at a rounded corner, which format keeps it working, how to choose a radius that looks consistent, and when you should not edit the image at all.

What rounding a corner really does

An image file is always a rectangle. You cannot make the file itself curved. What a rounded-corner tool does is make the pixels outside the curve transparent. The rectangle is still there; its corners are simply see-through, so whatever sits behind the image shows through.

That has two consequences:

  1. The format must support transparency. PNG and WebP do. JPG does not, so a JPG has to fill the corners with a solid colour, usually white or black. On a matching background that looks fine; anywhere else, the illusion breaks.
  2. Edges need smoothing. A good tool anti-aliases the curve, making the edge pixels partly transparent so the arc looks smooth rather than stair-stepped.

Choosing a radius

Pixels or a percentage?

A radius in pixels means the same absolute curve on every image. That is right when all images are displayed at the same size, such as thumbnails in a grid.

A radius as a percentage of the shorter side means the same proportion on every image, regardless of resolution. That is usually better when images come from different sources and will be shown at different sizes, because a 20 px radius looks generous on a 300 px thumbnail and barely visible on a 4000 px photo.

Useful reference points

Look Radius (% of shorter side)
Subtle softening for photos and cards about 3-5%
App-icon style squircle-ish rounding about 20-23%
Pill (on a wide image) or circle (on a square one) 50%

At 50%, a square image becomes a circle, and a rectangle becomes a pill with fully rounded ends. For a proper circular avatar with cropping and positioning, use Circle Crop Image instead.

Different radius per corner

Sometimes only some corners should be rounded: the top corners of an image that sits on top of a card, or one corner in a speech-bubble style graphic. That requires setting each corner separately.

Round corners in your browser

The Round Image Corners tool makes the corners transparent on your own device.

  1. Open Round Image Corners and drop an image onto the page.
  2. Under Radius unit, choose % of shorter side or Pixels. Switching converts the current value so the look stays the same.
  3. With Same radius for all corners switched on, set the Corner radius slider. Switch it off to set Top left, Top right, Bottom right and Bottom left individually.
  4. Or click a quick preset: Subtle (4%), App icon (22%) or Pill / circle (50%).
  5. Choose PNG or WebP under Save as and click Download image. JPG is not offered, because it cannot keep the corners transparent.

The preview shows a checkerboard in the corners so you can see exactly which areas are transparent.

Other ways to get rounded corners

CSS on a website

If the image only appears on your own web page, you do not need to edit it. The CSS property border-radius rounds any image in the browser, and overflow: hidden on a container rounds everything inside it. This keeps the original file flexible and lets you change the radius later site-wide. The Border Radius Generator helps you build the rule, including different radii per corner.

Presentation and document software

PowerPoint, Keynote and Google Slides can crop an inserted picture to a rounded rectangle shape. Like CSS, the rounding exists only inside that file, which is perfect for slides.

Design and photo editors

Figma, Canva, Photoshop and GIMP can round corners through shape masks or selections. They are the right choice if you are already designing a larger layout.

Command line

ImageMagick can create a rounded mask and apply it, but it takes several commands and a bit of trial and error. For one-off images, a visual tool is faster.

When editing the file is the better option

Edit the file itself when the image will be uploaded somewhere you cannot control with CSS: email newsletters (many email clients ignore border-radius), marketplaces, chat apps, slide decks you send to others, or documents that will be converted to PDF.

Tips and troubleshooting

Corners turn black or white after uploading

The site probably converted your PNG to JPG. Check whether the platform supports transparent images. If not, add a background colour that matches where the image will appear, for example with Add Border to Image, which also offers rounded frames with a solid or gradient fill.

Rounding looks uneven between images

Use the percentage unit so every image gets the same proportion of rounding, and make sure the images are shown at similar sizes.

The file got bigger

PNG is lossless, so a photo saved as PNG is often larger than the JPG it came from. WebP keeps transparency and is usually much smaller. If size matters, save as WebP or compress the PNG afterwards with Image Compressor.

A shadow would help

Rounded images on white backgrounds can look flat. A soft drop shadow lifts them off the page; the border tool's Drop shadow option or a CSS box-shadow can add one.

Frequently asked questions

How do I round the corners of an image?

Make the pixels outside a curved corner transparent and save the result as PNG or WebP. A rounded-corner tool does this automatically with a radius you choose.

Why are my rounded corners white?

The image was saved as or converted to JPG, which cannot store transparency, so the corners were filled with a colour. Save as PNG or WebP and check that the platform keeps the format.

What corner radius do app icons use?

Platforms apply their own icon masks, and their exact shapes vary, so check the current official design guidelines for each platform. For a similar look in a general graphic, a radius of about 20-23% of the side is a common approximation.

Can I round just one or two corners?

Yes. Switch off the same-radius option and set each corner separately, leaving the others at zero.

Should I round images in CSS or edit the file?

Use CSS for images on your own website, since it is flexible and keeps originals intact. Edit the file for email, marketplaces, chat apps and documents where you cannot control styling.

Try it now: Round Image Corners

Loading tool…