image converter

Image Converter

Drop a PNG, JPG, WEBP, GIF, BMP, SVG, or PDF and convert it to PNG, JPG, or WEBP. Resize and adjust quality if you want. Everything runs in your browser.

Drop an image or PDF here
max 20 MB

How the conversion works

Everything happens in your browser. When you drop a file, the tool decodes it into an in-memory canvas, resizes it if you asked to, and re-encodes it in the output format using the browser's own canvas.toBlob() API. Nothing is uploaded to a server. When the file is a PDF, the pages are rendered by PDF.js (loaded on demand from a CDN) and each page becomes a regular image you can convert like any other.

Formats at a glance

  • Input: PNG, JPG, WEBP, GIF, BMP, SVG, PDF.
  • Output: PNG (lossless, keeps transparency), JPG (smaller, no transparency, quality slider), WEBP (usually smaller than JPG at the same visible quality, keeps transparency).
  • When you convert a transparent PNG to JPG, transparent areas are filled with white before encoding so they don't come out black.

Common conversions

The most common jobs handled here: PNG to JPG (smaller file for the web), JPG to PNG (when you need transparency or a lossless copy), WEBP conversion (either direction), and SVG or PDF to PNG (so you can use the artwork as a raster image). Resize with the width and height fields, and lock the aspect ratio if you want to preserve proportions.

Related: image color picker, aspect ratio calculator, and color converter.

Which formats does the converter support?
Input: PNG, JPG (JPEG), WEBP, GIF, BMP, SVG, and multi-page PDF (up to 20 MB). Output: PNG, JPG, or WEBP. You can also resize the image and, for the two lossy output formats, pick a quality between 10 and 100.
Does the conversion happen on your servers?
No. Everything runs in your browser using the Canvas API. Your file is never uploaded and never leaves your device. The only external request the tool makes is loading the PDF.js library from a CDN when you drop a PDF, and even then the PDF itself is decoded locally.
How do I convert PNG to JPG (or JPG to PNG)?
Drop the file, pick the output format from the three buttons (PNG, JPG, WEBP), and click Convert. When converting a transparent PNG to JPG, transparent pixels are filled with white before encoding so they do not come out black. To go the other way (JPG to PNG), pick PNG and click Convert; you get a lossless copy.
What is the difference between PNG, JPG, and WEBP?
PNG is lossless and keeps transparency, best for screenshots, logos, and diagrams. JPG is lossy and smaller, best for photos where a bit of quality loss is invisible. WEBP is a modern lossy or lossless format that is usually smaller than JPG at the same visible quality, and it keeps transparency.