fileformer
search⌘KtranslateENexpand_moreupload_fileConvert
Converters8 file families · 44 direct conversions
What changes in a conversionarrow_forward
home/image-tools/image-converter

Change the image format, and check every result.

A free image converter with 70 formats in and out, from JPG and HEIC to Photoshop, camera RAW and 1980s Unix bitmaps. JPG, PNG, WebP and AVIF use your browser's encoders, and GIF, BMP, ICO and TIFF are written by this page. The other 62 go through ImageMagick compiled to WebAssembly, which downloads once when you pick one and runs on your device. Every result is decoded again and compared with the original before you save it.

collections
Drop images or click to chooseany of 70 formats · several at once · nothing leaves your device
photo_libraryTry 3 samples
inboxno images yet
Converted on this device · nothing uploaded
folder_zipswap_horizAdd images first
1Save as70 formats · 8 built in
language.webpWebsitesmall, every browser
photo_camera.jpgPhoto for anyoneopens on any device
layers.pngKeep transparencylossless logos, screens
compress.avifSmallest fileAV1 compression
print.tiffPrint & scanslossless master
brush.psdPhotoshopopen in PSD apps
searchAll 70 formats9 familiesexpand_more
search
.
No format matches “”.
.webpUsually the smallest lossy file browsers all open, and it keeps transparency.written by browser encoder
2Quality80Passed to the WEBP encoder as 0.80. Each browser maps it to its own quantiser, so 80 in Chrome and 80 in Safari differ slightly.
3Longest side
original2048 px1280 px640 px
4Fill transparency
whiteblacklight grey
Used where the output can’t hold transparency (JPG) and as the backdrop when accuracy is measured.
~/all-eight-on-your-image

Which format suits this image? Measure it.

Your first image is written in all eight formats at your quality setting, then each file is decoded again. Nothing in the result is looked up; every number comes from the files just made.

straightenSizebytes of each real file
visibilityAccuracyPSNR against what you see
opacityTransparencykept, filled or on/off
timerSpeedencode time on this device
No image added yet, so it measures a generated logo with half-transparent areas.scienceMeasure on a test image
.jpgsizePSNRbrowser encoder
.pngsizePSNRbrowser encoder
.webpsizePSNRbrowser encoder
.avifsizePSNRbrowser encoder
.gifsizePSNRwritten by this page
.bmpsizePSNRwritten by this page
.icosizePSNRwritten by this page
.tiffsizePSNRwritten by this page
formatsizePSNRalphatime
.
original · centre at 2×
~/all-70-formats

Every format, written and read back in your browser.

The test writes one small image with a gradient and a half-transparent corner in every format that can be written here, opens each file again, and compares it with the original. Formats that only open are marked from ImageMagick's own list of what this build reads.

