Convert PNG to JPG

Convert PNG images to smaller JPG files locally in your browser. Pick a background color to flatten transparency. Nothing is uploaded.

Privacy-first: every image is processed locally in your browser. Nothing is uploaded, stored or transmitted to any server.

PixelVault is a browser image converter that changes images between JPG, PNG, WebP, AVIF and BMP without uploading anything. If you have ever searched for how to convert PNG to JPG or turn a photo into WebP, you have probably seen sites that require you to hand over your file first. Here, the conversion runs entirely on your device — your image is read into the page, converted, and handed straight back to you.

Modern formats can make a real difference. Converting a large PNG or JPG to WebP or AVIF often cuts the file size substantially at the same visual quality, which is perfect for the web. Going the other way — back to universal JPG or PNG — guarantees compatibility with older software and platforms. When you convert to a format without transparency, you can choose the background color that fills any transparent areas, so nothing turns unexpectedly black.

Convert one image or a whole batch. PixelVault automatically detects which formats your browser can encode and disables the rest, so you never end up with a file that silently fell back to the wrong type.

How it works

Each image is decoded and drawn to a canvas, then re-encoded in your chosen format using the browser’s native encoders. Transparency is preserved for formats that support an alpha channel (PNG, WebP, AVIF) and flattened onto your chosen background color for formats that do not (JPG, BMP). BMP is written by PixelVault’s own encoder so it works everywhere.

Why local processing matters

A local converter means your images are never transmitted, stored or inspected by a server. That matters for sensitive documents, ID scans, contracts and private photos that you simply should not upload to an unknown service. Because everything runs in the browser, conversion is instant and keeps working even without a connection.

Supported formats

  • HEIC — iPhone photos — input only, decoded locally (no browser can create HEIC).
  • SVG — Input only — vector artwork is rasterized locally to PNG/JPG/WebP.
  • GIF — Input only — the first frame is converted (animation is not preserved).
  • JPG — Universal support; great for photographs.
  • PNG — Lossless with transparency.
  • WebP — Smaller files with transparency — ideal for the web.
  • AVIF — Smallest high-quality files (browser support varies).
  • BMP — Uncompressed and universally readable.

Common use cases

  • Convert HEIC photos from an iPhone to JPG so they open anywhere.
  • Rasterize an SVG icon to PNG at a crisp resolution.
  • Convert PNG to JPG to shrink screenshots for sharing.
  • Turn photos into WebP or AVIF to make a website load faster.
  • Convert to PNG when you need transparency for a logo or graphic.
  • Batch-convert an entire folder into a single consistent format.

Frequently asked questions

Which formats are supported?
You can convert to and from JPG, PNG, WebP, AVIF and BMP, and convert from HEIC/HEIF (iPhone photos). Browsers cannot create HEIC files, so HEIC is input-only. Output formats your browser cannot encode are detected and disabled automatically.
Can I convert HEIC to JPG?
Yes. Drop in a HEIC photo from an iPhone and choose JPG (or PNG/WebP). The HEIC file is decoded locally in your browser with a bundled decoder — it is never uploaded anywhere.
Is transparency preserved?
Yes, when converting to a format that supports an alpha channel (PNG, WebP, AVIF). For formats without transparency (JPG, BMP), you can pick a background color for transparent areas.
Is my image uploaded?
No. Conversion runs entirely in your browser — your images never touch a server.
What is AVIF and should I use it?
AVIF produces the smallest high-quality files. Encoding support varies by browser, so PixelVault enables it only when your browser can create AVIF files.
Can I convert many images at once?
Yes. Batch-convert a whole folder of images and export them together as a ZIP.