How to Resize RAW Photos for the Web (Best Sizes in Pixels)
A full-size JPG from a modern camera is 6000 pixels or more across — several times wider than any screen — and 8–20 MB. Uploading those to a website slows it down; emailing them fills inboxes. Resizing is the single biggest improvement you can make to photos meant for screens.
Recommended sizes (long edge)
| Use | Long edge | Quality |
|---|---|---|
| Website hero / full-width | 2400–2560 px | 80–85 |
| Blog post or portfolio image | 1600–2048 px | 80–85 |
| Online client gallery | 2048–3000 px | 85–90 |
| Email attachments | 1600–2048 px | 75–80 |
| Thumbnails / cards | 600–800 px | 75–80 |
| Social media | see social media sizes | 85–90 |
Why 2560 for "large"? It covers 1440p monitors and high-density laptop screens without wasting bytes. Many sites serve multiple sizes automatically (srcset); give them the largest size they need, not the original.
"Long edge" vs width
Setting the long edge means a landscape image and a portrait image from the same shoot both fit a 2560-pixel box, so verticals don't end up taller than the screen. Use width only when a layout needs every image the same width.
Batch resize while converting from RAW
- Open BatchRAW.
- Under Resize mode, choose Limit long edge and enter e.g. 2560.
- Set JPEG quality to 85.
- Drop your RAW files and click Start conversion.
You get web-ready JPGs, typically 0.5–1.5 MB each, without a separate resize step. Use Scale by percent instead if you want, say, half-size copies. Everything runs locally.
Convert RAW files to JPG in your browser. BatchRAW is free, needs no install or account, and your files never leave your device. Drop a whole folder and get a ZIP of JPGs back.
Open BatchRAW →Other tools
- Lightroom: Export → Image Sizing → Resize to Fit: Long Edge. See Lightroom export settings.
- Mac:
sips -Z 2560 *.jpgor Preview's Adjust Size. - Photoshop: Image Processor's Resize to Fit. See Photoshop batch conversion.
Don't forget color space
Web images should be sRGB, or colors may look dull in some browsers. See sRGB vs Adobe RGB.