Convert images between formats

PNG, JPG, WebP, GIF, BMP, AVIF, JPEG XL, SVG and HEIC in. JPG, PNG or WebP out. Converted on your device.

Nothing is uploaded Works offline Open source No limits, no watermark
Drop images hereor click to choose files. Batches welcome.
    Working…

    Done

    Your files are processed on this device and never sent to a server. Reload the page to clear everything from memory.

    How it works

    1. Drop any images onto the page.
    2. Pick the output format and, for JPG and WebP, the quality.
    3. Download the results one by one or as a zip.

    In your browser, not on a server

    Your browser already knows how to decode JPG, PNG, WebP, AVIF and SVG. Stayput draws each image onto an off-screen canvas and asks the browser to encode it again in the format you picked. HEIC input goes through the libheif WebAssembly decoder, and JPEG XL (or AVIF, in a browser without native support) through the Squoosh decoders compiled to WebAssembly, fetched once as program files and cached. Nothing here needs a server because nothing here is beyond what a browser can do on its own.

    Compared with upload-based tools: Online converters upload your image, convert it on their machine and hand it back through an ad-covered download page. This does the same conversion with the same codecs, on your device, in less time than the upload.

    Verify it yourself. Load this page, turn off Wi-Fi or switch to airplane mode, and run the tool. Or open your browser's developer tools (F12, or Cmd-Option-I on a Mac), pick the Network tab, and watch it while you convert. The panel above does the same count for you.

    Questions

    Which formats can I convert from?

    Anything your browser can display: JPG, PNG, WebP, GIF (first frame), BMP, SVG and AVIF. HEIC and HEIF photos are decoded with a WebAssembly build of libheif, and JPEG XL (and AVIF in older browsers) with the Squoosh decoders compiled to WebAssembly, so they work everywhere.

    Why is WebP the smallest option?

    WebP compresses photos about 25 to 35 percent smaller than JPG at the same visual quality and supports transparency. Every current browser displays it. Use JPG when you need to send the file to an older program.

    What happens to transparency when I convert to JPG?

    JPG has no transparency, so transparent areas are filled with the background color you pick (white by default). Convert to PNG or WebP to keep transparency.

    Is anything uploaded?

    No. Decoding and encoding happen in the browser using the canvas API. This page works with your network switched off.

    More image tools

    Popular conversions

    Guides