JPEG files open in any image viewer, web browser, or photo app you already have

A JPEG is a compressed image format — the kind of file your phone camera creates or that you download from the web. You do not need special software. On Windows, double-click the file and it opens in your default image viewer. On Mac, it opens in Preview. On iPhone or Android, it opens in your Photos app. If you want to edit the image instead of just viewing it, you will need photo editing software, but opening it requires nothing more than what came with your device.

The steps differ slightly depending on what device you use and whether the file is on your computer, phone, or in an email attachment. The most common problem is not that JPEG files will not open — they almost always will — but that they open in a program you do not want to use. That is easy to change.

Key Takeaways

  • JPEG files open automatically in your device's default image viewer without any software installation.
  • On Windows, right-click a JPEG and choose "Open with" to pick a different program permanently or just once.
  • On Mac, Preview opens JPEG files by default, but you can change this in the File menu or by right-clicking the file.
  • On iPhone and Android, JPEG files in your Photos app open immediately, and files from email or downloads go to your camera roll or Files app.
  • Web browsers like Chrome, Firefox, and Safari display JPEG files directly without downloading them first.

Opening JPEG files on Windows

Double-click any JPEG file on your computer and it opens in whatever image viewer Windows has set as the default — usually the Photos app on Windows 10 and later, or Windows Photo Viewer on older systems. If the file opens in a program you do not want to use, right-click it and select "Open with" to see other options. You can choose to open it just that one time, or click "Choose another app" and then "Always use this app" to make the change permanent.

Common programs that open JPEG files on Windows include Photos, Paint, Windows Photo Viewer, Photoshop, GIMP, and any web browser. If you want to edit the image, Photoshop and GIMP are full-featured editors. Paint is simpler and comes built in. If you only want to view and organize photos, the Photos app is the fastest option. To change your default permanently without opening a file first, go to Settings > Apps > Default apps, scroll down to "Photo viewer", and click the current default to change it.

Opening JPEG files on Mac

Double-click a JPEG file and it opens in Preview, which is Mac's built-in image viewer. Preview also lets you crop, rotate, and make basic edits without opening a separate program. If you want to open the file in a different program, right-click it, hover over "Open With", and select the program you prefer. To change the default permanently, right-click the file, select "Get Info", scroll to "Open with", choose your preferred program, and click "Change All".

Other programs that open JPEG files on Mac include Safari, Photos, Photoshop, and GIMP. The Photos app is useful if you want to organize and sync images across your Apple devices. Photoshop and GIMP are for editing. If you receive a JPEG in Mail, you can click it to view it, or right-click and select "Open With" to choose a different program.

Opening JPEG files on iPhone and Android

On iPhone, JPEG files from your camera or downloads appear in the Photos app automatically. Tap any image to view it full-screen. If you receive a JPEG in Mail or Messages, tap it to open it in the Photos app, or press and hold to see options like "Save Image" or "Copy". Files downloaded from Safari go to your Files app by default — open Files, tap Downloads, find the JPEG, and tap it to view it in Photos.

On Android, JPEG files appear in your Photos or Gallery app depending on your phone's manufacturer. Tap any image to view it. If you download a JPEG from the web or email, it goes to your Downloads folder — open Files or My Files, navigate to Downloads, and tap the image to open it in your default photo viewer. You can change which app opens JPEG files by pressing and holding the file, tapping "Open with", and selecting a different app. To make that app the default, check the box that says "Always use this app".

Opening JPEG files in web browsers

Type or paste a JPEG file path into the address bar of Chrome, Firefox, Safari, or Edge and the image displays directly in the browser window. You do not need to download it first. Right-click the image and select "Save image as" to download it to your computer if you want to keep a copy. This works for JPEG files stored on your computer (type the full file path) or hosted on a website (paste the image URL).

Browsers are useful when you want to view a JPEG without opening a separate program, or when you want to download multiple images quickly. You can also drag and drop a JPEG file from your file explorer or Finder directly into a browser window to open it.

What to do if a JPEG file will not open

A JPEG file that will not open usually has one of three problems: the file is corrupted, the file extension is wrong, or the program trying to open it is broken. Try opening the file in a different program first — if it opens in your web browser or a different image viewer, the original program is the problem, not the file. If it does not open in any program, the file itself may be damaged.

Check the file name to make sure it ends in .jpg or .jpeg. If it ends in something else but looks like an image, right-click it, select "Rename", and change the extension to .jpg. If the file is very small (under 1 KB) or very large (over 500 MB), it may be corrupted. If you downloaded it from the web, try downloading it again. If you received it in email, ask the sender to resend it. If the file came from your camera or phone, try connecting the device to your computer and copying the file again.

Converting JPEG to other formats

If you need to convert a JPEG to PNG, GIF, BMP, or another format, you have several options. On Windows, open the file in Paint, go to File > Save As, and choose a different format from the dropdown menu. On Mac, open the file in Preview, go to File > Export, and select a new format. Both methods are free and built into your operating system.

For more control over quality and compression, use free online converters like CloudConvert or Zamzar, or download free software like GIMP or ImageMagick. These tools let you batch-convert multiple files at once and adjust settings like resolution and quality. If you use Photoshop, you can export to almost any image format through File > Export As.

Frequently Asked Questions

Why does my JPEG file open in the wrong program?

Windows and Mac assign a default program to each file type based on what you have installed. If you recently installed new software, it may have changed your default. Right-click the file, select "Open with", and choose the program you prefer. Check the box to make it the default for all JPEG files going forward.

Can I open a JPEG file on my phone if I do not have a photo app?

Yes. Every phone comes with a default image viewer. If you deleted yours, download a free photo app from the Google Play Store (Android) or App Store (iPhone). Google Photos, OneDrive, and Dropbox all open JPEG files and are free to download.

What is the difference between JPEG and JPG?

There is no difference. JPEG and JPG are the same file format with different extensions. Windows originally limited file extensions to three letters, so JPG was used instead of JPEG. Both work the same way and open in the same programs. You can rename a .jpeg file to .jpg or vice versa without changing the image.

Do I need to install software to open a JPEG file?

No. Every computer and phone comes with software that opens JPEG files. You only need to install additional software if you want to edit the image or convert it to a different format.

Can I open a JPEG file that is attached to an email?

Yes. In most email programs, you can click the attachment to view it, or right-click it to save it to your computer. On Gmail, click the image to preview it, or click the download arrow to save it. On Outlook, click the image to view it in the preview pane.