The free Vivlab image converter turns your files into WebP, PNG or JPEG, right in your browser. Your images never leave your computer.
Load an image, pick the output format, then download the result or copy its base64 data-URI.
How it works
Drag an image or click to pick one; its original format and size show under the preview.
Select WebP, PNG or JPEG and set the quality; the output size recalculates with every change.
Download the converted image, or copy its base64 data URI to embed it straight into your code.
PNG keeps transparency and stays lossless, which makes it perfect for logos and crisp graphics. JPEG compresses photos heavily and suits images packed with colour. WebP blends the best of both: efficient compression, with or without transparency.
Go with PNG for a logo or a screenshot, JPEG for a photo headed for everyday use, and WebP to lighten your web pages without giving up quality. Converting a file lets you fit it to each purpose.
A data-URI encodes your image straight into text (base64). Pasted into HTML or CSS, it embeds the image with no separate file: handy for small icons or an email, best avoided for large visuals that would bloat your code.
Before exporting, compare the "before / after" file size: for a photo, WebP at roughly quality 80 often strikes the best balance between a light file and a sharp look. Keep PNG for images that genuinely need transparency.
Frequently asked questions
WebP, PNG or JPEG?
WebP is the lightest and handles transparency. PNG stays lossless, best kept for logos, screenshots and cut-out visuals. JPEG suits photos when compatibility matters more than weight.
Is transparency kept?
PNG and WebP keep the alpha channel. JPEG, on the other hand, has no transparency: transparent areas turn black. Go through PNG or WebP to preserve a cut-out background.
What is the Copy data URI button for?
It copies the image encoded in base64, ready to paste into HTML or CSS with no separate file. Handy for a small icon, though on a large image it quickly bloats the code.
Can I convert an iPhone HEIC?
The tool converts the formats your browser can display. Safari reads HEIC natively, but Chrome and Firefox do not always decode it. In that case, export the photo as JPEG from your phone first.
Do my images go to a server?
No. The conversion happens entirely in your browser, and the file never leaves your device. Nothing is uploaded, even for a confidential visual.
Keep exploring