Image Converter (PNG, JPG, WebP, HEIC)
Drop a PNG, JPG, WebP, GIF, BMP, or HEIC file, resize it to exact pixel dimensions, and convert it to PNG, JPG, or WebP.
Drop or choose an image above to get started.
Runs entirely in your browser. Nothing you paste here is uploaded, logged, or sent to analytics.
Formats in, formats out
This tool reads six formats — PNG, JPG,
WebP, GIF, BMP, and HEIC
(the format iPhones save photos in) — and writes three: PNG,
JPG, and WebP. Those three are the only formats a
browser's <canvas> can actually encode; GIF and BMP work as a source but
can't be an export target from any browser. If you have a specific pair in mind, the
dedicated pages below land with that conversion already selected:
- PNG to JPG
- JPG to PNG
- PNG to WebP
- WebP to PNG
- JPG to WebP
- WebP to JPG
- HEIC to JPG (iPhone photos)
- HEIC to PNG (iPhone photos)
HEIC needs a bit more work
Every format except HEIC decodes natively in every browser — this tool just hands the file
to the browser's own image decoder. HEIC is different: no browser except Safari can open it
directly, so this page loads a small WASM decoder (a few megabytes, only when you actually
upload a .heic/.heif file — every other format never downloads it)
to decode the photo locally before handing it to the same resize/export pipeline as
everything else.
Sizing and quality
- Exact dimensions — type a width and/or height in pixels.
- Lock aspect ratio — editing one dimension recalculates the other from the source image's proportions, so you can't accidentally stretch it.
- Resize presets — 100/75/50/25% of the source's own size. Unlike a vector, a photo only gets blurrier scaled up, so there's no upscale option here.
- Quality — JPG and WebP take a quality slider (PNG is always lossless, so it has none).
Nothing is uploaded
The whole conversion — decode, resize, encode — happens in your browser via the Canvas API. The file never leaves your device, there's no upload progress bar because there's no upload, and closing the tab is enough to discard everything.