Best Image Size and Format for Social Media and the Web

The right format and size make your images look sharp, load fast and avoid awkward crops. Here's which format to use, the sizes that work on each major platform, and how to keep files small, all on one page.

Image shapes 1:1, 4:5, 9:16 and 2:3 above three format tiles: JPEG for photos, PNG for graphics, WebP for websites

Quick answer

  • Photos: JPEG for social media; WebP (or AVIF) on your own website.
  • Logos, screenshots and graphics with text: PNG, or SVG for logos on a website.
  • Instagram and Facebook posts: 1080 × 1350 (portrait) or 1080 × 1080 (square).
  • Stories, Reels and TikTok: 1080 × 1920.
  • Pinterest: 1000 × 1500. Link previews: 1200 × 630.

Which format to use

FormatBest forTransparencyGood to know
JPEGPhotosNoSmall files, accepted everywhere. Quality drops a little each time you re-save it.
PNGLogos, screenshots, text, graphicsYesKeeps sharp edges perfectly, but photos saved as PNG are very large.
WebPPhotos and graphics on websitesYesSmaller than JPEG and PNG at similar quality; works in all current browsers.
AVIFPhotos on websitesYesOften smaller still than WebP; supported by current major browsers.
SVGLogos and icons on websitesYesDrawn from shapes, so it stays sharp at any size. Not for photos.
GIFShort, simple animationsBasicOnly 256 colors, so photos look grainy. Use video or WebP for longer clips.

The simple rule: photos as JPEG, everything with sharp edges or text as PNG. A logo saved as JPEG gets fuzzy edges and loses its transparent background; a photo saved as PNG can be several times bigger than it needs to be.

WebP and AVIF: smaller files for websites

WebP and AVIF are newer formats that keep the same visual quality in noticeably smaller files. Google reports that WebP photos are typically 25-34% smaller than JPEGs of similar quality, and AVIF is often smaller again. Both support transparency, so they can also replace PNG.

  • On your own website: use WebP or AVIF. Every current major browser supports both. If you need to support very old browsers, serve a JPEG fallback (see the example below).
  • On social media: just upload JPEG or PNG. Platforms convert and compress images themselves, so uploading WebP gains you nothing.

Image sizes for social media

Five image shapes drawn to scale: square 1:1, portrait 4:5, Stories and Reels 9:16, Pinterest 2:3, and landscape 16:9
The common image shapes, drawn to scale.
WhereSize (pixels)Shape
Instagram feed1080 × 1350, or 1080 × 10804:5 portrait or 1:1 square
Instagram Stories and Reels, TikTok1080 × 19209:16
Facebook feed1080 × 1350, or 1080 × 10804:5 or 1:1
Pinterest1000 × 15002:3
X (Twitter)1600 × 90016:9
LinkedIn post1080 × 1080, or 1200 × 6271:1 or about 1.91:1
YouTube thumbnail1280 × 72016:9
Link previews (shared links on most platforms)1200 × 630About 1.91:1

Platforms change their layouts from time to time, so check their help pages if something looks off. Two habits avoid most problems: crop to the right shape yourself, rather than letting the app crop for you, and keep important things away from the edges, where previews and buttons can cover them. For watermarks specifically, see our Instagram and Pinterest watermark guides.

Cropped and ready to post? Add your @handle before you share it.

Watermark a photo free

Compress without losing quality

  • Resize first. The biggest saving is not uploading more pixels than will be shown. A 4000-pixel photo shown at 1080 pixels wide is mostly wasted.
  • For the web, JPEG quality around 75-85 usually looks the same as the original at a fraction of the size. Check by zooming into skies and skin, where compression shows first.
  • For social media, upload high quality at the right size. The platform compresses it again, and starting from a well-compressed copy can double the damage.
  • Edit your original, not a copy of a copy. Each time a JPEG is re-saved it loses a little more detail.
  • Free tools: Squoosh runs in your browser and compares quality side by side; ImageOptim (Mac) and TinyPNG are also popular.

Images on your own website

  • Size images for how they're shown. Make them about twice the width they appear on screen, so they're sharp on high-resolution displays, and no bigger.
  • Offer several sizes with srcset, so phones download a smaller file than desktops.
  • Add width and height to every image, so the page doesn't jump as images load.
  • Lazy-load images further down the page with loading="lazy", but not the first image visitors see.
<picture>
  <source type="image/avif" srcset="photo-800.avif 800w, photo-1600.avif 1600w">
  <source type="image/webp" srcset="photo-800.webp 800w, photo-1600.webp 1600w">
  <img src="photo-1600.jpg" srcset="photo-800.jpg 800w, photo-1600.jpg 1600w"
       sizes="(max-width: 800px) 100vw, 800px"
       width="1600" height="1067" loading="lazy" alt="Describe the photo">
</picture>

The browser picks the first format it supports and the smallest file that looks sharp on the visitor's screen.

Where watermarking fits

  1. Edit and crop to the shape you'll post.
  2. Watermark with our free watermark tool. It keeps your image's size, saves photos as high-quality JPEG and graphics as PNG, and takes files up to 10 MB.
  3. Resize or compress for where it's going, if needed.

Watermarking before you resize means the watermark scales down with the photo and stays in proportion. For how to design it, see how to make a watermark.

Frequently asked questions

JPEG for photos and PNG for graphics with text. Instagram converts and compresses every upload, so upload a high-quality file at the right size, such as 1080 by 1350 pixels for a portrait post.

Use JPEG for photos and PNG for logos, screenshots and anything with text or sharp edges. PNG also keeps transparent backgrounds, which JPEG can't.

For websites, yes: WebP files are usually noticeably smaller at similar quality, and all current browsers support them. For social media it makes no difference, because platforms convert uploads themselves.

About twice the width they're displayed at, so they stay sharp on high-resolution screens. For a full-width photo that's usually 1600 to 2000 pixels wide, compressed as WebP or JPEG.

Usually because the platform resized or re-compressed them. Upload at the platform's recommended size and shape, from a high-quality original rather than a copy that's already been compressed.
Watermark your photos free

Keeps your image size. Photos come back as high-quality JPEG.

Getting ready to post? Run through our before-you-post photo checklist.

Related Articles

Before You Post: A Photo Checklist

Nine quick checks before you share a photo: edits, crop, privacy, watermark and backups.

Read More
Instagram Watermark Guide

Where to put your watermark on posts, Stories and Reels, and how strong to make it.

Read More
How to Make a Watermark

Text, logo or signature: how to make a watermark that looks professional.

Read More