Screenshot Mockup Generator
Drop, paste or choose a PNG, JPG, WebP, GIF or SVG screenshot and this tool places it on a padded canvas with a gradient or solid background, rounded corners and a soft drop shadow. It is the plain "image on a colored backdrop" look you see in changelogs, docs and social posts. Everything is drawn on a canvas element in your browser and nothing is uploaded. The downloaded PNG is the screenshot's own pixel size plus the padding on every side.
How to frame a screenshot
- Press Choose screenshot, drop an image anywhere on the page, or paste one with Ctrl+V. A sample screenshot is loaded until you do, so the preview and the download work from the start.
- Move Padding (20 to 120 px) to set how much background shows around the image, and Corner radius (0 to 40 px) to round its corners. The preview redraws as you move each control.
- Pick a Background: one of four two-color gradients or a solid dark gray. Shadow intensity (0 to 100) sets how dark the soft drop shadow under the screenshot is. It works with any corner radius.
- Pick 2x or 3x in Screenshot scale for a screenshot taken on a Retina or HiDPI screen, so the padding, radius and shadow match what you see. Export size shows the exact pixel size of the PNG.
- Click Download mockup to save a PNG named
mockup_plus a timestamp. Use sample screenshot goes back to the built-in sample.
Why the padding is measured in source pixels
The canvas is sized to the image's natural width and height plus twice the padding, and the screenshot is never scaled. A 1600 by 900 screenshot with 60 px of padding exports at 1720 by 1020. The preview is that same canvas scaled by CSS to the column width, so a 60 px margin looks smaller on screen than the number suggests when the screenshot is large.
Padding, radius and shadow are measured in output pixels, so they depend on the capture's pixel density. The same window captured at 1x and at 2x gets half the visual padding at 2x unless you set Screenshot scale to 2x, which doubles all three. A transparent PNG keeps its transparency: the background shows through and the shadow follows the opaque pixels. This is a flat frame, not a device mockup. There is no browser chrome, window buttons or perspective. If you need those, use the PNG as a layer in a design app.