Screenshot Beautifier
Put a screenshot on a gradient or solid background with padding, rounded corners, a soft shadow and an optional window title bar, on a free-size or fixed 16:9, 1:1 or 4:5 canvas, ready for posts, slides and docs.
How to Use
- Paste a screenshot (Ctrl + V), drop it on the box or click to browse. A sample dashboard screenshot is framed first.
- Choose the background: a two-colour gradient with its angle, a solid colour, or transparent.
- Set the padding, corner radius and shadow, and add a light or dark window title bar if you like.
- Pick a canvas shape: Auto fits the screenshot, or 16:9, 1:1 and 4:5 for social posts. Use Scale to make the screenshot itself larger or smaller.
- Check the size and shape in the readouts, then choose a format and download. PNG keeps text in the screenshot sharp.
Worked Example
The 800 × 500 sample with the default frame. 64 px of padding on every side gives 800 + 2 × 64 = 928 by 500 + 2 × 64 = 628 px, a 232:157 shape. The 135° gradient runs from the top-left to the bottom-right corner: its direction is (sin 135°, −cos 135°) = (0.7071, 0.7071) and its length is |928 × 0.7071| + |628 × 0.7071| = 1100.3 px, so the corners get exactly the first and last colours, as the same CSS gradient would.
The "X post" preset. At 150% the screenshot is 1200 × 750 px, and the light title bar adds 36 × 1.2 = 43 px, so the content is 1200 × 793. With 50 px of padding that is 1300 × 893, narrower than 16:9, so the height is rounded up to 900 (a multiple of 9) and the width becomes 900 ÷ 9 × 16 = 1600: exactly 1600 × 900, with the extra space split evenly left and right.
The common mistake: stretching to fit the shape. Forcing a 928 × 628 picture into 1600 × 900 by resizing both sides independently would stretch it 1.72× sideways but only 1.43× up, distorting every letter. Here the screenshot keeps its own proportions and only the background grows to the new shape. The second mistake is saving as JPEG: small text in a screenshot picks up visible ringing, so use PNG or lossless WebP.
Show Work
Formulas
How the Frame Matches CSS
The CSS Images specification defines linear-gradient() by an angle and a gradient line through the centre of the box. 0deg points up and angles turn clockwise, and the line's length, |W sin θ| + |H cos θ|, is chosen so that the lines perpendicular to it through two opposite corners mark 0% and 100%. A browser drawing the same gradient behind a 928 × 628 element produces the same colours as this tool, which makes it easy to match a frame to a website's own styles.
Shadows use the canvas shadowBlur property, which the HTML standard specifies as a Gaussian blur with a standard deviation of half its value; CSS box-shadow uses the same relation for its blur radius. The rounded corners are drawn with circular arcs, so a 14 px radius here looks like border-radius: 14px in CSS.
About This Tool
This tool frames a screenshot on a gradient, solid or transparent background with padding, rounded corners, a Gaussian shadow and an optional light or dark title bar, on a canvas that fits the screenshot or has an exact 16:9, 1:1 or 4:5 shape. Show Work gives the canvas arithmetic and the gradient line, and the result can be saved in any format the site's image engine writes.
Screenshots are decoded and framed in your browser and nothing is uploaded. Settings can go in the page address, for example ?aspect=16:9&frame=dark&angle=90.
Related tools: Round Corners, Border & Shadow, Social Media Image Sizer, and Image Text Overlay.
Frequently Asked Questions
What does the gradient angle mean?
It follows CSS linear-gradient(): 0° runs from bottom to top, 90° from left to right and 135° from the top-left corner to the bottom-right. The gradient line is |W·sin θ| + |H·cos θ| long, which places the first and last colours exactly in the corners, so the result matches the same gradient written in CSS.
What size should a framed screenshot be?
Match where it goes: 16:9 such as 1600 × 900 for X and most slides, 1:1 (1080 × 1080) or 4:5 (1080 × 1350) for Instagram, around 1200–1600 px wide for blog headers. Choose the shape here and adjust Scale until the readout shows the size you need; the shape is kept exact by growing the canvas in whole multiples of the ratio.
Will the text in my screenshot get blurry?
Not at 100% scale: the screenshot pixels are copied one to one and only the frame is added. Scaling up or down resamples the screenshot, which softens small text slightly, so prefer a larger original over a scale above 100%. Save as PNG; JPEG adds blur around text.
How is the shadow made?
The window shape is drawn once with a canvas shadow, which the HTML standard defines as a Gaussian blur with σ equal to half the blur value, offset downwards and drawn in black at the chosen opacity. The screenshot is then drawn on top, clipped to the rounded corners, so the shadow only shows around it.
Is my screenshot uploaded?
No. Framing happens on a canvas in your browser, so internal dashboards, unreleased features and private messages stay on your device.
How do I use the Screenshot Beautifier?
Simply type your numbers and read the result, which refreshes the instant you change something. There is nothing to submit and nothing to wait for.
Is it free? Does it work without internet?
Yes to both. It is free with no sign-up, and once the page has loaded it keeps working even with no internet.
Where does my data go?
Nowhere — every calculation runs on your own device. Nothing you enter is uploaded, logged, or stored.
Common Use Cases
Posts on X
An 800 × 500 screenshot at 150% with a 50 px border and a title bar becomes exactly 1600 × 900, a 16:9 image.
Instagram squares
The same screenshot at 120% on a 1:1 canvas comes out 1080 × 1080, with the gradient filling above and below.
Docs and READMEs
A transparent background with a 40 px shadow sits on any page colour; save as PNG to keep the transparency.
Slides
A dark title bar and a graphite background frame a terminal screenshot for a 16:9 presentation slide.
Last updated: