Image Optimizer
Strip metadata and redundant markup without touching the picture. Free, and runs entirely in your browser — nothing you enter is uploaded or stored.
About Image Optimizer
The obvious way to strip metadata from an image is to draw it onto a canvas and encode it again. That does remove everything — along with some of the picture, because re-encoding a JPEG re-quantises it and every round loses a little more. For a file that is already at the quality it should be, that is a bad trade, and it is the trade most "optimisers" quietly make.
Nothing here is re-encoded. JPEG, PNG, GIF and WebP are all containers of labelled blocks with the pixels in one of them, so removing a block that is not the pixels is a matter of copying the file without it. What comes out is byte-for-byte the same image in a smaller file, and it works on something that has already been saved nine times.
What gets removed is worth knowing about on its own. An EXIF block from a phone carries the camera, the lens, the timestamp, the serial number and — unless it was turned off — where the photo was taken, to within a few metres. A Photoshop block can carry the edit history and a thumbnail of an earlier version of the image, which is how detail that was cropped out has been recovered from published photographs more than once.
SVG is treated differently because it is text rather than a container. An SVG out of a drawing program is mostly not drawing instructions: editor namespaces, an RDF metadata block, a comment naming the version, an id on every node, and coordinates to fourteen decimal places because that is what a float prints as. None of it moves a pixel and it is routinely two thirds of the file.
Where it helps
- Removes metadata without re-encoding, so the pixels are identical and the file can be optimised repeatedly with no loss.
- Handles JPEG, PNG, GIF, WebP and SVG, and says which reader it used.
- Names every block it removed and what that block held, so you can see what the file was carrying.
- Marks the blocks that could change how the image looks — colour profiles and gamma — and keeps them unless you say otherwise.
- Cleans SVG markup properly: editor namespaces, metadata, empty groups, unreferenced ids and coordinate precision.
- Runs entirely in this tab, which matters for a photograph whose metadata is the reason you are here.
Limits
- It removes metadata rather than recompressing, so a large photograph at high quality stays a large photograph. The Image Compressor is what re-encodes.
- HEIC and AVIF are not taken apart here — they are ISO base media containers with a different structure, and a browser cannot rewrite one without re-encoding.
- Removing a colour profile can shift the colours of a wide-gamut image, which is why it is off by default and marked in the table.
- SVG coordinate precision is the one setting that changes the geometry; at one or two decimals the change can be visible on a large viewBox.
Frequently asked questions
Does this reduce the file size much?
It depends entirely on what the file was carrying. A phone photograph often sheds tens of kilobytes of EXIF and thumbnails; an SVG out of a drawing program regularly loses more than half its size; a PNG written by a build pipeline may have nothing to remove at all. The result says which it was.
Is the image really unchanged?
For JPEG, PNG, GIF and WebP, yes — the pixel data is copied through untouched, so the decoded image is identical byte for byte. The exception is if you let it remove a colour profile, which changes how the same pixels are interpreted, and that is marked in the table.
How is this different from the Image Compressor?
The compressor re-encodes at a lower quality and produces a smaller, slightly different image. This removes the parts of the file that were never the image and produces a smaller, identical one. Use this first; use the compressor when the picture itself still needs to be smaller.
Will it remove the GPS location from my photo?
Yes — that lives in the EXIF block, which is APP1 in a JPEG and the eXIf chunk in a PNG, and both are removed. The table confirms it by name, and the whole thing happens in your browser rather than on a server.
Related tools
- Image Compressor — Resize and re-encode images to save bytes
- Image Converter — Convert between PNG, JPEG, JFIF, WebP, GIF, HEIC and SVG
- MIME Detector — Identify a file from its magic bytes
- File Checksum — Verify a download, and work out which algorithm made the checksum
- Icon Font Generator — Build a web font from SVG icons or an SVG font
- Image Resizer — Resize to a size, a proportion or a longest side
More Images & Files tools
- Icon Font Generator — Build a web font from SVG icons or an SVG font
- Image Converter — Convert between PNG, JPEG, JFIF, WebP, GIF, HEIC and SVG
- Image Resizer — Resize to a size, a proportion or a longest side
- Crop Image — Cut a rectangle out, or trim a flat border away
- Rotate Image — Turn by a right angle or any angle, and flip
- Image Base64 Converter — Turn an image into a data URI for CSS or HTML, and read one back
- WebP Converter — To WebP for the web, or back out of it
- SVG Converter — Draw an SVG at any size, or wrap a bitmap in one
- Background Remover — Take a flat background out and keep the subject
- Image Compressor — Resize and re-encode images to save bytes
- Favicon Generator — Build favicon PNGs and a multi-size .ico
- File Checksum — Verify a download, and work out which algorithm made the checksum
- QR & Barcode Reader — Read a code out of an image, and say what it does before you follow it
- MIME Detector — Identify a file from its magic bytes
- Office Password — Protect a Word, Excel or PowerPoint file with a password
- Office Password Remover — Remove the password from a Word, Excel or PowerPoint file
- Image Editor — Crop, straighten, adjust and cut out, with every step visible and reversible
- Passport Photo Maker — Passport and visa photos at each country's size, with head guides and a print sheet
- PDF Editor — Move and retype what is already on the page, reorder, annotate, stamp and sign, with the document in front of you
- PDF Viewer — Read, search and inspect a PDF without leaving the browser
- PDF Password & Permissions — Lock a PDF with AES-256, and say what a reader may print, copy or change
- PDF Password Remover — Strip the password from a PDF you can already open
- Merge PDF — Join several PDFs into one document
- Split PDF — Cut a PDF into separate documents
- Delete PDF Pages — Remove pages from a PDF and keep the rest
- Rearrange PDF Pages — Put a PDF's pages in a different order
- Rotate PDF — Turn a PDF's pages the right way up
- Compress PDF — Make a PDF smaller, by rebuilding it or redrawing it
- Watermark PDF — Stamp text or a logo across a PDF's pages
- Sign PDF — Put a signature and a date onto a PDF
- Edit PDF — Add text to a PDF page, and hide what is underneath
- PDF to Images — Turn every page into a PNG, JPG, WebP, GIF or JFIF
- OCR PDF — Read the text off a scanned PDF
- PDF to Word — Turn a PDF into an editable .docx that keeps its layout
- PDF to Excel — Pull a PDF's tables into a .xlsx workbook that keeps their formatting
- PDF to PowerPoint — Turn a PDF's pages into editable .pptx slides that look the same
- Word to PDF — Turn a .docx document into a PDF that looks the way it does in Word
- Excel to PDF — Print a .xlsx workbook to PDF with its formatting and page setup
- PowerPoint to PDF — Turn a .pptx deck into a PDF that looks the way the slides do
- Images to PDF — Turn photos or scans into one PDF document
- PDF to Text — Pull the text out of a PDF as plain text
- Crop PDF — Trim the margins off every page
- Page Numbers — Number the pages of a PDF
- Header & Footer — Put a running head or foot on every page
- Bates Numbering — Stamp sequential legal numbers across pages
- Reverse Pages — Flip a PDF's page order end to end
- Add Blank Pages — Insert empty pages anywhere in a PDF
- N-Up PDF — Put several pages on one sheet
- PDF Booklet — Reorder pages for folded booklet printing
- PDF Metadata — Read, change or strip a PDF's properties
- Flatten PDF — Make form answers part of the page
- Alternate & Mix Pages — Interleave two PDFs a page at a time
- PDF Overlay — Draw one PDF over or under another
- Combine to Single Page — Stack every page into one continuous strip
- Divide Pages — Cut every page in half or into quarters
- Posterize PDF — Tile a large page across several printable sheets
- Fix Page Size — Put every page onto one uniform sheet
- Page Dimensions — Measure every page, its rotation and its sheet
- Rotate by Any Angle — Turn pages by a fraction of a degree or more
- Remove Annotations — Strip comments, highlights, links and stamps
- PDF Attachments — List, extract, add or remove embedded files
- PDFs to ZIP — Package several PDFs into one archive
- PDF Bookmarks — Read, write or remove a PDF's outline
- Table of Contents — Build a contents page from the bookmarks
- Page Labels — Number front matter in roman and the body in arabic
- Sanitize PDF — Strip scripts, actions, attachments and metadata
- Extract Images — Pull every embedded picture out of a PDF
- Extract Tables — Turn a PDF's tables into CSV, JSON or Markdown
- PDF to Markdown — Convert a PDF into Markdown with its headings, emphasis, lists, tables and pictures
- PDF to JSON — Export a PDF's text as structured JSON
- Compare PDFs — See which pages of two PDFs differ, and by how much
- Remove Blank Pages — Find the empty pages, and take them out
- Invert PDF Colours — A dark-mode version of a document
- PDF to Greyscale — Convert every page to shades of grey
- Adjust PDF Colours — Brightness, contrast and saturation across a document
- Scanner Effect — Make a clean PDF look like a photocopy
- PDF Background Colour — Tint the paper behind the content
- Rasterize PDF — Flatten every page into a picture of itself
- PDF to CBZ — Turn a PDF into a comic book archive
- CBZ to PDF — Turn a comic book archive into a PDF
- Text to PDF — Set a plain text file as a document
- Markdown to PDF — Set Markdown as it renders: headings, emphasis, lists, code, quotes and tables
- JSON to PDF — Print a JSON file as an indented tree
- CSV to PDF — Set a spreadsheet export as a printed table
- XML to PDF — Print an XML document as an indented tree