DevTools Pro · All tools · About

Device Mockup Generator

About the Device Mockup Generator

This device mockup generator places your screenshot inside an iPhone, iPad or MacBook frame and exports it as a PNG on a background color you choose. It is a quick way to present an app or website design without opening Figma or Photoshop.

What screenshot size fits each device?

Each frame has a fixed screen area, and your image is scaled to fill it, then cropped from the center if the proportions differ. Matching the aspect ratio avoids losing anything important at the edges.

iPhone: a tall portrait screen of roughly 9:19.5, the same shape as a modern iPhone screenshot such as 1179×2556. iPad: portrait, close to 3:4, like 1640×2360. MacBook: a wide landscape screen of about 1.86:1, so a 1920×1032 browser capture fits better than a full 16:10 screen.

Export size and quality

Downloads are rendered at 2x scale with 48 px of padding around the device, giving 832×1472 px for iPhone, 1032×1352 px for iPad and 1392×992 px for MacBook. That is sharp enough for slides, README files and social posts.

Use a screenshot at least as large as the export screen area (around 1080 px wide for phones) so the image inside the frame is not upscaled and blurry.

Choosing a background color

The default #f3f4f6 light gray works on most pages. For a dark-mode app, a deep background such as #111827 keeps the focus on the screen. Matching your brand color is common for marketing images, as long as it contrasts with the device bezel.

You can type any hex value into the text box next to the color picker, which is handy when you need an exact brand color.

How to Use the Device Mockup Generator

  1. Pick iPhone, iPad or MacBook from the Device Type menu.
  2. Click Choose File under Upload Image and select your screenshot.
  3. Set a Background Color with the picker or type a hex code such as #0f172a.
  4. Check the result in the Preview panel and switch devices if the crop does not look right.
  5. Click Download Mockup to save the PNG, or the reset button to clear the image and settings.

Frequently Asked Questions

Are my screenshots uploaded anywhere?
No. The image is read in your browser and the mockup is rendered to a canvas on your device. Nothing is sent to a server.
Why is part of my screenshot cut off?
The image fills the device screen and is cropped from the center when its proportions differ. Use a screenshot with the same aspect ratio as the device to avoid cropping.
Can I download the mockup with a transparent background?
No. The PNG is always filled with the background color you choose. Pick a color that matches where the image will be placed.
Which device models do the frames represent?
They are generic, stylized frames inspired by a recent iPhone, iPad and MacBook rather than exact replicas of a specific model.
Can I rotate the device or show it at an angle?
Not currently. Frames are shown straight on, in portrait for iPhone and iPad and landscape for MacBook.

Related tools