A holiday photo can tell a stranger the camera model, the exact time it was taken and the coordinates where you stood. That information usually lives beside the picture, not in it. Removing it can be a container edit, which is why it can leave every pixel untouched — and why it is easy to assume the job is done, so the result needs checking.
What is actually attached to the image
JPEG files carry metadata in marker segments before the compressed image data. Exif stores its data in IFD structures: camera make, model, image modification time, Orientation (tag 274) and the GPS Info IFD Pointer (tag 34853, or 0x8825) sit in the 0th IFD, while the pointer leads to a separate GPS IFD holding GPSLatitudeRef (tag 1), GPSLatitude (tag 2), GPSLongitudeRef (tag 3) and GPSLongitude (tag 4). Orientation is a single number describing how the stored rows and columns should be oriented — rotated or mirrored — for display.
PNG handles the same idea differently: an optional eXIf chunk may hold an Exif profile, and the PNG specification notes that if the image has been edited since the profile was created, the data might no longer apply. Text chunks (tEXt, zTXt, iTXt) can carry separate annotations.
The practical point is that metadata is several payloads with different names, not one switch. A file can carry camera details in one block, editing history in another and a location in a third. That is why the honest first step is to look, not to strip.
A measured strip, with the pixels left alone
To see what “lossless” can mean, a synthetic 800 × 600 JPEG was written with test Exif fields: camera make, model, a test DateTime value, orientation and a GPS IFD holding 51°30′N, 0°7′W. Those coordinates are arbitrary test values, not the location of any real photograph. The file was then cleaned by copying its JPEG structure while dropping the metadata segment and keeping the compressed image data untouched.
| File | Bytes | What it contains |
|---|---|---|
| Original JPEG | 8,452 | Camera make and model, DateTime, orientation, and a GPS IFD with latitude and longitude |
| Lossless strip (all Exif removed in this test) | 8,230 | No Exif and no GPS IFD; decoded pixels identical by SHA-256 |
This test removed all Exif from the synthetic file; it is not a general-purpose metadata sanitizer. The product's lossless default is narrower, as described below.
Method: the test image was generated and tagged locally with Pillow, the metadata segment was removed with a small marker-level script, and both files were decoded and hashed. The saving was 222 bytes, matching the removed APP1 segment including its two-byte marker. Real camera files often carry more, but metadata is usually small next to the compressed image, so this is not a route to a strict file-size limit — it is a privacy step.
That last sentence matters when choosing a mode. A re-encode decodes and compresses the picture again, which can change the pixels; it can also drop metadata, depending on how the encoder is configured. A container-level strip edits the file's structure and leaves the compressed data alone. Image KB Reducer exposes both: lossless mode for JPG and PNG, and a re-encode mode whose page discloses the quality trade-off.
The orientation trap
Phones frequently store a portrait photo sideways and rely on the Orientation tag to display it upright. Strip every Exif field and that instruction disappears: the pixels are unchanged, but a viewer may now show the image rotated. A related but different failure: the PNG specification says its eXIf chunk is only a snapshot of the original image, so if the image has been edited since the profile was created, the data might no longer apply.
Image KB Reducer's published behaviour is to keep a minimal Exif block containing only the orientation tag in lossless mode, and to say on the page when it has done so. It also offers a way to remove everything. That is a reasonable default, but the decision is yours: if you want no Exif at all, expect to check the result in a viewer and rotate the image explicitly if needed. If a destination requires a particular orientation, that check is part of the job.
What stripping does not do
- It does not blur the picture. A street sign, a badge or a reflection remains visible. Metadata removal is not redaction.
- It does not clean other copies of the file. The copy you cleaned is clean; the copy still in your camera roll, chat history or cloud backup is a separate file with its own metadata.
- It does not guarantee anonymity. Content, timing and context can identify a person even with no Exif present.
- It does not replace compression. If a form enforces a byte ceiling, removing a small metadata block rarely closes a large gap; reduce dimensions or quality as well.
A workflow that ends with evidence
- Inspect before editing. Open the file in Image Info and note the stored dimensions, the dimensions after orientation, and which metadata blocks are present. This is your before-picture.
- Decide what must go. Camera model and timestamps may be harmless; precise coordinates usually are not. If the destination is a print shop or a form that needs orientation, keep that tag.
- Strip in lossless mode when the format allows it. Use Remove Metadata on the JPG or PNG. Keep the original until the cleaned copy has passed inspection.
- Re-open the result and inspect again. Confirm the GPS block is gone, the dimensions are unchanged and the orientation still looks right. Comparing file sizes confirms something changed; it does not confirm what changed.
- Handle size separately. If the upload also has a byte limit, compress the cleaned file afterwards and check legibility, as described in the 50 KB guide. Strip first so the privacy decision stays separate from the size decision.
Before you send it
- Location block gone, and you checked rather than assumed.
- Reopened in a different viewer, the image still appears upright.
- Dimensions and format unchanged from the version you intended to send.
- Signs, badges and reflections in the picture do not identify the place or person.
- Original retained privately if you may need the capture details later.
Limits of this guide
The measurement above covers one synthetic JPEG, one Exif layout and one removal method. It is a demonstration of the mechanism, not a benchmark of Image KB Reducer and not a guarantee about any other file. Live camera files may carry maker-specific blocks, XMP packets or proprietary data that behave differently, and a destination may add metadata of its own. No upload to a third-party service was attempted for this article, and no claim is made that any particular platform strips or preserves metadata.
Browser-local processing is the product's published description; this article did not audit the implementation. Files containing identity documents or other sensitive material belong only in tools whose handling you can justify independently.
Sources and scope
Sources checked 24 October 2026. Interest in questions such as “remove location from a photo before uploading” is a hypothesis about reader intent, not a measured search volume.
- CIPA DC-008-2012 / Exif 2.3 — GPS Info IFD pointer (tag 34853), GPSLatitudeRef and GPSLatitude (tags 1 and 2), GPSLongitudeRef and GPSLongitude (tags 3 and 4), and the Orientation tag (274) with its value table.
- W3C PNG (Third Edition) — §11.3.4.5 defines the optional
eXIfchunk and notes that embedded Exif may no longer apply after editing; §11.3.3 covers text chunks. - Pillow image file formats — documenting the
exifsave argument used to build and decode the test file. - Remove Metadata — lossless versus re-encode modes and the minimal orientation-only Exif behaviour, quoted from the product page.
- Image Info — published inspection of dimensions, orientation and metadata blocks.