Image Converter

Convert images between formats — PNG, JPG, WebP, AVIF, and out to PDF or base64. Only what your browser can really do is offered.

Runs entirely in your browser — nothing is uploaded

Checking what this browser can read and write…

What this does

This converts images between formats — PNG, JPG, WebP, AVIF and the rest — and out to PDF or a base64 data URL. Drop in as many as you like; they're converted in your browser and never uploaded.

The menu only offers what your browser can really do

Most converters show a fixed list of formats and hope. This one asks. When the page loads it encodes a single pixel as each format and decodes a single-pixel file of each, and builds the menus from what actually worked.

That matters more than it sounds, because of a quiet piece of browser behaviour:canvas.toBlob does not fail when it's asked for a format it can't write. It hands back a PNG. Ask a browser with no AVIF encoder for photo.avif and you get a PNG named .avif — which opens on your machine, looks fine, and breaks whatever you send it to. Every conversion here checks the type of what came back, so that can't happen.

HEIC and TIFF

These are the two people most want converted, and no browser outside Safari can open either. There's no way round that here: the decoding would have to be done by a megabyte or two of downloaded code, and this site's whole point is that nothing large or remote is needed.

For HEIC from an iPhone, the easiest fix is at the source: Settings → Camera → Formats → Most Compatible makes the camera shoot JPEG. Sharing a photo by email or AirDrop to a non-Apple device also converts it on the way. For TIFF, save a PNG out of whatever wrote it and convert that.

What a conversion costs

Changing format is almost never free, and the tool says which price you're about to pay before you pay it:

  • Transparency. JPG has no alpha channel. Anything see-through is painted onto a colour first — white by default, and you can pick another. Converters that skip this step are the reason so many logos come out with black boxes round them.
  • Animation. A GIF converted to PNG or JPG keeps its first frame and nothing else. WebP and AVIF can animate, but a browser's encoder writes a single frame regardless.
  • Re-compression. JPG to WebP is a second round of lossy compression on top of the first, not a fresh start. Going the other way — JPG to PNG — cannot undo the compression already there, so the file gets bigger without looking better.
  • Scalability. An SVG is drawing instructions, not pixels. Converting one fixes it at a size, and it won't stay sharp when enlarged afterwards. Nothing can go the other way: a photograph cannot be turned into an SVG.

How to use it

  1. Pick what you want out of it with the To: menu.
  2. Drop in one image or a hundred.
  3. Read the notes, if there are any — they're about the formats you actually chose.
  4. Convert. One file downloads on its own; several arrive as a zip.

Frequently asked questions

Are my images uploaded?

No. They're read and converted in your browser. You can watch the network panel while it runs, or disconnect from the internet once the page has loaded and convert anyway — it still works.

Why is a format greyed out?

Because this browser can't do it, and the tool checked rather than guessed. Hover it and you'll be told which way — reading or writing — and why.

Why did my PNG get bigger as a JPG?

Usually because it's a screenshot or a drawing. JPG is built for photographs and does badly on flat colour and sharp edges. For that kind of picture, PNG or WebP is the smaller file.

Can I resize or compress at the same time?

Not here — Image Resizer andImage Compressor do those, and doing one thing at a time makes each of them easier to get right.

The PDF I got has no margins and only one image

That's what this does: one picture in, one PDF out, on a page cut to the size of the picture. For several images in one document, in an order you choose, on A4 or Letter paper, useImage to PDF.

← Browse all Gwibbo tools