55written & reopened
28pixel-identical
10open only
5not available
Runs on a 48×32 test image. Loads ImageMagick (5.4 MB) first, then takes a few seconds.scienceTest all 70
formatwhat it isfirst bytesopens herewrites hereround trip
Web & everyday10 formats
.10 formatsWeb & everyday
1.1 KB · 31.7 dB · alpha filled white · lossyJPEG
.jpgJPEGphotos; opens on every deviceFF D8 FFbrowserbrowsernot tested yet
1.9 KB · identical · alpha keptPNG
.pngPNGlossless with transparency89 50 4E 47browserbrowsernot tested yet
780 B · 31.9 dB · alpha kept · lossyWebP
.webpWebPsmall web images, alphaRIFF … WEBPbrowserbrowsernot tested yet
673 B · 32.0 dB · alpha kept · lossyAVIF
.avifAVIFAV1 stills, smallest… ftypavifbrowserbrowsernot tested yet
1.3 KB · 19.8 dB · alpha lost · 256 colours, alpha on/offGIF
.gifGIF256 colours, animation47 49 46 38browserthis pagenot tested yet
1.9 KB · identical · alpha keptSVG
.svgSVGvector; written with the pixels inside<svgbrowserImageMagicknot tested yet
1.9 KB written, could not reopenSVGZ
.svgzSVGZgzip-compressed SVG1F 8BImageMagickImageMagicknot tested yet
2.0 KB · identical · alpha keptAnimated PNG
.apngAnimated PNGPNG with frames89 50 4E 47 (acTL)browserthis pagenot tested yet
542 B · 38.3 dB · alpha kept · lossy at this qualityJPEG XL
.jxlJPEG XLISO 18181, lossless JPEG recompressionFF 0A / JXLImageMagickImageMagicknot tested yet
2.2 KB · identical · alpha keptQOI
.qoiQOIQuite OK Image, fast lossless71 6F 69 66ImageMagickImageMagicknot tested yet
Print & professional12 formats
.12 formatsPrint & professional
6.3 KB · identical · alpha keptTIFF
.tiffTIFFprint, scans, master files49 49 2A 00this pagethis pagenot tested yet
6.3 KB · identical · alpha keptTIFF (.tif)
.tifTIFF (.tif)same format, short extension49 49 2A 00this pagethis pagenot tested yet
4.8 KB · 27.2 dB · alpha kept · flattenedPhotoshop
.psdPhotoshopPhotoshop document, flattened38 42 50 53ImageMagickImageMagicknot tested yet
opens only, nothing to writeGIMP
.xcfGIMPGIMP project file67 69 6D 70ImageMagickImageMagicknot tested yet
13.1 KB · identical · alpha keptOpenEXR
.exrOpenEXRfloat HDR for VFX76 2F 31 01ImageMagickImageMagicknot tested yet
3.8 KB · 12.9 dB · alpha filled white · RGBE shared exponentRadiance HDR
.hdrRadiance HDRRGBE high dynamic range#?RADIANCEImageMagickImageMagicknot tested yet
1.7 KB · 42.6 dB · alpha keptDirectDraw Surface
.ddsDirectDraw SurfaceGPU textures for games44 44 53 20ImageMagickImageMagicknot tested yet
6.2 KB · identical · alpha keptTarga
.tgaTarga3D and game pipelinesfooter TRUEVISIONImageMagickImageMagicknot tested yet
1.8 KB · identical · alpha keptJPEG 2000
.jp2JPEG 2000wavelet; medical, archives, cinema00 00 00 0C 6A 50ImageMagickImageMagicknot tested yet
691 B · 41.6 dB · alpha filled whiteStereo JPEG
.jpsStereo JPEGside-by-side 3D photoFF D8 FFImageMagickImageMagicknot tested yet
18.4 KB · identical · alpha filled whitePortable float map
.pfmPortable float map32-bit float pixelsPF / PfImageMagickImageMagicknot tested yet
8.6 KB · 11.5 dB · alpha filled white · FITS scalingFITS
.ftsFITSastronomy dataSIMPLE =ImageMagickImageMagicknot tested yet
Phone photos & JPEG names7 formats
.7 formatsPhone photos & JPEG names
opens only, nothing to writeHEIC
.heicHEICiPhone photos (HEVC)… ftypheiclibheif / ImageMagickImageMagicknot tested yet
opens only, nothing to writeHEIF
.heifHEIFthe container behind HEIC… ftypmif1libheif / ImageMagickImageMagicknot tested yet
1.1 KB · 31.7 dB · alpha filled white · lossyJPEG (.jpeg)
.jpegJPEG (.jpeg)same bytes as .jpgFF D8 FFbrowserbrowsernot tested yet
1.1 KB · 31.7 dB · alpha filled white · lossyJPEG (.jpe)
.jpeJPEG (.jpe)same bytes as .jpgFF D8 FFbrowserbrowsernot tested yet
1.1 KB · 31.7 dB · alpha filled white · lossyJFIF
.jfifJFIFsame bytes as .jpgFF D8 FF E0 … JFIFbrowserbrowsernot tested yet
1.1 KB · 31.7 dB · alpha filled white · lossyJPEG (.jfi)
.jfiJPEG (.jfi)same bytes as .jpgFF D8 FFbrowserbrowsernot tested yet
1.1 KB · 31.7 dB · alpha filled white · lossyJPEG (.jif)
.jifJPEG (.jif)same bytes as .jpgFF D8 FFbrowserbrowsernot tested yet
Windows & icons5 formats
.5 formatsWindows & icons
6.3 KB · identical · alpha keptBMP
.bmpBMPuncompressed Windows bitmap42 4Dbrowserthis pagenot tested yet
not in this buildDIB
.dibDIBBMP without the file headerBITMAPINFOHEADERImageMagickImageMagicknot tested yet
26.3 KB · square icon sizes, not comparedICO
.icoICOfavicons, 16-256 px00 00 01 00browserthis pagenot tested yet
6.5 KB · square icon sizes, not comparedCursor
.curCursorWindows mouse cursor00 00 02 00ImageMagickImageMagicknot tested yet
not in this buildApple icon
.icnsApple iconmacOS app icons69 63 6E 73ImageMagickImageMagicknot tested yet
Unix & X117 formats
.7 formatsUnix & X11
2.8 KB · 19.8 dB · alpha lost · palette, alpha on/offX PixMap
.xpmX PixMapC source with a colour table/* XPM */ImageMagickImageMagicknot tested yet
1.3 KB · 5.8 dB · alpha filled white · 1-bit by designX BitMap
.xbmX BitMap1-bit C source#defineImageMagickImageMagicknot tested yet
not in this buildX Window dump
.xwdX Window dumpX11 screen captureheader size, version 7ImageMagickImageMagicknot tested yet
7.2 KB · identical · alpha filled whiteXV thumbnail
.xvXV thumbnailxv viewer thumbnailsP7 332ImageMagickImageMagicknot tested yet
6.2 KB · identical · alpha filled whiteSun Raster
.sunSun RasterSunOS workstations59 A6 6A 95ImageMagickImageMagicknot tested yet
5.3 KB · identical · alpha keptSGI
.sgiSGISilicon Graphics, RLE01 DAImageMagickImageMagicknot tested yet
6.2 KB · identical · alpha filled whiteSun Raster (.ras)
.rasSun Raster (.ras)same as .sun59 A6 6A 95ImageMagickImageMagicknot tested yet
Netpbm & raw pixels8 formats
.8 formatsNetpbm & raw pixels
4.6 KB · identical · alpha filled whitePortable pixmap
.ppmPortable pixmapRGB, no compressionP6ImageMagickImageMagicknot tested yet
201 B · 5.8 dB · alpha filled white · 1-bit by designPortable bitmap
.pbmPortable bitmap1-bit black and whiteP4ImageMagickImageMagicknot tested yet
1.5 KB · 13.8 dB · alpha filled white · greyscale by designPortable graymap
.pgmPortable graymapgreyscaleP5ImageMagickImageMagicknot tested yet
4.6 KB · identical · alpha filled whitePortable anymap
.pnmPortable anymapany of the three aboveP1: P6ImageMagickImageMagicknot tested yet
6.2 KB · identical · alpha keptPortable arbitrary map
.pamPortable arbitrary mapwith alphaP7ImageMagickImageMagicknot tested yet
4.6 KB · identical · alpha filled whiteRaw RGB
.rgbRaw RGBbare RGB bytes; size must be knownnone (headerless)ImageMagickImageMagicknot tested yet
1.5 KB · 13.8 dB · alpha filled white · greyscale by designRaw pixels
.rawRaw pixelsbare greyscale bytesnone (headerless)ImageMagickImageMagicknot tested yet
12.3 KB · identical · alpha keptfarbfeld
.fffarbfeld16-bit RGBA, suckless66 61 72 62 66 65 6C 64ImageMagickImageMagicknot tested yet
Legacy6 formats
.6 formatsLegacy
3.7 KB · identical · alpha filled whitePCX
.pcxPCXZSoft Paintbrush, DOS0A 0? 01ImageMagickImageMagicknot tested yet
4.2 KB · identical · alpha filled whitePICT
.pictPICTclassic Mac QuickDraw512-byte gap, then sizeImageMagickImageMagicknot tested yet
4.2 KB · identical · alpha filled whitePICT (.pct)
.pctPICT (.pct)same as .pict512-byte gap, then sizeImageMagickImageMagicknot tested yet
788.5 KB · 8.1 dB · alpha filled white · Photo CD fixed sizesKodak Photo CD
.pcdKodak Photo CD1990s CD scansPCD_IPI at 2048ImageMagickImageMagicknot tested yet
567 B · 12.3 dB · alpha filled white · Palm greyscalePalm database
.pdbPalm databasePalm OS image viewerVimg at 60ImageMagickImageMagicknot tested yet
1.6 KB · 25.8 dB · alpha filled white · Palm palettePalm bitmap
.palmPalm bitmapPalm OS graphicswidth, height, row bytesImageMagickImageMagicknot tested yet
Specialised8 formats
.8 formatsSpecialised
6.2 KB · identical · alpha keptVIPS
.vipsVIPSlibvips native08 F2 A6 B6ImageMagickImageMagicknot tested yet
7.2 KB · identical · alpha keptVIFF
.viffVIFFKhoros visualisationAB 01ImageMagickImageMagicknot tested yet
688 B · identical · alpha keptMNG
.mngMNGmultiple-image PNG8A 4D 4E 47ImageMagickImageMagicknot tested yet
4.6 KB · identical · alpha filled whiteMTV
.mtvMTVMTV ray tracer"w h" as textImageMagickImageMagicknot tested yet
196 B · 5.8 dB · alpha filled white · 1-bit by designWireless bitmap
.wbmpWireless bitmap1-bit WAP phones00 00ImageMagickImageMagicknot tested yet
1.6 KB · 13.8 dB · alpha filled white · greyscale by designPGX
.pgxPGXJPEG 2000 test imagesPG MLImageMagickImageMagicknot tested yet
3.1 KB · 11.1 dB · alpha filled white · 4:2:2 chromaPAL
.palPALraw 4:2:2 YUVnone (headerless)ImageMagickImageMagicknot tested yet
1.9 KB written, could not reopenColour map
.mapColour mappalette plus indicesnone (headerless)ImageMagickImageMagicknot tested yet
Camera RAW7 formats
.7 formatsCamera RAW
opens only, nothing to writeCanon RAW
.cr2Canon RAWCanon sensor data49 49 2A 00 … CRImageMagickImageMagicknot tested yet
opens only, nothing to writeDigital Negative
.dngDigital NegativeAdobe open RAW49 49 2A 00ImageMagickImageMagicknot tested yet
opens only, nothing to writeNikon RAW
.nefNikon RAWNikon sensor data4D 4D 00 2AImageMagickImageMagicknot tested yet
opens only, nothing to writeSony RAW
.arwSony RAWSony sensor data49 49 2A 00ImageMagickImageMagicknot tested yet
opens only, nothing to writeFujifilm RAW
.rafFujifilm RAWFujifilm sensor dataFUJIFILMCCD-RAWImageMagickImageMagicknot tested yet
opens only, nothing to writeOlympus RAW
.orfOlympus RAWOlympus / OM sensor data49 49 52 4FImageMagickImageMagicknot tested yet
opens only, nothing to writePanasonic RAW
.rw2Panasonic RAWPanasonic sensor data49 49 55 00ImageMagickImageMagicknot tested yet
1986TIFFAldus and Microsoft publish TIFF for scanners and desktop publishing.
1987GIFCompuServe’s 256-colour LZW format; 89a adds transparency and animation in 1989.
1992JPEGITU-T T.81: DCT compression for photographs.
1996PNG 1.0Patent-free replacement for GIF, with full alpha, after the Unisys LZW licensing dispute.
2010WebPGoogle derives a still-image format from the VP8 video codec.
2017HEIC on iPhoneiOS 11 makes HEVC-coded HEIF the camera default.
2019AVIF 1.0AV1 stills in the HEIF container, royalty-free.
2022JPEG XLISO/IEC 18181 published; browser support stays patchy.
2024AVIF everywhereEdge adds AVIF decoding, so all major browsers read it.

