# Add a Border to an Image

Add a border to an image: pick a color, set the thickness and round the corners.

Page: https://easy-edits.com/image-border. Runs in the browser; files are not uploaded.

## How to add a border to an image

1. Upload an image.
2. Pick the border color.
3. Set the thickness: a few pixels to define an edge, more for a framed look.
4. Raise the radius to round the corners.
5. Download as PNG, JPG, WebP or SVG.

## Tips

- A 1 to 3 pixel light gray border keeps a screenshot from blending into a white page.
- Rounded corners leave transparent notches. Download PNG or WebP to keep them transparent.

## FAQ

### Does the border go around the image or over it?

Around it. The canvas grows by the border thickness, so nothing is covered.

### Can I make rounded corners without a visible border?

Yes. Set the radius, set the thickness to 0, and download PNG or WebP.

### What border color looks right?

White for a print look, light gray to define a screenshot's edge, or a strong color picked from the photo.

### Which download format should I use for rounded corners?

PNG or WebP. JPG fills the corners with white.

## For AI agents

In-page tools (WebMCP and `window.easyEdits`): `load_image`, `set_image_border`, `export_image`.

Local MCP server (`claude mcp add easy-edits -- npx -y easy-edits-mcp`): `add_image_border`.

## Guides

- [Transparent Backgrounds: How They Work and Which Formats Keep Them](https://easy-edits.com/image-transparency-explained.md): How alpha transparency works, why transparent images turn white or black when saved as JPG, and how to avoid halos and jagged edges in cutouts.
- [Image Sizes and Aspect Ratios for Social Media: A Practical Guide](https://easy-edits.com/social-media-image-sizes.md): Common social-media aspect ratios, safe areas for text, and a workflow for preparing one photo in several formats.
