Skip to content
Free ToolUtilities

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 free

Browser 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.

Choose an image to start.

How to letterbox or pillarbox an image

1

Upload an image

Choose a JPEG, PNG, or WebP file from your device.

2

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.

3

Download

Pick a bar color, preview the exact added padding, and download the new no-crop image.

Features

1

No-crop padding

Expands width or height to match the target aspect ratio while keeping the full original image.

2

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.

3

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 Enhance

Specifications

ProcessingBrowser canvas
UploadsNone
OutputPNG, 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 Eraser