DEV Community

Cover image for How to make a photo square without cropping the subject
videocompress
videocompress

Posted on

How to make a photo square without cropping the subject

Instagram, profile photos, and a lot of marketplaces expect a 1:1 image. A wide landscape or a tall portrait gets the sides or the head cut off if you just hit crop.

You do not have to lose those pixels. Make the image square by padding it: keep the whole photo in the center, and fill the empty bands with a blur or a solid color.

1. Open the tool

Go to squareimage.dev. No account, no watermark. Drop in a JPEG, PNG, WebP, GIF, or BMP. The file is processed in the browser and is not uploaded.

Drop a photo into SquareImage

2. Pick blur or a solid color — not crop

  • Blur background — best for portraits and landscapes. The full photo stays visible; the empty sides are a blurred copy of the same image. Need more control over scale and blur strength? Use the blurred frame editor.
  • Solid color — best for products and logos. Same idea, with a flat color instead of a blur.
  • Resize — stretches the picture to 1:1. Only use this when distortion is acceptable (patterns, some graphics).
  • Crop 1:1 — use this last, when the subject already fills the frame and you want to throw away the edges. That path also lives as a dedicated square crop. Default download is 1200×1200. 1080×1080 is the usual Instagram square. JPEG for photos, PNG if you need a lossless file or transparency, WebP if you want a smaller web file.

Export size and download

Download it to your device. Closing the tab clears the session.

If you later need a tight close-up, run crop on a copy — do not start there on a wide photo you wanted to keep whole. For which pixel size to pick, see the 1:1 size guide.
Start with blur. If the subject is a product on a clean background, switch to a matching solid color.

Wide photo padded to a square with a blur background

3. Export at 1080 or 1200

Top comments (0)