Every format this converter can read or write, with the bytes that identify it on disk. The measured columns above fill in when you run the test on your own image.

Web & everyday 10 formats

ExtensionFormatFile signatureTypical use
.jpgJPEGFF D8 FFphotos; opens on every device
.pngPNG89 50 4E 47lossless with transparency
.webpWebPRIFF … WEBPsmall web images, alpha
.avifAVIF… ftypavifAV1 stills, smallest
.gifGIF47 49 46 38256 colours, animation
.svgSVG<svgvector; written with the pixels inside
.svgzSVGZ1F 8Bgzip-compressed SVG
.apngAnimated PNG89 50 4E 47 (acTL)PNG with frames
.jxlJPEG XLFF 0A / JXLISO 18181, lossless JPEG recompression
.qoiQOI71 6F 69 66Quite OK Image, fast lossless

Print & professional 12 formats

ExtensionFormatFile signatureTypical use
.tiffTIFF49 49 2A 00print, scans, master files
.tifTIFF (.tif)49 49 2A 00same format, short extension
.psdPhotoshop38 42 50 53Photoshop document, flattened
.xcfGIMP67 69 6D 70GIMP project file
.exrOpenEXR76 2F 31 01float HDR for VFX
.hdrRadiance HDR#?RADIANCERGBE high dynamic range
.ddsDirectDraw Surface44 44 53 20GPU textures for games
.tgaTargafooter TRUEVISION3D and game pipelines
.jp2JPEG 200000 00 00 0C 6A 50wavelet; medical, archives, cinema
.jpsStereo JPEGFF D8 FFside-by-side 3D photo
.pfmPortable float mapPF / Pf32-bit float pixels
.ftsFITSSIMPLE =astronomy data

