How Do You Redact MRZ Codes and Barcodes on Identity Cards?
Why covering your photo and name is useless if the machine-readable zone at the bottom remains visible.
Краткое содержание (TL;DR)
Direct Answer (TL;DR): Black out the entire 2-line or 3-line Machine Readable Zone (MRZ) and any PDF417 barcodes at the card bottom with solid opaque rectangles (#000000). The MRZ encodes your passport number, birthdate, expiry, and legal name in unencrypted OCR-B font.
Auto License Plate Redactor
Detect and scramble vehicle registration numbers locally in your browser memory.
Redact Plates Free →Главные выводы
- The MRZ strip at the bottom contains all personal data printed on the card face.
- Blurring or pixelating MRZ lines leaves high-contrast OCR characters easily decipherable.
- Solid black boxes flattened into a raster bitmap destroy machine-readable credentials.
Why Redacting Only Card Face Fields Leaves You Vulnerable
Covering name and ID numbers on the card face while leaving the bottom MRZ strip untouched fails completely. Scanners read MRZ lines in milliseconds, bypassing visual redactions.
ID Card Machine-Readable Data Matrix
| ID Component | Encoded Data | OCR Readability if Blurred | Safe Redaction Method | | :--- | :--- | :--- | :--- | | **Front Text Fields** | Name, Address, DOB | High (Character recognition) | Solid black box | | **MRZ Strip** | **Passport No, DOB, Expiry** | **Critical (Checksum readable)** | **Full strip blackout** | | **PDF417 Barcode** | Biometric license data | High (Error correction) | Full barcode blackout |
- Zero Cloud Exposure: Verified 100% Client-Side Privacy & Zero-Server Airgap (Wasm, EXIF destruction, browser memory).
- 👉 Redact ID cards and MRZ strips in browser memory on [MaskMyBody](https://maskmybody.com).
Часто задаваемые вопросы
What does the MRZ code on a passport contain?
It encodes document type, country, full name, passport number, birthdate, sex, and checksums.
Can barcode scanners read a blurred barcode?
Yes. PDF417 2D barcodes use Reed-Solomon error correction that reconstructs blurred bars.
Related Privacy Questions
Бессерверное руководство по скрытию данных в документах
Перед отправкой фото документа арендодателю или сервису закрашивайте лишние номера сплошным черным цветом локально в браузере, а не полупрозрачным маркером на телефоне.
Как закрасить текст на фото намертво, чтобы ничего не просвечивало
Не замазывайте важный текст полупрозрачным маркером телефона или легким размытием: повышение яркости часто проявляет буквы. Используйте 100% непрозрачный черный блок в браузере, чтобы полностью удалить символы из файла.
Can Photoshop Invert or Recover Solid Black Redaction Boxes?
Direct Answer (TL;DR): No, Photoshop cannot invert or recover rasterized solid black RGB (0,0,0) redaction boxes. Once pixels are flattened into pure black (luminance 0), original pixel data is destroyed and zero mathematical variance remains for Curves, Levels, or AI to reconstruct.
How Do You Redact Pay Stubs for Rental Applications Safely?
Direct Answer (TL;DR): When sending pay stubs to landlords, keep your name, employer, dates, and gross earnings visible. Black out bank routing, account numbers, Social Security Numbers, and personal deductions (401k, health) that risk financial fraud.