Convert HEIC, WebP and SVG into the format you need

Every image pipeline eventually receives a file in the wrong format. Here is how to pick the right target format, upload the file correctly and keep the result before its link expires.

A user taps "upload" on an iPhone and your server receives IMG_4211.HEIC. Your image CDN does not render it, the PDF library you use for invoices rejects it, and Chrome on Windows shows a broken icon. Meanwhile your marketing site is full of PNG screenshots weighing 900 KB each, and a designer has just handed you the new logo as an SVG for a mobile app that only accepts raster icons.

These are the same problem: a file in format A has to become format B, often at a different size. The conversion itself is the easy part. The judgment is in choosing B, sending the file in a way the API accepts, and not losing the output afterwards.

Choose the target format before you write any code

Most format mistakes are made before the first request: someone converts everything to PNG "to be safe" and ships pages three times heavier than they need to be, or converts a logo to JPEG and gets grey fringes around the text. Pick the target from what the image is and where it is going.

FormatGood forWeak atNotes
JPEGPhotos, anything with gradients and noiseSharp edges, text, transparencyLossy. Every re-save loses a little more. Universally supported.
PNGScreenshots, UI, logos, anything needing transparencyPhotos (files get huge)Lossless. Safe for text and flat colour.
WebPPhotos and graphics on the webOld software, some email clients, office toolsLossy or lossless, usually much smaller than JPEG or PNG at similar quality.
AVIFWeb photos where size matters mostTooling support, encoding speedOften smaller still than WebP.
HEIC/HEIFStorage on Apple devicesAlmost everywhere elseWhat iPhones save by default. Convert on arrival.
GIFLegacy animationsEverything else256 colours per frame.
SVGLogos, icons, diagramsPhotos; anything that must be a bitmapVector, scales without blur, but it is code, not pixels.

Two rules cover most real decisions. First, photographs go lossy, graphics go lossless: JPEG or WebP for a camera image, PNG for a screenshot or a logo with transparency. Second, the destination decides, not the source. A web page can take WebP; an email to an unknown client, a PDF generator, or a government upload form usually wants JPEG or PNG.

One catalog fact shapes the table: the converters read AVIF but do not write it. The output formats on Image Converter are png, jpg, webp, gif, tiff, bmp and pdf. If you need AVIF on the way out, WebP is the closest format you can produce here.

Check yourself

A support form accepts screenshots that users annotate with red arrows and text. Your app stores them for agents to read. Which target format is the right default?

Answer the check above to continue.

Run every example on your own key. Free plan, no card.

Scaling up?

Volume pricing, custom SLAs, and dedicated support for high-traffic teams.

Contact sales