Phone photos & JPEG names 7 formats

ExtensionFormatFile signatureTypical use
.heicHEIC… ftypheiciPhone photos (HEVC)
.heifHEIF… ftypmif1the container behind HEIC
.jpegJPEG (.jpeg)FF D8 FFsame bytes as .jpg
.jpeJPEG (.jpe)FF D8 FFsame bytes as .jpg
.jfifJFIFFF D8 FF E0 … JFIFsame bytes as .jpg
.jfiJPEG (.jfi)FF D8 FFsame bytes as .jpg
.jifJPEG (.jif)FF D8 FFsame bytes as .jpg

Windows & icons 5 formats

ExtensionFormatFile signatureTypical use
.bmpBMP42 4Duncompressed Windows bitmap
.dibDIBBITMAPINFOHEADERBMP without the file header
.icoICO00 00 01 00favicons, 16–256 px
.curCursor00 00 02 00Windows mouse cursor
.icnsApple icon69 63 6E 73macOS app icons

Unix & X11 7 formats

ExtensionFormatFile signatureTypical use
.xpmX PixMap/* XPM */C source with a colour table
.xbmX BitMap#define1-bit C source
.xwdX Window dumpheader size, version 7X11 screen capture
.xvXV thumbnailP7 332xv viewer thumbnails
.sunSun Raster59 A6 6A 95SunOS workstations
.sgiSGI01 DASilicon Graphics, RLE
.rasSun Raster (.ras)59 A6 6A 95same as .sun

