Letterbox or pillarbox an image to any ratio
Upload a photo, choose a preset or custom target ratio, and add centered bars around the image without cropping. Use black, white, or brand-color padding while processing stays local in your browser.
Use this tool freeBrowser tool
Letterbox/pillarbox tool
Runs locally in your browser. The selected image is not uploaded by this tool.
JPEG, PNG, and WebP are supported by default. Specialized converters restrict the file picker to their required input format.
How to letterbox or pillarbox an image
Upload an image
Choose a JPEG, PNG, or WebP file from your device.
Set the ratio
Choose a quick ratio such as 1:1, 4:5, 16:9, 4:3, or 21:9, or type a custom ratio.
Download
Pick a bar color, preview the exact added padding, and download the new no-crop image.
Features
No-crop padding
Expands width or height to match the target aspect ratio while keeping the full original image.
Preset ratios and bar colors
Start from square, portrait, story, widescreen, classic 4:3, or cinematic 21:9 ratios, then choose black, white, neutral, or brand-color bars.
Local export
Uses browser File, Canvas, Blob, and object URL APIs only; no upload is required.
After this task
After this free tool, open Ai Enhance for the next AI editing workflow.
Continue with Ai EnhanceSpecifications
| Processing | Browser canvas |
| Uploads | None |
| Output | PNG, JPG, or WebP depending on browser support |
Related Magic Eraser Tools
Common questions
Will this crop my image?
+
No. The tool scales nothing and only adds letterbox or pillarbox padding to reach the target aspect ratio.
Can I choose the bar color?
+
Yes. Use black or white bar presets, choose a neutral preset, use the color picker, or enter a hex color before exporting.
Need to remove objects first?
Open Magic Eraser to clean the image before extending the canvas.
Open Magic EraserMore free tools
Explore our other limited free edits after sign-in photo and image tools.
Design linear, radial, and conic gradients with multiple color stops. Copy the CSS code or download as a PNG image.
Convert colors between HEX, RGB, HSL, HSB, CMYK, and CSS named formats. See a live preview, copy any value, and export a color card.
Convert HEX color codes to RGB values and vice versa. Live preview, one-click copy, and CSS snippet output. works in your browser.
Pick any color from an uploaded image and get its HEX, RGB, and HSL codes instantly. Build palettes from photos for web design, branding, and illustration.
Upload a photo and extract 5-10 dominant colors with HEX, RGB, and HSL codes. Copy swatches, export as ASE or CSS variables.
Generate QR codes for URLs, text, WiFi credentials, and vCards. Customize colors, add a center logo, and download as PNG or SVG.