How to Open JPG File (JPEG) on Windows, Mac, iPhone & Android
To open a JPG or JPEG photo, use Windows Photos, Mac Preview, your phone's photo app or a web browser. If it will not open, check the error and whether the file really is a JPEG before trying the fixes below. The local viewer also reads photo metadata and offers a copy with that metadata removed.
Choose what you need
How to open a JPG file
- Windows 11/10: double-click the file; it opens in the Photos app. Paint and Microsoft Edge open it too (right-click > Open with).
- Mac: double-click to open it in Preview, or select it and press Space for a Quick Look preview.
- iPhone/iPad: tap it in Photos, Mail, Messages or the Files app.
- Android: tap it in Google Photos, your Gallery app or Files by Google.
- Chromebook: double-click it in the Files app to open it in Gallery.
- Any device: drag it into a browser window, or drop it into the online viewer above, which also shows the camera data and GPS location.
If the photo still won't open, find your situation below:
| What you see | What it usually means | What to do |
|---|---|---|
| "File system error (-2147219196)" or another long negative number | The Windows Photos app is broken, not your photo | Open it in Paint, then repair Photos (steps) |
| "It looks like we don't support this file format" | File is really HEIC, WEBP or AVIF, or is incomplete | Check the real format with the tool (details) |
| "You need an extension to use this file" | It's an iPhone HEIC photo | Install the HEIF/HEVC extensions or convert HEIC to JPG |
| Rows of strange characters | Opened in a text editor, or it's Base64 text or a web page | See JPG opens as text |
| Photo opens in a browser, Notepad or the wrong app | Default app changed | Change the default app |
| Gray block, half a picture, shifted colors | The file is damaged | Recover a corrupted JPG |
| Named "photo (1).jpg" or "photo.jpg (1)" | A duplicate download | Open or rename it |
| Photos app missing or won't start | App removed or damaged | Reinstall Microsoft Photos (steps) |
Open JPG File Online: View, Check GPS & Real Format (Free)
Drop a .jpg or .jpeg file below to view it, read its EXIF metadata (camera, date, settings) and see whether it contains a GPS location. The tool also checks the file's real format, so a HEIC, WEBP, AVIF or PNG that was only renamed to .jpg is named for what it is, and a Base64 "text" JPEG is decoded. Then download a clean copy with the metadata removed. You can open JPG files here on any computer or phone without installing anything.
π Nothing is uploaded β your file never leaves this deviceΒ
No EXIF metadata was found in this file β it's likely been stripped already, or the image was created/edited by a tool that doesn't embed it.
On this page
- Free online JPG viewer & checker
- What is a JPG file?
- How to open a JPG file (quick answer)
- Open on Windows 11 and 10
- Windows Photos errors: "file system error" and more
- "JPG file is not supported": renamed HEIC, WEBP, AVIF
- JPG opens as text or garbled characters
- "Name (1).jpg" and other odd JPG names
- Open on Mac
- Open on iPhone & Android
- Open on Chromebook & Linux
- Change the default app for JPG
- Does a JPG reveal your location?
- JPG vs JPEG
- Save a JPG as PDF, PNG or WEBP
- Corrupted, gray or rotated photos
- Recover a corrupted JPG
- Make a JPG smaller
- Related file extensions
- Sources and technical references
- FAQ
What is a JPG file?
A JPG file is a photo or picture saved in the JPEG image format, the most common image format on the web and on phone and camera memory cards. JPEG stands for Joint Photographic Experts Group, the committee behind the standard, which was approved as ITU-T Recommendation T.81 in September 1992. The same format uses the extensions .jpg, .jpeg, .jpe and .jfif, and its MIME type is image/jpeg. Because support is built into every operating system, you can open a JPG file on any device without installing anything.
JPEG is a "lossy" format: it shrinks a photo by discarding detail the eye is unlikely to notice, typically to around a tenth of its uncompressed size. That makes JPG ideal for photos, but not for screenshots with sharp text or for images that need a transparent background (JPEG has no transparency; use PNG for those).
Besides the pixels, a JPG can carry hidden EXIF metadata: the camera make and model, the date and time the photo was taken, exposure settings such as ISO and shutter speed, and β on most phones with location access turned on β the GPS coordinates of where it was taken. This metadata is invisible in a normal viewer but travels with the file wherever it's shared.
| Extensions | .jpg, .jpeg, .jpe, .jfif |
|---|---|
| File signature | Starts with bytes FF D8 FF and ends with FF D9 |
| Compression | Lossy (re-saving loses a little quality each time) |
| Transparency | Not supported |
| Metadata | EXIF (camera, date, GPS), XMP, ICC color profile |
| Opens natively on | Windows, macOS, iOS/iPadOS, Android, ChromeOS, Linux, every browser |
How to open a JPG file on Windows 11 and 10
- Double-click the photo β it opens in the built-in Photos app (listed as Microsoft Photos). Use the arrow keys to move through other photos in the same folder.
- To open JPG files in another app, right-click the photo and choose Open with > Paint, Microsoft Edge or any installed editor. Paint is the quickest test when Photos misbehaves.
- To see the camera details without any tool, right-click the file, choose Properties, then the Details tab. The same tab has Remove Properties and Personal Information for stripping metadata.
- To see thumbnails of a whole folder, in File Explorer choose View > Large icons.
JPG won't open in Windows 11 Photos: error messages and fixes
If you can't open a JPG file in Photos but the same photo opens in Paint or a browser, the photo is fine and the Photos app needs fixing. Start by opening the file in Paint: that one test tells you which half of this section you need.
| Message in Photos | Cause | Fix |
|---|---|---|
| File system error (-2147219196) | A Photos/Microsoft Store app problem (damaged registration, permissions or a pending update), not disk damage | Steps 1β4 below |
| File system error (-2147416359) | Same family of Photos/Store app faults | Steps 1β4 below; reset the Store cache with wsreset.exe |
| The specified procedure could not be found | Photos' double-click association is broken (Open with > Photos usually still works) | Step 2: Repair Photos |
| It looks like we don't support this file format | Not a real JPEG, or the file is incomplete | Check the real format |
| The file is either corrupt or the file format not supported / "we can't open this file" | Damaged file, or malformed metadata written by some editors | Open it in Paint or a browser and re-save it; see corrupted JPG |
| You need an extension to use this file | The file is HEIC/HEIF (iPhone) | Install HEIF Image Extensions and HEVC Video Extensions from the Microsoft Store, or convert to JPG |
Fix the Photos app, step by step
- Update Photos: open the Microsoft Store, go to Library (Downloads on older versions) and install any updates, then also install pending updates in Settings > Windows Update.
- Repair: go to Settings > Apps > Installed apps, click the β¦ next to Microsoft Photos, choose Advanced options and click Repair. Try the photo again.
- Reset: if Repair didn't help, click Reset on the same page. This resets the app's settings and data; your photo files themselves are not deleted.
- Reinstall: as a last resort, open Terminal (Admin) and run
Get-AppxPackage *Microsoft.Windows.Photos* | Remove-AppxPackage, then install Microsoft Photos again from the Microsoft Store. This is also the fix if the Photos app is missing altogether.
While you fix Photos, you can still view the picture in Paint, Edge or the online viewer above. If some JPGs still won't open after a repair but open in other apps, re-save them from Paint (File > Save as > JPEG picture); this rewrites the header and metadata that tripped Photos up.
"JPG file is not supported": when it's really HEIC, WEBP or AVIF
When an app says a JPG isn't supported, the file usually isn't a JPEG at all. Images saved from websites, messaging apps or iPhones are often WEBP, HEIC or AVIF files that were given a .jpg name. Apps that trust the name try to decode it as a JPEG and fail, and even apps that read the content can't show it without the right codec (HEIC without the HEVC extension, for example).
1. Check whether it's really a JPEG
Drop the file into the tool above: it reads the first bytes and tells you the real format. A renamed WEBP, PNG or AVIF is shown anyway, with a button to save a genuine JPG copy; a HEIC is identified with a link to the converter. Without the tool, open the file in Notepad and look at the first few characters:
| First bytes (as Notepad shows them) | Real format | What to do |
|---|---|---|
ΓΏΓΓΏ | JPEG (genuine) | The file is damaged or Photos needs repair β see Photos errors |
RIFF β¦ WEBP | WEBP | Rename to .webp or convert WEBP to JPG β see the WEBP guide |
ftypheic or ftypmif1 near the start | HEIC (iPhone) | Convert HEIC to JPG β see the HEIC guide |
ftypavif near the start | AVIF | Convert AVIF to JPG β see the AVIF guide |
β°PNG | PNG | Rename to .png or convert PNG to JPG |
<!DOCTYPE html> | A saved web page | Go back to the site and save the image itself (right-click > Save image as) |
Close Notepad without saving. If none of these match, the file identifier on this site checks dozens of other signatures. For iPhone photos, setting Settings > Camera > Formats > Most Compatible makes the camera save JPEG instead of HEIC from now on.
2. Check that the file is complete
Look at the size in File Explorer. A 0 KB file, or one far smaller than similar photos, was cut off during download or copying and has to be fetched again. Files in a OneDrive or other cloud-synced folder that show a cloud icon are only placeholders until downloaded β if you're offline, they can't open.
3. Repair the Photos app
If the file is a genuine, complete JPEG that opens fine in a browser or Paint but not in Photos, follow the Repair and Reset steps above.
JPG opens as text or garbled characters
If you open a JPG file and see lines of random symbols, it has been opened by a text editor, or isn't an image file at all. The first characters tell you which:
- Starts with
ΓΏΓΓΏfollowed by gibberish: it's a normal JPEG opened in Notepad or another text editor, usually because a text editor became the default app. Close it without saving (saving can damage the photo) and set Photos or Preview as the default. - Starts with
/9j/ordata:image/jpeg;base64,: the file is a photo encoded as Base64 text, as some web apps, APIs and email exports produce. Drop it into the tool above: it decodes the text and lets you save a normal .jpg. - Starts with
<!DOCTYPE html>or<html: you saved the web page around the picture, not the picture. Open the page again and use right-click > Save image as. - Name ends in
.jpg.txtonce extensions are visible: the file was saved as text. If it starts withΓΏΓΓΏ, rename it to end in .jpg.
"Name (1).jpg" and other odd JPG file names
A file called photo (1).jpg is a normal JPG: browsers such as Chrome and Edge add (1), (2) and so on when a file with the same name already exists in the download folder. You open a JPG file with (1) in its name exactly like any other photo; delete the copies you don't need.
photo.jpg (1)orphoto.jpg(1)β the number ended up after the extension, so Windows no longer recognizes it as a picture. Rename it tophoto (1).jpg.photo.jpg.jpgβ harmless; it shows up when an extension was typed while extensions were hidden.photo.jpg.exe,.scror.jsβ not a photo. Don't open it; it's a common malware disguise..jfifor.jpeβ the same JPEG format with another extension; rename to .jpg if a website refuses it.
How to open a JPG file on Mac
- Double-click the file to open it in Preview, macOS's built-in image viewer. To glance at it without opening an app, select it in Finder and press Space (Quick Look).
- In Preview, click the Info button in the toolbar (or choose Tools > Show Inspector) to see the EXIF details, including where the photo was taken if it contains GPS data.
- To add the photo to your library, drag it into the Photos app. To edit, use Preview's Markup toolbar or any editor.
How to open JPG files on iPhone & Android
Both iPhone and Android open JPG files natively; the only question is where the file landed.
iPhone and iPad
- Photos you take are in the Photos app. A JPG sent in Mail or Messages opens with a tap.
- A downloaded JPG is in the Files app (usually Downloads); tap it to preview. To move it into Photos, tap the Share button and choose Save Image.
- The iPhone camera normally saves HEIC, not JPG. To get JPG photos, set Settings > Camera > Formats to Most Compatible.
Android
- Photos open in Google Photos or your phone's Gallery app (Samsung Gallery on Galaxy phones).
- A downloaded or received JPG is in Files by Google (or Samsung My Files) under Downloads or Images; tap it to open. If Android asks which app to use, pick your photo app and choose Always.
- A JPG inside a ZIP must be extracted first β see how to open ZIP files.
How to open JPG files on Chromebook and Linux
Chromebook: open the Launcher, start the Files app, find the photo in Downloads, My Drive or Camera, and double-click it. It opens in the built-in Gallery app, where you can also crop, rotate and adjust it.
Linux: every desktop ships an image viewer that opens JPG files on double-click β GNOME's Image Viewer and KDE's Gwenview, for example β and GIMP edits them. From a terminal, xdg-open photo.jpg opens the photo in the default viewer.
Change which app opens JPG files
If double-clicking a photo launches a browser, a text editor or an app you don't recognize, the file is fine β only the default app changed (often after installing a new image or PDF program). The app you choose below is the one that will open JPG files from then on.
Windows 11
- Right-click the photo and choose Open with > Choose another app.
- Pick the app you want (for example Photos), then click Always. "Just once" opens it without changing anything.
- To check every image type at once, go to Settings > Apps > Default apps and type
.jpginto the box for setting a default by file type. Repeat for.jpegand.jfifβ Windows treats each extension separately, which is why one kind of JPG can open in Photos while another opens in a browser.
Mac
- Select a JPG in Finder and press Command-I (File > Get Info).
- Under Open with, choose the app β Preview is the macOS default.
- Click Change All⦠to apply it to every .jpg file, not just this one.
On Android, the default is cleared from the current handler's page under Settings > Apps (look for "Open by default" or "Set as default", depending on the phone); the next time you open a photo, Android asks which app to use.
Does a JPG file reveal your location?
It can, and it's worth checking before you post a photo publicly. When a smartphone camera has location access, it typically embeds the latitude and longitude where the photo was taken directly into the file's EXIF data β often accurate to a few meters. Anyone who gets the original file (not a re-compressed version some social platforms create) and looks at its metadata can see where you were standing.
The tool on this page reads this data and shows plainly whether it's present, so you can decide before sharing: open the JPG file in the tool before you post it. If it finds GPS coordinates, use the "Download without metadata" button: it redraws the photo on a blank canvas in your browser and saves a new JPG, which drops all EXIF and GPS data. The picture looks the same (it's re-saved at high quality, and turned upright if the camera stored a rotation tag), though it isn't a byte-for-byte copy of the original.
- Windows: right-click > Properties > Details > Remove Properties and Personal Information.
- iPhone: in the share sheet, tap Options and turn off Location before sending.
- Stop recording location: turn off location access for the camera app in your phone's privacy settings.
JPG vs JPEG β what's the difference?
There is no difference: .jpg and .jpeg are the identical file format, and so are .jpe and .jfif. The three-letter .jpg exists because MS-DOS and early Windows used "8.3" file names, which allowed at most three characters after the dot, so "JPEG" had to be shortened. Macs and Linux never had that limit, so .jpeg stayed common there. Every program that opens one opens the others, and renaming between them changes nothing inside the file.
To open a JPEG file, follow exactly the same steps as for a .jpg; how to view a JPEG file is no different on any device. Which spelling to use? Either. If a website upload form rejects one spelling, rename the file to the other. For a full comparison with PNG, HEIC, AVIF and WEBP, see best image format.
Save a JPG as PDF, PNG or WEBP
You never need to convert a photo just to open a JPG file; convert only when a form or program asks for another format. Forms and job portals often want a PDF, and some editors need a lossless copy. Each conversion has its own free page on this site; they all run in your browser without uploading the photo.
| You need | Use | Good to know |
|---|---|---|
| One PDF from one or more photos | JPG to PDF converter | Or Windows Ctrl+P > Microsoft Print to PDF; Mac Preview > File > Export as PDF |
| A lossless copy for editing or sharp text | JPG to PNG converter | PNG is bigger and can't restore detail JPEG already removed |
| Smaller images for a website | JPG to WEBP converter | WEBP is usually smaller at similar quality |
| A JPG from an iPhone, WEBP, AVIF or PNG image | HEIC, WEBP, AVIF or PNG to JPG | The tool above also saves a real JPG from a renamed WEBP, PNG or AVIF |
Common JPG problems: corrupted, gray or rotated photos
"This file is corrupted and cannot be opened"
Usually the file was cut off during a download or transfer, or the original save was interrupted. Re-download it from the original source; a partially transferred file can't be completed afterwards.
Image opens but looks like solid gray or garbled blocks
The header is intact but the compressed image data is damaged. Some viewers can still show the undamaged top portion; full recovery usually isn't possible without the original. See the recovery steps below.
Photo appears rotated the wrong way
Most cameras store an "Orientation" tag in EXIF rather than physically rotating the pixels, and some apps and websites ignore it. Rotate it in an editor and save, or use the tool's "Download without metadata" button, which saves the photo already turned upright.
Recover a corrupted JPG (after data recovery, SD card or transfer errors)
Photos recovered with tools like PhotoRec or Recuva, or copied from a failing memory card, often open as a gray rectangle, show only the top part, or come out with shifted colors in the lower half. If you can't open a JPG file recovered this way, part of it was overwritten or never read correctly. Missing image data can't be recreated, but you can usually salvage more than you'd expect:
- Stop using the card or drive until you're done recovering. Every new photo written to it can overwrite more of the damaged files.
- Try a more tolerant viewer. Browsers, GIMP and IrfanView often display the undamaged part of a broken JPG where Photos shows nothing. Take a screenshot or "Save as" from there to keep what's visible.
- Extract the embedded preview. Most camera and phone JPGs carry a small thumbnail β and many cameras a larger preview β inside their EXIF data, stored separately from the main image. The free ExifTool can pull it out even when the main picture is broken.
- Re-run recovery with a different tool or a different scan mode; recovery programs reassemble fragments differently, and a second pass sometimes produces a complete file.
- Header-repair software (several paid tools exist) can rebuild a JPG whose header is damaged by borrowing the structure from a healthy photo taken with the same camera. It can't restore pixels that were overwritten.
Make a JPG smaller for email or uploads
Phone photos are often 3β8 MB each, which trips upload limits on job portals, government forms and email. Reducing the pixel dimensions shrinks the file far more than lowering quality does β a photo resized to 1600 pixels on its longest side is usually well under 1 MB and still looks sharp on screen.
- Windows: open the photo in Paint, choose Resize (Ctrl+W), set a percentage or pixel size with "Maintain aspect ratio" ticked, then File > Save as > JPEG. The Photos app also offers a Resize image option in its "β¦" menu.
- Mac: in Preview, choose Tools > Adjust Size, or use File > Export and drag the Quality slider down.
- iPhone: when you attach photos in the Mail app, it offers to send them at Small, Medium, Large or Actual Size.
- Command line:
magick photo.jpg -resize 1600x1600 -quality 82 photo-small.jpg(ImageMagick) keeps the aspect ratio and fits the photo inside 1600Γ1600.
Sources and technical references
Facts on this page were checked against the JPEG standard and the official Microsoft, Apple and Google help pages below (October 2026).
- ITU-T Recommendation T.81 (09/92) β the JPEG standard: digital compression and coding of continuous-tone still images (PDF mirrored by the W3C).
- Library of Congress β JPEG File Interchange Format (JFIF) β extensions, MIME type and file signature.
- Microsoft Support β Repair apps and programs in Windows β the Repair and Reset options under Advanced options.
- Microsoft Support β Change default apps in Windows β setting a default by file type.
- Microsoft Support β Photos app: "You need an extension to use this file" β HEIF Image Extensions and HEVC Video Extensions.
- Microsoft Q&A β File system error (-2147416359) and "The specified procedure could not be found" β community fixes (update, Repair/Reset, reinstall Photos).
- Apple Support β Using HEIF or HEVC media on Apple devices β Camera > Formats > Most Compatible.
- Apple Support β View information about images in Preview and Quick Look on Mac.
- Chromebook Help β Open & edit photos β Files app and Gallery.
- Wikipedia β 8.3 filename β why .jpg has three letters.
Frequently asked questions
What program opens a JPG file?
Every device opens a JPG file with a built-in app: Photos on Windows 11, Preview on a Mac, Photos or the Files app on iPhone, Google Photos or Gallery on Android, and the Gallery app on a Chromebook. Any web browser also opens JPG files, and the free tool on this page shows the photo plus its hidden metadata.
Why won't my JPG file open in Windows 11?
Usually the Photos app, not the photo, is the problem. Open the file in Paint or Edge: if it shows there, repair or reset Photos in Settings > Apps > Installed apps. If no app opens it, the file is incomplete, damaged, or really a HEIC, WEBP or AVIF image renamed to .jpg.
What does "file system error" mean when I open a JPG?
Messages such as "File system error (-2147219196)" or "(-2147416359)" come from the Photos app and rarely mean your disk or photo is damaged. Update Photos from the Microsoft Store, then use Repair and Reset under its Advanced options, and install pending Windows updates. Paint opens the photo in the meantime.
What is a "Name (1).jpg" file and how do I open it?
It is an ordinary JPG. Browsers and some apps add (1), (2) and so on when a file with the same name already exists in the folder. Open it like any photo. If the number ended up after the extension, as in "photo.jpg (1)", rename it so the name ends in .jpg again.
Why does my JPG open as text or strange characters?
Either a text editor is set as the default app, or the file is not an image. A real JPEG shown in Notepad begins with ΓΏΓΓΏ or unreadable symbols. Text starting with /9j/ or data:image/jpeg;base64 is a Base64-encoded photo that the tool on this page can decode; text starting with <!DOCTYPE html> is a saved web page.
What's the difference between JPG and JPEG?
There is none: .jpg and .jpeg are the same JPEG image format. The three-letter .jpg became common because MS-DOS and early Windows only allowed three-character extensions. .jpe and .jfif are further variants of the same thing. Any app that opens one opens the others, and renaming between them is safe.
How do I open a JPG file on iPhone?
Photos you take are in the Photos app. A JPG received in Mail or Messages opens with a tap, and one saved in the Files app opens in a preview when you tap it. To add it to your library, tap the Share button and choose Save Image.
Does a JPG photo contain my location?
It can. Most smartphones embed GPS coordinates in a photo's EXIF metadata when location access is allowed for the camera. That location travels with the original file wherever it is shared unless it is removed. The tool on this page checks for GPS data and shows the coordinates if they are present.
How do I remove EXIF and GPS data from a JPG before sharing it?
Use the "Download without metadata" button in the tool on this page. It redraws the photo in your browser and saves a new JPG without EXIF or GPS data. To stop future photos recording a location, turn off location access for the camera app in your phone's privacy settings.
What is a .jfif file, and how do I turn it into a JPG?
JFIF (JPEG File Interchange Format) is a JPEG image with a different extension; Windows sometimes uses .jfif when you save a picture from a browser. Nothing needs converting: with file name extensions shown in File Explorer, rename it from .jfif to .jpg and it opens and uploads like any other JPG.
Can a JPG file contain a virus?
A genuine JPG is image data and cannot run by itself. The real risks are disguised files such as photo.jpg.exe, with the .exe hidden by Windows, and rare bugs in outdated viewers. Turn on File name extensions in File Explorer, keep your system updated, and treat any "photo" that asks to install something as malware.
Can I open camera RAW files the same way as a JPG?
Not always. RAW files (.CR3, .NEF, .ARW, .DNG and others) are unprocessed sensor data. On Windows, Photos opens them after you install the free Raw Image Extension from the Microsoft Store; on a Mac, Preview and Photos open most RAW formats. Many cameras save a JPG alongside, and that is the one to share.
How do I turn a JPG into a PDF?
Use the free JPG to PDF converter on this site, which combines one or more photos into a PDF in your browser without uploading them. On Windows you can also open the photo, press Ctrl+P and choose Microsoft Print to PDF; on a Mac, open it in Preview and choose File > Export as PDF.
Last updated .