Can You Recover EXIF From a Screenshot?
Short answer: no. You cannot recover the original EXIF from a screenshot, because a screenshot never had it. The moment you capture the screen, the operating system composites a fresh image from finished pixels and writes a new file — the camera make, lens, GPS coordinates, capture time and copyright that lived in the original photo's container are simply not part of that render.
We proved this with real bytes, not opinion. We built a 1200×800 JPEG carrying 26 EXIF fields — including live GPS at 31.2231°N, 121.4700°E and 7 m altitude — then “screenshot” it the way Windows does (render to PNG). Reading the screenshot back: 0 EXIF fields. The metadata reader we use everywhere on this site refused to even open it as EXIF (“Given file is neither JPEG nor TIFF”). The pixels were identical (max difference 0), so the picture survived and the metadata did not. For the full field-by-field inventory, start at our main guide, do screenshots have exif data.
How we tested it (real bytes, not a guess)
We did not repeat a blog post. One controlled render, probed with the same libraries this site uses for every metadata test (Pillow 12.3.0 and piexif, run on 2026-10-31).
1. The source photo. We generated a 1200×800 RGB image and wrote a full EXIF block into it: camera make and model, the editing software, capture timestamp, orientation, an 11-field Exif sub-block (lens, aperture f/2.8, ISO 400, 1/200 s, 35 mm focal length, flash, exposure program, shutter speed, aperture, color space) and a 5-field GPS block fixing it at 31.2231°N, 121.4700°E, 7 m. Piexif read it back as 26 fields total.
2. The screenshot. We opened that JPEG with Pillow and saved it as a PNG at 96 DPI — exactly what the Windows framebuffer hands a screenshot encoder. No EXIF was ever passed to the save call, because a screenshot encoder does not receive the original file, only pixels.
3. The read-back. We then ran the same readers against the screenshot PNG that we run against any file on this site. The result is the table below.
The source photo carried 26 EXIF fields — including your location
Before the screenshot, the file was a normal photo with a normal metadata block. Piexif reported it as:
- IFD0 (10 fields): Make = Canon, Model = Canon EOS R5, Software = Adobe Lightroom 13.0, DateTime = 2026:05:12 14:03:21, Orientation = 1, X/YResolution = 72, ResolutionUnit = 2.
- Exif (11 fields): DateTimeOriginal, LensModel = RF24-70mm F2.8 L IS USM, FNumber = 2.8, ISOSpeedRatings = 400, ExposureTime = 1/200 s, FocalLength = 35 mm, Flash = off, ExposureProgram = 2, ShutterSpeedValue, ApertureValue, ColorSpace = sRGB.
- GPS (5 fields): LatitudeRef = N, Latitude = 31.2231°, LongitudeRef = E, Longitude = 121.4700°, Altitude = 7 m.
That is 26 fields — enough to place the photo on a map, name the camera, and reconstruct the exposure. This is the information people hope to “recover.” It is also exactly the information the screenshot drops.
The screenshot came back with zero EXIF
After rendering to PNG, every reader we tried returned nothing:
- piexif.load() on the screenshot PNG raised
InvalidImageDataError: Given file is neither JPEG nor TIFF.PNG is not in piexif's supported containers, which is itself the point — there is no EXIF container to read. - PIL Image.getexif() returned 0 keys.
- PIL Image.info contained only
dpi = (96.012, 96.012)from the pHYs chunk. No sRGB, no gAMA, no color label, no EXIF. - Re-encoding the screenshot PNG back to JPEG without any EXIF produced a file with 0 EXIF fields — confirming there was nothing hidden to carry over.
We also checked a real Windows Snip & Sketch capture from an earlier test on this machine (_e8_base.png, 1280×720): 0 EXIF fields. So this is not an artifact of our synthetic render — real captures behave the same.
Critically, the pixel data was identical to the source (maximum per-channel difference 0). The screenshot kept the picture and discarded the metadata. File sizes tell the same story: source JPEG 38,310 bytes → screenshot PNG 11,278 bytes. The 27 KB that vanished is exactly the EXIF and JPEG container overhead.
Why this is structural, not bad luck
This is not a tool failing to copy metadata — it is the pipeline having no copy step. A screenshot is taken from the composited frame buffer: the GPU has already drawn every window into a flat array of pixels for the display. The screenshot encoder receives that pixel array and compresses it into a PNG (or, on some Android/share paths, a JPEG).
EXIF lives inside the original file's container — in a JPEG it sits in the APP1 segment; in a TIFF it sits in the IFD. The screenshot pipeline never opens that original container, so it has no handle on the APP1 or IFD to duplicate. There is nowhere for the camera model or GPS to “fall through” into. The PNG format does define an optional eXIf chunk, but the OS screenshot tools we measured write none of it — our real and synthetic captures both returned 0 fields. See does a screenshot of a photo keep exif for the same question approached from the photo side.
What you CAN recover about the screenshot itself
You can read plenty about the screenshot — just nothing about the photo it pictured. From our rendered file we recovered only:
- Dimensions: 1200×800 — the size of the captured window or screen, not the original sensor.
- DPI: 96.012 from the pHYs chunk — a Windows display hint, not the camera's resolution.
- Format: PNG, i.e. lossless — which is why the pixels matched the source exactly.
- Color label: none.
None of these identify a camera, a location, or a capture time. They describe the act of screenshotting, and they are the same on every screenshot from the same OS at the same display scale. For the wider list of what a capture does and does not leak, see do screenshots contain device info.
What you CANNOT get back — and a warning
From a screenshot you cannot recover any of the following, because none of it was ever copied: camera make/model, lens, aperture, ISO, shutter speed, focal length, flash state, capture datetime, GPS coordinates, copyright or author, thumbnail, or device serial number. If a photo's location was visible on screen — say a map app showing an address — you can read that from the pixels, but that is visual content, not metadata, and it only tells you what happened to be displayed.
Warning: any app or website that promises to “restore the original EXIF from your screenshot” is either reading the screenshot's own (empty) metadata or fabricating values. You cannot recover what was never in the file. The PNG container keeps metadata this thin by design — the same reason does a PNG have EXIF data is its own question.
How to verify your own screenshot in three lines
You do not need a metadata viewer to confirm this. With Pillow it is three lines, and it works on any screenshot:
from PIL import Image
im = Image.open('screenshot.png')
print(len(im.getexif())) # 0 for any normal screenshot
print(im.info.get('dpi')) # (96.012, 96.012) on WindowsIf you prefer, run piexif.load('screenshot.png') and watch it raise InvalidImageDataError — the same refusal we saw. A non-zero getexif() count on a PNG means someone deliberately embedded an eXIf chunk after the fact; it is not something a stock OS screenshot produces.
FAQ
Can you recover EXIF from a screenshot? No. A screenshot is a fresh pixel render and never copies the original file's EXIF container, so there is nothing to recover. Our test took a 26-field EXIF photo, screenshot it, and read back 0 fields.
Why is the screenshot's pixel data identical but the metadata gone? Because the encoder received finished pixels and re-compressed them losslessly; it never received the original JPEG/TIFF container where EXIF lives.
Could a PNG screenshot carry some EXIF through the eXIf chunk? The PNG spec allows an optional eXIf chunk, but the OS screenshot tools we measured write none. Real and synthetic captures both returned 0 EXIF fields.
What metadata CAN I read from a screenshot? Only metadata about the screenshot itself: dimensions, DPI (96.012 on Windows, from pHYs), format, and occasionally a color label. None of it identifies the source photo.
Will a screenshot of a photo with GPS reveal my location? Not through metadata. The GPS EXIF is dropped. The only way location leaks is if it was visibly displayed on screen (e.g. a map label) and you read it from the pixels.
Are apps that “restore EXIF from screenshots” real? No. They either read the screenshot's empty metadata or invent values. You cannot recover data that was never in the file.
Does converting the screenshot to JPEG bring the EXIF back? No. Re-encoding our screenshot PNG to JPEG with no EXIF produced a file with 0 EXIF fields. There was nothing to carry over.
Related reading
If you are tracing what a screenshot keeps and drops, these are the next reads:
- do screenshots have exif data — the main guide: every field a screenshot carries, and every field it loses.
- Does a screenshot of a photo keep EXIF? — the same question from the photo side, with a GPS-tagged source.
- What metadata do screenshots have? — the full chunk inventory, enumerated on real files.
- Do screenshots contain device info? — where a username and PC name can actually hide in a capture.