How to redact a tax return or W-2

A tax return carries more identifying information per page than almost anything else a practice handles. Before a copy goes to a lender, an expert, opposing counsel, a new bookkeeper or an AI tool, the identifiers have to come out of the file rather than be covered over. Lex Cloak finds them on your own computer, reads scanned pages, handles a whole client file at once, and checks the exported copy before you send it.

Questions about client returns

Can I use a client's return with AI?
Yes, with care. The IRS now tells practitioners to use only secure, enterprise-approved AI with client data, and the AICPA asks for a confidentiality agreement with the provider or your client's specific consent. Before a return goes into an AI tool.
Do I need my client's permission to send a return to a lender?
Usually, yes, in writing, even when the client is the one asking you to send it. The section 7216 regulations make an exception for lawyers and accountants doing other work for that client. What the rules say about sending returns.
What should I take out of a return?
It depends on who gets it and why. The usual list is below.
And a W-2 or pay stub on its own?
A landlord, a lender and a background check each need different parts of it. What to redact on a W-2 or pay stub.
Why isn't a black box over a number enough?
A box drawn over a number in a PDF can leave the number underneath, where anyone can copy it. The Redaction That Wasn't.
How do I redact a scanned W-2 or bank statement?
A scan has no text to search, so the software has to read the page with OCR first. How to Redact Scanned PDFs.

The rules in one place

These are the rules that shape how a tax practice handles client documents. Each links to its source. I checked them on 14 October 2026, and they change from time to time, so check the current version before you rely on one. This is general information, not legal or tax advice.

RuleWhat it asks of youSource
IRS guidance on AI (Issue 2026-19, June 2026)Use only secure, enterprise-approved AI with client data, and check an AI provider before you buy.irs.gov
FTC Safeguards Rule (16 CFR Part 314)Tax preparers count as financial institutions. Encrypt client data, dispose of it securely, and oversee the service providers who handle it.ecfr.gov
Section 7216 regulations (26 CFR 301.7216)Get your client's written consent before you share return information, apart from the listed exceptions.ecfr.gov
AICPA Code 1.700.040Before you share client information with an outside service, sign a confidentiality agreement with it or get your client's specific consent.AICPA Code (PDF)
IRS Publications 4557 and 5708How to safeguard taxpayer data, and how to write your firm's written information security plan.irs.gov
PTIN renewal (Form W-12, line 11)Each year you confirm you know the law requires a written information security plan.irs.gov

What to take out of a return

What has to go depends on who is receiving the document and why. This is the list worth walking before a copy leaves the practice.

IdentifierWhere it turns upWorth knowing
SSN or ITINTop of the 1040, on W-2s, on most schedules and attachmentsRepeats across a package, so a page-by-page eye pass is where one gets missed
EINBusiness returns, K-1s, W-2s, 1099sOften needs to stay when the entity is the point, and to go when it is not
Bank account and routing numbersThe refund's direct deposit lines on a 1040Easy to forget, because it is a figure among other figures
Names and signaturesClient, spouse, dependents, and the signature blockDependent names are on schedules people do not always reread
Address, date of birth, phone, emailHeader of the return, and correspondence bundled with itAn address alone can re-identify a return matched against public records
Metadata and hidden contentDocument properties, comments, attachments, form fieldsSits outside the page, so reading the pages never reveals it

Scanned returns and client paper

Much of what arrives in a practice is a scan or a photograph. There is no selectable text on those pages, so a tool that searches for a Social Security number finds nothing and reports a clean document. Lex Cloak reads the page with OCR first and then looks for identifiers in what it read, which is the only way a number printed on paper gets found at all.

Why the standard is higher for a tax practice

Professional tax return preparers are treated as financial institutions under the Gramm-Leach-Bliley Act, which brings them inside the FTC Safeguards Rule. The law requires tax professionals to keep a Written Information Security Plan, and the IRS explains how to build one in Publication 4557 and Publication 5708.

Lex Cloak does not make a practice compliant, and no software can. A security plan is people, procedures and systems, and it stays yours to write and follow. What a tool can do is narrow two specific risks inside it: client documents that travel to a third party to be processed, and identifiers that stay readable in a copy someone thought was clean.

Before a return goes into an AI tool

Pasting a return into an assistant to summarise, check or explain it sends the client's identifiers to a service outside the practice. Removing them first means the AI works on the figures without the client's name, Social Security number or accounts. Because Lex Cloak runs on your machine, the sanitising step does not itself involve sending the file anywhere. What's left is still confidential client information, so your firm's AI guidelines still apply.

What the IRS, the AICPA and practitioners say about return information in AI tools, each linked to its source, is in client data and AI: the range of approaches.

What it does not do

Detection is a starting point, not a verdict. Lex Cloak proposes matches and you review them, keep them, remove them, or add your own before anything is burned in. Auto-detection is not exhaustive, and a document you know well is one you should still read.

What it does check is the finished file. Before handing back an export it looks for targeted text that is still extractable, for form fields and annotation residue carrying readable data, and for machine-readable codes that still decode. If it finds something in a single document, it tells you before it saves anything. When you save several documents as a ZIP, it saves the ZIP first and then names the files and pages to check. How that check works.

Common questions

What should I redact from a client tax document?
It depends who is receiving it and what they need, but the usual list is the Social Security number or ITIN, the EIN where the entity is not the point, the client and spouse and dependent names, signatures, the street address, date of birth, phone and email, and any bank account or routing numbers, which appear on a 1040 when the client takes the refund by direct deposit. Employer and account numbers are worth a look too, since they can lead back to a person on their own.
Why is a black box over the Social Security number not enough?
A rectangle drawn with a markup tool sits on top of the page. The digits underneath stay in the file and can still be selected, copied and searched. Real redaction removes the characters and then draws the box. The way to tell the difference is to open the exported copy and search it for the number you removed.
Does this handle scanned returns and paper documents?
Yes. A scanned return is an image, so there is no text for a normal tool to find. Lex Cloak runs OCR on those pages first, then looks for sensitive information in what it reads. A scan can also carry an invisible text layer from whatever produced it, which is why searching the exported file matters even when the page looks like a picture.
Can I do a whole client file at once?
Yes. You can load several PDFs and redact them in one pass, which is the usual shape of a records request or a document production. Each one is still reviewed before anything is burned in.
Do the files leave my computer?
No. Detection and redaction both run inside the app on your own machine, so client documents stay where you control them. The app does go online for a few small things, like checking for updates and renewing its license, and none of them carries anything from your documents.
Does this make my practice compliant with the Safeguards Rule?
No, and be wary of any tool that says it does. Tax preparers are subject to the FTC Safeguards Rule under the Gramm-Leach-Bliley Act, and the law requires tax professionals to keep a Written Information Security Plan. That is a program, covering people, procedures and systems, not a feature you can buy. Keeping client documents on your own machine and removing identifiers before you share a copy are two controls that can sit inside such a plan. The plan is still yours to write and follow.