Allin1Tool
Image ToolsRuns in your browser

Image Converter

Convert between WebP, PNG, JPEG and BMP with a quality control and a chosen colour behind transparent areas.

Share:

Image Converter workspace

Settings

Select or drop an image file

Preview

No image uploaded yet

Using Image Converter

  1. Load the file you want to reformat.

  2. Choose the target format: WebP, PNG, JPEG or BMP.

  3. Set the quality slider for WebP and JPEG; PNG and BMP ignore it because they discard nothing.

  4. If the source has transparency and the target has no alpha, pick the colour to composite onto.

  5. Convert and download the reformatted file.

The image is decoded and re-encoded through a canvas, which is why the choice of container decides what survives: alpha in WebP and PNG, none in JPEG or BMP. Embedded metadata does not carry over, because the output is rebuilt from decoded pixels.

Picking a Format Is Picking What to Lose

Format conversion sounds neutral, as though the same picture were simply being poured into a different bottle. It is not. Each container makes different promises about transparency, colour and fidelity, and moving between them means accepting whichever promise the destination cannot keep.

The four you can choose

WebP is the sensible default. It does lossy and lossless, it keeps an alpha channel, and every current browser reads it. For a photograph headed to a web page it usually lands 25 to 35 percent below an equivalent-looking JPEG.

JPEG is the most universally accepted format there is, and the right answer whenever a system, a printer or a colleague's software might be old. It has no alpha channel, so transparency has to go somewhere.

PNG is lossless and keeps transparency, which makes it correct for screenshots, diagrams, logos and anything built from flat colour and hard edges. It is a poor choice for photographs, where the file will run several times larger than a JPEG nobody can distinguish from it.

BMP is uncompressed, roughly three bytes per pixel, and exists here for the occasional piece of legacy or embedded software that insists on it.

The quality slider appears only for the formats it can affect. PNG and BMP ignore it, because neither discards anything to begin with.

Why AVIF is not in the list

No browser can currently encode AVIF from a canvas, even though most can display it. Offering the option would mean handing you PNG bytes wearing an .avif extension. The entry therefore appears only if your browser reports a working encoder, and otherwise the page says plainly that it is unavailable. If you need AVIF today, use a dedicated encoder outside the browser.

SVG is not a conversion target

The old description for this tool promised SVG output. That is not something a converter can honestly do. A photograph is a grid of measured colours; an SVG is a set of shapes with coordinates. Turning one into the other requires tracing, which redraws the image as an approximation rather than converting it, and the result is usually both larger and worse.

Vector output does exist on this site, for content that is geometric to begin with: QR Generator and Barcode Generator both write real SVG, because a code is a set of rectangles rather than a photograph.

Transparency and the colour behind it

Converting a PNG or WebP that has transparent areas into JPEG or BMP has to put something in those pixels. A raw canvas export leaves them black, which surprises people. Instead, a background colour picker appears as soon as you select a format without alpha, and the transparent regions are composited onto whatever colour you set, white by default. Choose the colour of the page the image will sit on and the join becomes invisible.

Every conversion is a decode and a re-encode

Turning a JPEG into a WebP does not remove the JPEG's artefacts. It decodes them into pixels, then encodes those pixels again, so the first generation's damage is baked into the second. Convert back and you are on a third generation.

Always start from the earliest version of a file you still have, and expect embedded metadata — camera model, capture time, GPS — not to survive, since the output is rebuilt from decoded pixels. To read those tags before they disappear, or to remove them without a re-encode, use Image Metadata Viewer.

Frequently asked

What happens to transparency when I convert a PNG to JPEG?

JPEG has no alpha channel, and a raw canvas export would leave those pixels black. Instead you are asked for a background colour, white by default, and the transparent areas are composited onto it.

Why is AVIF missing from the format list?

No current browser can encode AVIF from a canvas, so offering it would hand you PNG bytes under an .avif name. The option only appears if your browser reports a working encoder, and otherwise the page says so.

Can I convert a photo to SVG here?

No, and the old description that promised it was wrong. A photograph is a grid of pixels while SVG stores shapes, so the change requires tracing, which redraws the picture as an approximation rather than converting it.

Does converting between formats improve quality?

Never. Each conversion decodes the file and encodes it again, so any damage from the previous encode is baked in before the new one starts. Always work from the earliest version of a file you still have.