Skip to main content
Preparing workspace

Passport & MRZ Masker

Cover the MRZ, passport number or face with opaque boxes, then export a re-encoded PNG or JPEG named filename-masked. Up to 25 MB, all in-browser.

Still loading. If the tool doesn’t appear, reload this page.

About this tool

Passport & MRZ Masker

Cover passport MRZ, passport-number, face, or custom image regions locally, then export a flattened PNG or JPEG.

The MRZ is the two lines of 44 machine-readable characters at the bottom of a passport photo page; it repeats your name, passport number, date of birth and expiry. Load a scan, place solid boxes over the MRZ, passport number or face, and export a re-encoded PNG or JPEG so the covered pixels are gone. Everything stays in your browser.

How to use Passport & MRZ Masker

  1. Press Choose image or drop a PNG, JPEG or WebP passport scan up to 25 MB and 20 million pixels; it stays in this browser tab.

  2. Apply the MRZ bottom zone, Passport number or Face preset, then drag, resize or nudge each box with the arrow keys, with Undo to roll back.

  3. Pick PNG or JPEG, tick the inspection confirmation, and press Download flattened image to get a re-encoded copy named filename-masked.

Why use Passport & MRZ Masker

  • Redaction that is actually destructive

    The boxes are filled onto the pixel data and the file is re-encoded from the canvas, so unlike a black shape laid over a PDF or slide, there is no layer underneath to peel back.

  • Presets aimed at passport layout

    The MRZ, passport-number and face presets are positioned by proportion of the page, so they land close to the right area on any resolution of scan and only need nudging.

  • Pixel-precise adjustment and undo

    Boxes can be typed in as exact x, y, width and height, nudged 10 pixels at a time with the arrow keys, resized with Alt plus arrows, and rolled back through 30 steps of history.

Common use cases

  • A landlord, airline or hotel asked for a passport copy and you want to cover the MRZ and passport number before emailing it, so the document proves identity without handing over the full machine-readable data.
  • You are posting a visa-application screenshot in a forum or support ticket and need the face and document number covered in a way that cannot be undone by the person who downloads it.
  • An HR or compliance team is archiving right-to-work scans and needs a redacted copy for the shared drive, with the exact pixel coordinates of each box recorded while the original stays untouched.

Frequently asked questions

What is the MRZ on a passport?

The machine-readable zone is the block of monospaced text with chevrons across the bottom of the photo page — two lines of 44 characters on a standard passport — encoding your name, document number, nationality, date of birth, sex, expiry and check digits. It is the single most valuable strip to cover, because a border scanner can read the whole identity record from it.

Link to answer
Can the redaction be reversed?

No. The rectangles are drawn into the image itself and the result is re-encoded to a new PNG or JPEG, so the original pixels under each box are not present in the exported file. Your source file on disk is never modified.

Link to answer
What size images can it handle?

Up to 25 MB per file and 20 million pixels — roughly a 5000 x 4000 scan — which covers phone photos and flatbed scans of a passport page. PNG, JPEG and WebP inputs are accepted.

Link to answer
Does exporting remove the photo's metadata?

Yes, as a side effect. Because the picture is redrawn onto a canvas and encoded fresh, EXIF fields such as GPS coordinates, camera model and timestamp from the original are not carried into the exported file.

Link to answer