Skip to content
Blur Document

How to redact a Social Security number on any document

Find and black out every Social Security number in a PDF, scan or photo, keep the last 4 digits if needed, and check that the full number is really gone.

Updated · 2 min read

Do it now: free, in your browser, nothing uploaded.

Open Redact PDF

The short answer

Open the file in a tool that removes the number rather than drawing over it, cover every occurrence on every page, and export a fresh file. Use a solid box: an SSN is nine digits, which is exactly the kind of short number that blur can fail to hide. Then confirm it's gone by searching the exported file for the digits.

Where SSNs hide

An SSN is usually written as 3-2-4 digits (123-45-6789), but it also appears as nine digits with spaces or no separators at all. Documents that commonly carry it include:

  • Tax forms such as W-2s and 1099s, and tax returns.
  • Pay stubs, benefit letters and employment paperwork.
  • Medical bills, insurance forms and older health records.
  • Loan, lease and credit applications.
  • Scans of the Social Security card itself.

A long PDF can repeat the number in headers, footers and form fields on every page. Missing one copy defeats the rest.

Redact every occurrence

  1. Open Redact PDF and drop in the file. Scans and photos work too: they're read with on-device text recognition.
  2. SSNs in the 3-2-4 format are highlighted automatically. Accept them.
  3. To catch other formats, use Find and redact with a regular expression such as \d{3}[- ]?\d{2}[- ]?\d{4}, which covers the number with dashes, spaces or no separators. Check the matches before accepting.
  4. Choose the Solid style, then export. Pages are rebuilt from pixels, so the number isn't left in the text layer, and the output is read again to flag anything still legible.

For a single card or form, the Social Security card template and the W-2 template set this up for you.

Keeping the last 4 digits

Many forms and organisations identify you by the last 4 digits only. If that's what the recipient needs, cover the first 5 and leave the last 4. The SSN card template does this as an option. If nobody asked for any part of the number, hide all of it.

Check the result with the PDF Redaction Checker or by searching the exported file for the last few digits. If the search finds anything, the number is still there.

More on why drawn boxes in other tools often fail: How to check if a PDF is redacted.

Questions

Is blurring an SSN enough?

Not reliably. With only ten possible digits per position, blurred numbers can sometimes be reconstructed. Use a solid box.

Does it find SSNs without dashes?

Formatted SSNs are detected automatically. For numbers without separators, use Find and redact with a pattern so nine-digit numbers are matched.

Tools from this guide

More guides