HomeRedaction Guides → Redact VIN Numbers

How to Redact VIN Numbers in a PDF

Vehicle Identification Numbers (VIN) appear in insurance reports, vehicle records, and accident documentation. VINs follow a standardized 17-character format.

Important: PermanentRedaction permanently removes text from text-based PDFs. Scanned/image-only PDFs are not supported.
Quick notes
Tip: Many PDF editors can only mask text with black rectangles. Masking is not the same as permanently deleting text from the PDF layer.

Step-by-step

Step 1
Locate VIN numbers in vehicle reports, claim documents, or inspection forms.
Step 2
Use a VIN regex pattern.
See Example: VIN number
Regex
\b[A-HJ-NPR-Z0-9]{17}\b
Matches
  • 1HGCM82633A004352
  • JH4KA8270MC000000
VINs exclude letters I, O, and Q to prevent confusion with numbers.
Using regex rules in PermanentRedaction
PermanentRedaction supports deterministic redaction rules using regular expressions. Patterns like this can be applied across an entire document to permanently remove matching text.
Step 3
Preview matches across the document to confirm only VINs are captured.
Step 4
Export the final PDF with the VIN text permanently removed.
Step 5
Verify the exported PDF using search and copy tests.

Common mistakes to avoid

Matching similar codes
Some serial numbers may resemble VIN patterns.
Ignoring repeated VIN locations
VINs may appear in headers, tables, and appendices.
Skipping verification
Always verify the exported PDF.

FAQ

What is a VIN?
A 17-character vehicle identification number used globally to identify vehicles.
Why are certain letters excluded?
VINs exclude I, O, and Q to avoid confusion with numbers.
Are scanned vehicle reports supported?
Not currently.