How offline PNG to JPG conversion works
This page uses your browser's Canvas API — no external libraries, no WebAssembly, no server. When you drop a PNG file, the browser decodes it natively, draws it to a canvas, and re-encodes it as JPEG at your chosen quality level. At no point does the file leave your device.
Why convert PNG to JPG?
PNG is lossless and supports transparency — but those features come at a cost: large file sizes. A typical photograph saved as PNG is 5-10x larger than the same image as JPG. Converting to JPG dramatically reduces file size with minimal visible quality loss, making it ideal for:
- Websites and blogs — faster page loads, better Core Web Vitals scores
- Email attachments — stay under attachment size limits
- Social media — platforms compress uploads anyway; pre-optimized JPGs upload faster
- Photo archives — store thousands of photos without filling your drive
- E-commerce product images — JPG is the standard for online stores
PNG vs JPG — when to use which
PNG (Portable Network Graphics) is a lossless format — every pixel is preserved exactly. Use PNG for screenshots, logos, icons, illustrations with sharp edges, and any image with text. PNG also supports transparency.
JPG (JPEG) is a lossy format — it discards some image data to achieve smaller files. Use JPG for photographs, complex images with gradients, and any scenario where file size matters more than pixel-perfect accuracy. JPG does not support transparency.
What happens to transparency when converting PNG to JPG?
JPG doesn't support an alpha (transparency) channel. When converting a PNG with transparency, any transparent or semi-transparent areas become solid white. If your image relies on transparency — for example, a logo on a transparent background — converting to JPG will fill the background with white. If you need transparency, keep the PNG or convert to WebP instead.
Quality settings explained
The quality slider controls the JPEG compression level, from 0.1 (maximum compression, smallest file, visible artifacts) to 1.0 (minimum compression, largest file, near-lossless):
- 0.92 (default) — Excellent quality for most use cases. Visually indistinguishable from the original PNG for photos.
- 0.85 — Good quality, noticeably smaller files. Recommended for web use where every kilobyte counts.
- 0.75 — Moderate quality, very small files. Suitable for thumbnails and previews.
- 1.0 — Maximum quality, but files approach PNG size. Use only if quality is more important than file size.
How to verify it's really offline
You don't have to trust us. Verify it yourself:
- Open your browser's DevTools (right-click → Inspect, or F12).
- Switch to the Network tab and clear it.
- Drop a PNG file onto the converter above.
- Watch the Network tab — it stays empty during conversion. No XHR, no fetch, no WebSocket. Nothing.
Alternatively: load this page, then turn off your wifi. The converter still works because everything it needs is already in your browser.