Photo · 4 min read
How to resize, compress and convert images for the web
Oversized images are the most common cause of slow pages. A photo straight from a phone can be several megabytes — far more than a web page needs. A few quick steps make images load fast and look sharp.
Resize to the dimensions you actually use
A 4000-pixel-wide photo displayed in a 1000-pixel column wastes bandwidth. Resize to the real display size first — it is the single biggest saving you can make.
Compress to cut the file size
After resizing, compression squeezes out the remaining bytes. For photos, a JPG at around 70–80% quality is usually indistinguishable from the original at a fraction of the size.
Convert to a modern format
WebP typically beats JPG and PNG on size at the same quality. Converting your images is an easy win for page speed — and you can switch back just as easily.
Fit non-square photos for social feeds
For a tidy grid or a post that is not cropped awkwardly, fit the whole photo onto a square or social-sized canvas with a clean background.
Tools in this guide
- Ubah Ukuran & Crop Gambar Ubah ukuran atau crop foto ke 9:16, 1:1, 16:9, atau 4:5.
- Kompres Gambar Kecilkan ukuran file JPG, PNG, atau WebP tanpa mengurangi kualitas.
- Konversi Gambar Konversi antara JPG, PNG, dan WebP di browser Anda.
- Pas ke Persegi Pasang seluruh foto ke kanvas persegi atau ukuran media sosial dengan latar putih, hitam, atau buram — tanpa memotong.
- Potong ke Ukuran Potong dan skalakan foto ke dimensi piksel yang tepat.
Ready to try it?
Every tool is free and runs on your device — no account, no upload, no watermark.