Add PNG Border
Upload a PNG and add a customizable border around it. Adjust border width, color, and corner radius. Canvas expands to fit the border.
Border Settings
Original
With Border
Drop a PNG, pick your border width, color, corner radius, and style — the canvas expands automatically so your original stays pixel-perfect in the center. Solid, dashed, or dotted. And everything runs in your browser. Nothing gets uploaded.
How It Works
When you upload a PNG, the tool reads its dimensions and creates a new canvas that’s wider and taller by twice your border width. It draws the border color first (as a filled or stroked rounded rectangle depending on your style choice), then composites your original image centered on top. The output is a new PNG with the border baked in — no layers, no transparency issues.
Examples
App Screenshot for a Blog Post
You grabbed a screenshot of your app’s dashboard and want a thin dark frame around it before embedding in a tutorial.
dashboard.png (1280 x 720 px)
Border: 4px solid #333333
Radius: 8px
bordered-dashboard.png
1288 x 728 px
Subtle dark frame with rounded corners
Logo with Thick White Border for Social Media
Your brand logo sits on a dark background on Instagram. Adding a white border makes it pop without opening Photoshop.
logo.png (500 x 500 px)
Border: 20px solid #FFFFFF
Radius: 0px
bordered-logo.png
540 x 540 px
Clean white frame, sharp corners
Dashed Border on a Product Mockup
A designer needs a dashed red border around a product render for a pitch deck slide — the kind of thing that screams “placeholder” in the right context.
mockup.png (800 x 600 px)
Border: 6px dashed #E53E3E
Radius: 12px
bordered-mockup.png
812 x 612 px
Red dashed border with rounded corners
Who Uses This
Framing screenshots for docs, READMEs, and bug reports so they stand out from the page background.
Quick mockup borders for presentations without round-tripping through Figma or Photoshop.
Adding branded color borders to post images and profile graphics in under 30 seconds.
Putting borders on diagrams and charts before pasting into reports and presentations.
Common Mistakes
A 50px border on a 100x100 icon makes the border wider than the image itself. Keep border width under 25% of your smallest image dimension for a balanced look.
This tool accepts PNG files. If you upload a JPEG, it won’t process. Convert your image to PNG first using any converter tool, then come back here.
The border expands the canvas outward — it does not paint over your image edges. If you actually need an inset border, you’d need a different approach. This tool always preserves the full original image.
Technical Details
- Processing: 100% client-side (Canvas API)
- Input Format: PNG only
- Output Format: PNG
- Border Styles: Solid, dashed, dotted
- Max Border Width: 100px
- Browser Support: Chrome, Firefox, Safari, Edge
Frequently Asked Questions
Does the border expand the canvas or crop the image?
It expands the canvas. If your image is 800x600 and you add a 10px border, the output is 820x620. Nothing gets cropped or scaled — your original stays pixel-perfect in the center.
Can I add a border to a JPEG or WebP image?
This particular tool is built for PNGs. If you have a JPEG or WebP, convert it to PNG first (we have a converter for that), then add your border here. The output will always be PNG regardless.
Is my image uploaded to a server?
No. The entire process happens in your browser. Your PNG is read locally, drawn onto an HTML5 canvas, and the result is generated right there on your device. Nothing is ever sent to any server.
What border styles are available?
Three styles: solid, dashed, and dotted. Solid fills the border area completely. Dashed gives you evenly spaced line segments. Dotted creates a series of small dots. All three work with any color and corner radius you pick.
Can I add rounded corners to the border?
Yes — use the corner radius slider. Set it to 0 for sharp corners or slide it up for softer, rounded edges. The radius applies to both the outer border edge and the inner image clip so everything looks consistent.