Netpbm & raw pixels 8 formats

ExtensionFormatFile signatureTypical use
.ppmPortable pixmapP6RGB, no compression
.pbmPortable bitmapP41-bit black and white
.pgmPortable graymapP5greyscale
.pnmPortable anymapP1–P6any of the three above
.pamPortable arbitrary mapP7with alpha
.rgbRaw RGBnone (headerless)bare RGB bytes; size must be known
.rawRaw pixelsnone (headerless)bare greyscale bytes
.fffarbfeld66 61 72 62 66 65 6C 6416-bit RGBA, suckless

Legacy 6 formats

ExtensionFormatFile signatureTypical use
.pcxPCX0A 0? 01ZSoft Paintbrush, DOS
.pictPICT512-byte gap, then sizeclassic Mac QuickDraw
.pctPICT (.pct)512-byte gap, then sizesame as .pict
.pcdKodak Photo CDPCD_IPI at 20481990s CD scans
.pdbPalm databaseVimg at 60Palm OS image viewer
.palmPalm bitmapwidth, height, row bytesPalm OS graphics

Specialised 8 formats

ExtensionFormatFile signatureTypical use
.vipsVIPS08 F2 A6 B6libvips native
.viffVIFFAB 01Khoros visualisation
.mngMNG8A 4D 4E 47multiple-image PNG
.mtvMTV"w h" as textMTV ray tracer
.wbmpWireless bitmap00 001-bit WAP phones
.pgxPGXPG MLJPEG 2000 test images
.palPALnone (headerless)raw 4:2:2 YUV
.mapColour mapnone (headerless)palette plus indices

Camera RAW 7 formats

ExtensionFormatFile signatureTypical use
.cr2Canon RAW49 49 2A 00 … CRCanon sensor data
.dngDigital Negative49 49 2A 00Adobe open RAW
.nefNikon RAW4D 4D 00 2ANikon sensor data
.arwSony RAW49 49 2A 00Sony sensor data
.rafFujifilm RAWFUJIFILMCCD-RAWFujifilm sensor data
.orfOlympus RAW49 49 52 4FOlympus / OM sensor data
.rw2Panasonic RAW49 49 55 00Panasonic sensor data

When changing the format isn't the whole job