Round image corners for a website by choosing a JPG, PNG, or WebP, setting a radius from 1% to 50% of the shorter side, and downloading a same-size PNG with transparent corners.

This creates a web asset whose rounded shape is already part of the image file. The transparent corners reveal the page, card, or container behind it. The workflow applies one equal radius to all four corners while preserving the source dimensions.

round image corners for website
Round Image Corners for Website: Full-Size PNG

Round Corners for Website Use

Use this browser-based process when the exported image itself needs transparent, rounded corners rather than a rectangular image styled only when displayed on a page.

  1. Choose the source image. Open Round Image Corners and select a local JPG, PNG, or WebP. The file must be no larger than 25 MiB. Once decoded, the image must also stay within 20,000 pixels per side and 40 megapixels in total.
  2. Set the radius. Move the radius control from 1% to 50%. The percentage is calculated from the shorter side of the image, which keeps the setting consistent across wide, tall, and square sources. The selected value applies equally to every corner.
  3. Create the rounded version. Select Round corners. The tool clips the decoded image to a rounded rectangle on a transparent canvas without cropping, stretching, or reducing the source.
  4. Inspect the result. Review the preview against the background where the image will appear. Although the preview may be scaled for display, the export keeps the natural width and height of the source. The result details report those dimensions, the calculated whole-pixel radius, the output format, and an approximate file size.
  5. Download and publish the PNG. Save the generated file, whose name ends in -rounded-corners.png, and add it to your website as an image asset. You can select a different radius and export again without choosing the original file again.

Changing the file or radius invalidates the previous result, preventing an outdated preview from being mistaken for the current selection.

What Changes in the Downloaded Asset

PropertySource imageDownloaded PNG
Canvas dimensionsOriginal natural width and heightThe same width and height
Corner treatmentExisting source pixels; PNG or WebP sources may already contain rounded-corner transparencyPixels outside the rounded rectangle are transparent
File formatJPG, PNG, or WebPPNG with transparency
ScalingNatural dimensionsNo stretching or reduction; preview scaling does not affect the download
BackgroundExisting source pixelsNo new background is painted behind the transparent corners

The tool changes the corner mask without changing the image canvas. It does not crop the center, stretch the picture, add a border, or place a solid background behind the result. The preview therefore helps judge the shape, while the reported dimensions confirm that the download will retain the source resolution.

PNG is required because JPEG cannot store transparent corner pixels. A JPEG source is decoded and re-encoded as PNG, so its downloaded byte size can increase. Existing transparent pixels in a PNG or WebP source remain available inside the clipped shape, subject to normal browser decoding and PNG encoding.

Calculate the Radius by the Shorter Side

The radius rule is pixel radius = shorter natural image side × selected percentage. For a 400 by 200 pixel image at 25%, that is 200 × 25% = 50 pixels, so all four corners receive a 50-pixel radius.

For a landscape image, the shorter side is normally its height; for a portrait image, it is its width. A square image uses the same length in either direction. The calculated radius is rounded to a whole output pixel, while the canvas retains the original dimensions.

A 1% setting creates a subtle edge-softening effect, while 50% reaches the largest valid rounded-rectangle radius for the shorter side. The tool uses one value for the complete shape; it does not provide separate controls for individual corners.

Place the Rounded PNG on Your Website

Transparent pixels become visible through the image’s rounded outline. On a white webpage, the corners may blend into the page; on a dark card or over a photograph, the same PNG can look deliberately framed. Always inspect the preview on the background you intend to use.

  • Keep the original dimensions. The exported PNG matches the source width and height, which helps prevent unexpected layout changes when it replaces the original file.
  • Retain PNG format. Saving the result as JPEG removes the ability to store transparent corners, so choose PNG for the published asset.
  • Check the final page. After uploading through a website editor or content system, verify that the displayed dimensions and transparent corners still match the preview.
  • Layer a background when needed. The tool leaves the corners transparent rather than filling them with a brand color. Place the PNG over a colored section or add a separate background layer if a solid backdrop is required.

This file-based method differs from styling a rectangular image with CSS border-radius. CSS rounds the image at display time, while the downloaded PNG contains transparent rounded pixels in the asset itself. The PNG approach is useful when the rounded shape needs to remain with the file in a media library or elsewhere.

File Limits and Errors to Check

RequirementSupported value
Input typeLocal JPG, PNG, or WebP
Maximum file size25 MiB
Maximum decoded side20,000 pixels
Maximum decoded total40 megapixels
Radius range1–50% of the shorter side
OutputSame-size PNG with transparent rounded corners
Processing locationCurrent browser tab; the file is not uploaded

Invalid or 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. The tool does not quietly shrink or crop an oversized image to force it through the browser limits.

When multiple changes are made, the current file and radius remain authoritative. A stale asynchronous export cannot overwrite a newer selection, so download only after the preview and result details reflect the version you want to publish.

Local Processing and File Tradeoffs

File decoding, clipping, PNG encoding, previewing, and download creation all happen locally in the current browser tab. The selected image is not uploaded to a server, which avoids sending a private or unreleased website asset through an upload workflow.

Local processing does not make the exported file identical to the source file. The result is newly encoded from canvas pixels, so original EXIF metadata is not preserved. This matters for photographs that contain camera, capture, location, or orientation metadata; copy any metadata you need to retain separately before publishing.

Because a JPEG source must become a transparent PNG, its output can also be larger than the original JPEG. That increase reflects the change in format and pixel encoding, not an attempt by the tool to resize the picture. Check the approximate size shown in the result details before downloading.

Know When a Layered Editor Is Better

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 the design needs different radii on different corners, a custom shape, non-destructive adjustments, or a broader collection of effects. The browser workflow is better suited to a straightforward website asset that needs transparent rounded corners while keeping its original canvas size.

Final Checks Before Publishing

  • Confirm that the reported output width and height match the source dimensions.
  • Check the calculated whole-pixel radius on the intended page background.
  • Make sure the downloaded format is PNG and review its approximate file size.
  • Verify the corners again after any website-editor processing.
  • Re-export after changing the file or radius so the downloaded file reflects the latest preview.

For a deeper look, see SVG to PNG for Instagram: A Practical Upload Guide.

For a deeper look, see Black and White Photo Converter to 200KB: Size and Format.