How to Change the File Format of a Picture

Changing a picture's file format is one of those tasks that sounds technical but is actually straightforward once you understand what's happening under the hood. Whether you're trying to shrink a file for email, convert a PNG to JPG for a website, or turn a HEIC photo from your iPhone into something your Windows PC can open, the process follows the same basic logic — and there are multiple ways to get there depending on what tools you have available.

What "Changing the File Format" Actually Means

When you change a picture's file format, you're re-encoding the image data into a different structure. Each format stores color, transparency, and compression information differently. You're not just renaming the file — a JPG renamed to PNG is still a JPG internally and won't behave like a true PNG.

A proper format conversion reads the image data and rewrites it according to the new format's rules. This is why dedicated tools matter.

Common Image Formats and When They're Used

FormatBest ForSupports TransparencyTypical Use
JPG / JPEGPhotos, complex imagesNoWeb, email, social media
PNGGraphics, screenshots, logosYesWeb design, UI, archiving
WebPWeb images (modern browsers)YesOptimized web delivery
HEICiPhone photosYesiOS default capture format
GIFSimple animationsLimitedShort loops, memes
BMPUncompressed imagesNoLegacy Windows use
TIFFHigh-quality archivingYesPrint, professional editing
AVIFNext-gen web imagesYesHigh efficiency web use

Understanding which format suits your end goal is the first decision — and it shapes which conversion method makes sense.

Method 1: Using Built-In Tools on Your Device 🖼️

Most operating systems include native options that handle basic conversions without installing anything.

On Windows, open the image in Paint or Photos, then use File → Save As and select a different format from the dropdown. Paint supports JPG, PNG, BMP, GIF, and TIFF natively. For HEIC files from iPhones, Windows may require a codec installed from the Microsoft Store before it can read the source file.

On macOS, the built-in Preview app is surprisingly capable. Open the image, go to File → Export, and choose your output format from the Format dropdown. Preview supports JPG, PNG, TIFF, PDF, and several others. For batch conversions, you can select multiple files in Finder, open them all in Preview, then export them together.

On iPhone (iOS 16+), you can long-press an image in the Files app or Photos and share it — some third-party apps in the share sheet handle conversion. Alternatively, iOS has a built-in option to shoot in Most Compatible format (JPG) instead of HEIC, found in Settings → Camera → Formats.

On Android, the default gallery or Files app often doesn't support direct format conversion. You'll typically need a third-party app or a web-based tool.

Method 2: Using Free Desktop Software

For more control — especially over quality settings, compression levels, and batch processing — dedicated image software gives you meaningful options.

GIMP (free, cross-platform) supports nearly every format and lets you control export quality precisely. Use File → Export As rather than Save As, since GIMP's native save format is its own .xcf.

IrfanView (Windows, free) is lightweight and excellent for batch conversions. Its batch dialog lets you convert hundreds of images in one pass, choosing the output format and quality settings for each run.

Photoshop (subscription-based) gives the most control, including format-specific options like progressive JPEG encoding, PNG compression levels, and WebP quality tuning.

Method 3: Web-Based Converters

If you're on a device without suitable software, browser-based tools handle most common conversions without installation. Services like Squoosh (Google's open-source tool), Convertio, and CloudConvert accept uploads and return the converted file.

Key considerations with web converters:

  • Privacy: You're uploading your image to a third-party server. Avoid this for sensitive or private photos.
  • File size limits: Free tiers often cap uploads at 10–100MB.
  • Quality control: Not all tools expose compression settings, so output quality varies.

The Variables That Shape Your Result 🔍

Format conversion isn't always lossless, and the outcome depends on several factors:

Source format matters. Converting a JPG to PNG doesn't recover detail that JPG compression already discarded. You get a PNG-structured file, but the image quality ceiling is still set by the original JPG.

Lossy vs. lossless compression is a real distinction. JPG is lossy — each save cycle can degrade quality. PNG and TIFF are lossless. Converting between lossy formats repeatedly compounds degradation.

Transparency handling trips people up. If you convert a PNG with a transparent background to JPG, that transparency is gone — usually replaced with white or black, depending on the tool.

Color depth and profiles. Professional images shot in wide color spaces (like Adobe RGB or ProPhoto RGB) may shift visually when converted to formats that assume sRGB. This matters most in print and photography workflows.

Target platform requirements. A format that works perfectly in Chrome may not render in an older CMS, email client, or app. WebP and AVIF, for example, aren't universally supported in legacy environments.

Batch Conversion vs. Single File

Converting one file is trivial with almost any method. Converting hundreds of product photos, a photo library, or assets for a web project is a different scale — and that's where desktop tools with batch processing (IrfanView, GIMP's Script-Fu, or command-line tools like ImageMagick) outperform drag-and-drop web tools.

ImageMagick, for developers and technically comfortable users, handles complex batch jobs from the command line with precise control over every output parameter.

What Determines the Right Approach for You

The method that works best shifts based on factors specific to your situation: the operating system you're on, how many files you need to convert, whether the images are private, whether you need to control output quality, what the destination platform expects, and how often you'll need to do this.

Someone converting a single vacation photo to send via email has entirely different needs from a web developer batch-converting a product catalog to WebP. The tools, trade-offs, and quality considerations that matter in one scenario are largely irrelevant in the other — which is why your own workflow and constraints are really the deciding factor here.