Image Format Converter
Convert images to JPG, PNG, WebP, GIF, BMP, ICO, TIFF, TGA or WBMP in bulk, from HEIC and TIFF too. Runs in your browser with a ZIP download for batches.
The interactive tool loads here when JavaScript runs.
About this toolWhat is the Image Format Converter?
The Image Format Converter turns images into JPEG, PNG, WebP, GIF, BMP, ICO, TIFF, TGA or WBMP, plus AVIF where your browser can encode it. Pick an Output Format, drop in one or many files, and each converted copy appears with its old and new format, its pixel size and its old and new file size. Several results download together as one ZIP.
Input can be anything the browser decodes (JPEG, PNG, WebP, GIF, BMP, AVIF, ICO, SVG) plus two formats browsers mostly cannot show: HEIC and HEIF photos from iPhones, decoded with libheif, and TIFF files, decoded with UTIF. JPEG, WebP and AVIF have a quality slider; the other outputs are lossless apart from GIF, which is limited to 256 colours.
Conversion happens inside your browser tab. No file is uploaded, and the converted files carry no EXIF metadata from the originals.
- Outputs JPEG, PNG, WebP, GIF, BMP, ICO, TIFF, TGA, WBMP and, where supported, AVIF
- Reads HEIC/HEIF and TIFF in addition to every browser format
- Quality slider for lossy formats and selectable ICO sizes
- Batch conversion with a single ZIP download
- Transparency kept in PNG, WebP, BMP, TGA, TIFF and ICO; white background for JPEG
- Local processing; no uploads and no metadata carried over
Updated
How to use the Image Format Converter
- Choose the Output Format. For JPEG, WebP or AVIF set the Quality; for ICO tick the icon sizes you want, from 16 to 256 pixels.
- Drag images onto the upload area or click Choose Images. HEIC, HEIF and TIFF files are accepted too.
- Check each card for the format change (for example HEIC → JPEG), the pixel size and the size before and after.
- To try another format on the same files, change the settings and click Reconvert All.
- Click Download on a card, or Download All to get every result in one ZIP. Only the extension changes, so report.v2.png becomes report.v2.bmp.
Worked examples
Transparent logo to JPEG
Input
logo.png with a transparent background, Output Format JPEG
Output
logo.jpg with a white background
JPEG has no alpha channel, so the converter paints white behind the image first. Without that step transparent pixels would be encoded as black.
Logo to a Windows icon
Input
logo.png (512×512), Output Format ICO, sizes 16, 32, 48 and 256
Output
logo.ico holding four PNG images
Each size is drawn separately from the source. A non-square image is centred on a transparent square so it is not stretched.
Photo to BMP
Input
photo.jpg (1200×800), Output Format BMP
Output
photo.bmp of about 2.75 MB
An opaque image is stored as 24-bit BMP: 3 bytes per pixel with no compression, so 1200 × 800 × 3 bytes plus a 54-byte header.
Background and insight
The formats solve different problems. PNG (W3C Recommendation, 1996; now also ISO/IEC 15948) is lossless with full alpha transparency, right for screenshots and logos but heavy for photos. JPEG is lossy, has no transparency and is still the most compatible format for photographs. WebP (Google, 2010) and AVIF (Alliance for Open Media, 2019) offer lossy and lossless modes with alpha and usually beat JPEG on size. GIF (1987/89) stores at most 256 colours with on/off transparency. BMP is the uncompressed Windows bitmap, TGA the uncompressed Truevision format still used for game textures, TIFF the uncompressed or lossless format of print and scanning workflows, ICO the Windows icon container and WBMP a 1-bit format from early WAP phones.
Only PNG, JPEG and WebP (and AVIF in some browsers) can be written by a browser canvas. The other outputs are assembled byte by byte in JavaScript: BMP as 24-bit, or 32-bit with an alpha mask when the image has transparency; TGA as uncompressed 24- or 32-bit; ICO as PNG images inside an icon directory, at the sizes you tick; TIFF as uncompressed 8-bit RGBA through UTIF; GIF as a single frame with a palette chosen for that image by gifenc. AVIF is feature-detected when the page loads: canvas.toBlob silently falls back to PNG for types it cannot encode, so the tool says so instead of saving a PNG with an .avif name.
Converting does not add quality. A JPEG converted to PNG or TIFF keeps every compression artefact and grows several times larger. Animated GIF or WebP input is drawn as its first frame only, multi-page TIFFs convert their first page, and HEIC files with several top-level images produce one output per image. EPS and EXR are deliberately not offered: EPS is a PostScript program that needs an interpreter such as Ghostscript, and EXR stores high dynamic range floating-point pixels, which an 8-bit browser canvas cannot supply.
Common use cases
Making images upload-friendly
Turn WebP, AVIF or iPhone HEIC files into JPEG or PNG for sites and tools that do not accept modern formats.
Legacy and specialist software
Produce BMP for old Windows programs, TGA for game engines and texture tools, or TIFF for print and document workflows.
Desktop and app icons
Build a multi-size ICO from one PNG for Windows shortcuts, installers and favicons.
Shrinking site assets
Convert PNG photos and JPEG banners to WebP, or AVIF where available, for smaller files on a website.
Opening TIFF scans in the browser
Convert a scanner TIFF to PNG or JPEG so it can be previewed, emailed or uploaded.
Tips and limitations
- PNG, BMP, TGA and TIFF are lossless. Use PNG as the intermediate format if you will edit the image again; it is the smallest of the four.
- BMP, TGA and TIFF output is uncompressed, so expect width × height × 3 or 4 bytes. A 12-megapixel photo becomes 36 to 48 MB.
- GIF output is a single frame reduced to 256 colours, so photos get banding. Use it for simple graphics only.
- PNG-in-ICO works on Windows Vista and later and in every current browser. Windows XP needed bitmap icons.
- WBMP is 1-bit black and white with a fixed threshold and no dithering. Use it only for systems that require it.
- AVIF output depends on the browser. If AVIF is marked unsupported, encode with avifenc or Squoosh instead.
- SVGs without width and height attributes may have no intrinsic size and cannot be rasterised. Add width and height first.
Sources and further reading
- Image file type and format guide, MDN Web Docs. PNG, JPEG, WebP, AVIF, GIF, BMP and ICO compared
- Portable Network Graphics, Library of Congress. PNG's history as a W3C Recommendation and ISO/IEC 15948
- An image format for the Web: WebP, Google for Developers
- AV1 Image File Format (AVIF), Alliance for Open Media
- HTMLCanvasElement: toBlob() method, MDN Web Docs. Why unsupported types fall back to PNG
Frequently asked questions
How do I convert WebP to JPG or PNG?
Select JPEG or PNG in Output Format, then drop the WebP files onto the upload area. Each file is decoded by your browser and re-encoded in the chosen format, and Download saves it with the new extension.
Does converting PNG to JPG lose quality?
Yes, some. JPEG is lossy and softens sharp text and hard edges, more so at lower quality settings. Transparency is also replaced with white. Keep screenshots and logos as PNG or WebP.
How do I convert an image to BMP, TGA or TIFF?
Pick BMP, TGA or TIFF as the Output Format and drop the image in. All three are written uncompressed, keeping transparency as a 32-bit alpha channel when the image has any, so files are much larger than PNG.
How do I make an ICO file from a PNG?
Choose ICO, tick the sizes you need (16, 32, 48 and 256 cover Windows and browsers) and drop the PNG in. Each size is stored as a PNG inside one .ico file. For a full favicon set with HTML tags, use the Favicon Generator.
Can this tool convert animated GIFs?
Not as animations. The browser canvas draws only the first frame, and GIF output is a single frame too. Use a command-line tool such as gif2webp or ffmpeg to keep the animation.
Why is AVIF output unavailable in my browser?
Browsers can display AVIF but most cannot encode it from a canvas. The tool tests this when the page loads and disables AVIF if the browser would silently produce PNG. Use avifenc, Squoosh or an image CDN to make AVIF files.
Can I convert HEIC or TIFF files here?
Yes. HEIC and HEIF photos are decoded with libheif in the browser, and TIFF files with UTIF; the first page of a multi-page TIFF is used. For converting many iPhone photos to JPG, the HEIC to JPG Converter has a simpler screen.
Is the image converter safe for private files?
Yes. Files are read and converted inside the page, so nothing is sent over the network. The output also carries no EXIF data from the original, such as camera details or location.
Is there an in-depth guide to the Image Format Converter?
Yes. “Resize, Convert, Compress: A Practical Order for Web Images” covers the background, how it works, common pitfalls and worked examples. Read the full guide.
Related Tools You May Like
Free, in-browser tools that pair well with this one.