Canvas Padding and Square Fit

Fit a whole image on a 1080 square or another canvas, then choose padding, alignment and an optional outer frame.

On-device No sign-up Free to use

Add the padding controls

  1. 1 Add files
  2. 2 Arrange/Options
  3. 3 Download

Drop your images here

or choose them from your device

Choose up to 20 JPEG, PNG or WebP images, up to 64 MiB each, 128 MiB and 20 megapixels combined.

    ?

    1080 square fits larger images down. Other ratio modes make the smallest whole-pixel canvas that holds the full image.

    ?

    Applies to an explicit width and height. The 1080 preset always fits down. No part of the picture is cropped.

    ?

    Used only for Solid color padding. JPEG needs solid or blurred padding; transparent padding requires PNG or WebP.

    ?

    Adds a band outside the selected canvas, increasing output size. Rounded also masks photo corners. The reduced preview can differ in fine detail.

    ?

    Band width as a share of the picture's shorter side.

    ?

    Used by the solid and patterned frames.

    ?

    Used only by the patterned frame.

    ?

    Used only by the rounded frame. A share of the padded canvas's shorter side.

    ?

    PNG ignores this setting. All formats are newly encoded.

    Result

    Showing an example.

    Fit a 512 by 512 PNG into a 600 by 600 canvas.

    image-1-padded.png is 600 by 600 pixels, with 44 pixels of transparent padding on every side. The 512 by 512 source image is not scaled.

    Loading the tool. Your result will appear here.

    https://usefreetools.net/canvas-padding-square-fit · 20 November 2026

    Was this helpful?

    How to use Canvas Padding and Square Fit

    1. Choose up to 20 JPEG, PNG or WebP images within the batch limits.
    2. Use the 1080 square preset, another ratio or an entered size. The source is not enlarged; a smaller entered canvas needs fit-down enabled.
    3. Set Image position and transparent, solid or blurred padding. For JPEG, choose solid or blurred padding.
    4. Optionally add a frame band outside the chosen canvas. Rounded photo corners hide corner content; check the reduced preview.
    5. Select Add the padding. Open the individual output or batch ZIP and check actual dimensions, especially if a frame was added.

    Example: Canvas Padding and Square Fit

    Fit a 512 by 512 PNG into a 600 by 600 canvas.

    You add
    image-1.png, a 512 by 512 PNG. Canvas size: Explicit. Canvas width: 600. Canvas height: 600. Image position: Center. Padding background: Transparent. Frame: No frame. Output format: PNG.
    You get
    image-1-padded.png is 600 by 600 pixels, with 44 pixels of transparent padding on every side. The 512 by 512 source image is not scaled.

    Options

    Canvas size
    The default 1080 × 1080 preset fits larger images down without cropping. Other ratio modes retain the smallest whole-pixel canvas that holds the source; an entered size uses your dimensions. Small sources are not enlarged.
    Fit the image down if the entered canvas is smaller
    Only applies to an entered size. The picture is scaled down to fit inside and keeps its shape. Nothing is cropped.
    Image position
    Center splits the free space evenly between opposite sides. Another position pushes all of it to the sides you leave.
    Padding background and Solid color
    Transparent needs PNG or WebP. Solid padding uses the color you enter. Blurred padding fills the canvas with a cropped, blurred background copy, then places the whole image in front. JPEG accepts solid or blurred padding.
    Frame style
    Solid, Rounded or Patterned adds an outer band to the chosen canvas, increasing both output dimensions. Band width uses the source image’s shorter side. Rounded also clips the photo’s corners; stripes, dots and checks affect a patterned band. Preview geometry follows the same plan, but fine blur and antialiasing can differ at export resolution.

    Supported inputs and limits

    Input formatsJPEG, PNG or WebP
    File size20 images; 64 MiB each; 128 MiB / 20 MP total
    Canvas sizeCanvas 20 MP; entered width or height up to 20,000 px
    • Up to 20 JPEG, PNG or WebP images, 64 MiB each, 128 MiB and 20 megapixels combined.
    • Encoded outputs are capped at 128 MiB combined.
    • The canvas can be 20 megapixels and the source plus canvas together 40 megapixels, so a very large picture may need a smaller frame.
    • An entered width or height stops at 20,000 pixels a side.
    • A canvas smaller than the picture is refused unless you turn on fit-down.
    More details

    The output is newly encoded and may not carry embedded metadata, so check the pixel dimensions before uploading the file anywhere.

    Frame size is 0–40% of the source picture’s shorter side.

    Rounded frames use an entered radius of 0–50%; check transparent corners in PNG or WebP output.

    Batch images use the same settings and numbered names resolve collisions.

    The reduced preview shows the first selected image; blur and fine details can vary slightly at export resolution.

    Where your input is processed

    This tool does not upload your inputs. See the limits for anything saved on your device.

    How the ratio canvas is chosen

    A ratio mode builds the smallest whole-pixel canvas of that ratio that still contains the picture. A 1200 by 800 picture is wider than 4:3, so the canvas has to grow in height until the width matches: 1200 by 900, which leaves 50 pixels above and 50 below. On a square canvas the same picture needs 1200 by 1200, which leaves 200 pixels above and below.

    A 1200 by 800 image remains whole on a centred 1200 by 1200 canvas with 200 pixels of padding above and below.
    Separate example: a 1200 by 800 image on a square canvas leaves 200 pixels above and below.

    Questions about Canvas Padding and Square Fit

    How do I make a photo square without cutting it?

    Use Square around the whole image, Center position and No frame to retain the whole rectangular photo. The shorter dimension gets padding instead of cropping. Use the 1080 square preset when you need that exact canvas without enlarging a small source.

    Why was my canvas refused?

    The source or canvas may exceed the pixel budgets, or the entered canvas may be smaller than the image with fit-down disabled. Check the error and dimensions. A frame adds an outer band too, which counts toward the output budget.

    Why does 4:3 give 1200 by 900 instead of 1600 by 1200?

    The ratio modes pick the smallest whole-pixel canvas of that ratio that still holds the picture, so the padding stays as tight as the ratio allows instead of jumping to a much larger frame.

    Can I add a white border to a JPEG?

    Yes. Choose a Solid color background and set the value to #ffffff. Transparent padding is not accepted for JPEG output, because the format has no alpha channel.

    Page updated · Project managed by Tony Hines · Report a problem with Canvas Padding and Square Fit

    Related reading

    All guides