Images & SVG
Image Format Converter
Drop in an image, choose PNG, JPEG or WebP, and download the converted file. Everything runs in your browser — your image is never uploaded.
Convert
local · no uploadChoose or drop an image, then pick an output format.
Choose an image to see the converted result.
How it works
The image is drawn to a local <canvas> and re-encoded with the
browser’s own encoder, so your file never leaves the page. JPEG has no alpha
channel, so transparent areas are filled with the background colour you choose.
Animated GIFs are converted from their first frame.
Practical uses
Convert a raster image to PNG, JPEG or WebP in the browser, with optional quality, resize and transparency-flattening controls.
Common ways to use it
- Turn a PNG screenshot into a JPEG.
- Export a photo as WebP at a chosen quality.
- Fit a large image within a maximum width and height before export.
- Copy the converted image as a data URI.
A 1920 × 1080 PNG planned for JPEG at 80%
Input
Source: holiday-photo.png, 1920 × 1080 Format: JPEG Quality: 80
Output
File name: holiday-photo.jpg Format: image/jpeg (lossy) Transparency flattened to #ffffff Size: 1920 × 1080 (not scaled)
Verified with the tool's planConversion function. Adding a maximum of 1280 × 1280 produces 1280 × 720 and reports that the image was scaled.
Options that matter
- Output format — PNG (default, lossless), JPEG (lossy), or WebP (lossy, supports alpha). If the browser cannot encode WebP, the option is removed.
- Quality — 0 to 100, default 90, shown only for lossy formats and described as High quality, Balanced, Smaller file, or Smallest file.
- Background for transparent areas — shown for JPEG; default #ffffff and normalised to a six-digit hex.
- Resize to fit within — optional max width and max height; aspect ratio is preserved and the image is never upscaled.
- Download, Copy data URI, Use sample image.
Things to keep in mind
- JPEG has no alpha channel, so transparent pixels are filled with the chosen background colour.
- Output is limited to PNG, JPEG, and WebP; inputs such as GIF, BMP, SVG, AVIF, or TIFF are rasterised into one of those three.
- An animated GIF is read as its first frame, so the animation is lost.
- When the source has no intrinsic size, the plan falls back to 1024 × 1024.
- Conversion draws to a local canvas and never uploads the file; a very large image is bounded by the memory on the device.