Tenés que mandar una sentencia, una pericia o un contrato en PDF sin los datos del cliente. Buscás "cómo censurar un PDF" o "cómo tachar datos en un PDF" y aparecen herramientas que te piden subir el archivo o que te enseñan a dibujar un rectángulo negro. Las dos cosas pueden salir mal: el rectángulo suele dejar el texto intacto debajo, y subir el archivo es entregarle el documento de tu cliente a un tercero. Esta es la guía con ángulo legal que falta.
Por qué el rectángulo negro no borra nada
Un PDF no es una foto de la página: tiene una capa de texto (lo que podés seleccionar y buscar) y, encima, lo que se dibuja. Cuando ponés un rectángulo negro con la herramienta de formas o de comentarios, agregás un dibujo arriba del texto. El texto sigue ahí. Cualquiera que reciba el archivo puede:
- Seleccionar y copiar: marca la zona tapada, copia, pega en un editor de texto, y aparece el nombre.
- Buscar: con Ctrl+F (Cmd+F en Mac) el visor encuentra la palabra "oculta".
- Mover o borrar el rectángulo: si es un comentario o una forma, se selecciona y se elimina.
- Extraer el texto con cualquier conversor de PDF a Word o a texto.
Lo mismo pasa con resaltar en negro, poner la letra en blanco o achicar la fuente hasta que no se vea. Y ojo con "imprimir como PDF" para "aplanar": en general el resultado conserva el texto como texto, así que puede seguir siendo copiable aunque tenga el rectángulo encima. Siempre verificá.
Lo que un PDF guarda y no ves
Aunque el texto visible quede limpio, un PDF puede llevar datos en otros lugares:
- Metadatos: título, autor, asunto, palabras clave y el programa que lo generó. El título muchas veces es el nombre original del archivo, tipo "Demanda Pérez c. Gómez". Se ven en Archivo → Propiedades del documento.
- Comentarios y notas: anotaciones de revisión, notas adhesivas y respuestas, que pueden mencionar al cliente por su nombre.
- Marcadores, campos de formulario y adjuntos: un marcador titulado con el nombre de una parte, un formulario completado o un archivo adjunto dentro del PDF.
- Capas ocultas: contenido que existe pero está apagado en la vista.
- Versiones anteriores: algunos programas guardan los cambios agregándolos al final del archivo, y la versión anterior puede seguir dentro.
- El nombre del archivo: lo primero que ve quien lo recibe.
PDF escaneados: dos trampas distintas
Si el PDF es un escaneo, cada página es una imagen. Eso trae dos problemas:
- Sin OCR no hay texto: la búsqueda no encuentra nada y ninguna herramienta puede detectar automáticamente un DNI que, para la computadora, son píxeles. Hace falta reconocimiento de texto (OCR) aunque sea para saber qué hay que sacar.
- Con OCR hay texto invisible: muchos escáneres y programas generan un "PDF buscable", que es la imagen más una capa de texto invisible por debajo. Si tapás la imagen, esa capa sigue ahí y se puede copiar o buscar.
Las opciones, con sus pros y contras
1. La herramienta de censura de Acrobat Pro
Adobe Acrobat Pro tiene una función específica para esto ("Censurar", Redact en inglés): marcás lo que querés eliminar y, al aplicar, el contenido se borra del archivo y queda un recuadro. En el mismo flujo ofrece eliminar información oculta, como metadatos. Bien usada, funciona. Los límites: es paga, el marcado depende de vos (si se te pasa un DNI en la página 14, se queda), las marcas no borran nada hasta que aplicás, y el resultado sigue siendo un documento con bloques negros, poco práctico si después lo querés leer o pasar por una IA.
2. Aplanar a imagen
Tapás los datos y convertís cada página en imagen (exportar o imprimir a imagen y rearmar el PDF). Como desaparece la capa de texto, lo tapado no se puede copiar. Contras: el archivo pesa más, ya no se puede buscar ni copiar nada, sigue siendo manual y, si después le pasás OCR para recuperar la búsqueda, revisá que no vuelva a aparecer algo que quedó a medio tapar. Los metadatos hay que limpiarlos aparte.
3. Herramientas online (PDF24, Smallpdf, iLovePDF y similares)
Son cómodas y muchas tienen función de tachado. Pero en su versión web, para usarlas subís el documento a los servidores de un tercero. Aunque prometan borrarlo después, el PDF de tu cliente ya salió de tu control antes de estar anonimizado: es exactamente el dato que querías proteger. Para un abogado esto choca con el secreto profesional y, si hay datos personales, con el RGPD (o la Ley 25.326 en Argentina): ese servicio pasa a tratar datos de tu cliente por cuenta tuya, algo que el RGPD solo permite con un contrato de encargo del tratamiento (art. 28) y, si sus servidores están fuera del Espacio Económico Europeo, con garantías para la transferencia internacional. Lo desarrollamos en la sección siguiente. Algunas de estas marcas ofrecen apps de escritorio; si vas a usar una, verificá que procese en tu equipo.
4. Anonimizar en vez de tachar
Tachar esconde; anonimizar reemplaza. En lugar de un bloque negro, cada dato se cambia por una etiqueta consistente (PERSONA_01, DNI_01, LUGAR_01) y el dato original deja de estar en el documento. El texto se sigue leyendo, se entiende quién es quién y sirve para compartir con un colega o pasarlo por una IA. Es lo mismo que hace la Corte Suprema con su anonimizador interno: lo contamos acá.
Censurar un PDF y el RGPD: qué piden la ley y la AEPD
Censurar mal un PDF no es solo un descuido técnico. En España y el resto de la UE, si el documento lleva datos personales, rige el RGPD (con la LOPDGDD, Ley Orgánica 3/2018, en España), y la autoridad que lo controla es la Agencia Española de Protección de Datos (AEPD). Cuatro ideas prácticas:
- Un PDF bien anonimizado sale del RGPD; uno mal censurado, no. El considerando 26 del RGPD dice que la normativa no se aplica a la información anónima, pero para saber si una persona es identificable hay que tener en cuenta todos los medios que razonablemente se podrían usar. Un rectángulo que se quita con copiar y pegar no pasa esa prueba: el documento sigue teniendo datos personales.
- Reemplazar por un código no siempre es anonimizar. Si guardás una tabla que liga cada código con la persona, el RGPD lo llama seudonimización (art. 4.5) y los datos siguen siendo personales. Lo explicamos en anonimización vs. seudonimización.
- Una censura que falla puede ser una brecha de datos personales. Si el PDF ya se envió o se publicó y los datos se pueden recuperar, eso puede encuadrar como violación de seguridad (art. 4.12), que el responsable debe notificar a la AEPD dentro de las 72 horas cuando hay riesgo para las personas (art. 33).
- La AEPD advierte contra los atajos. En 10 malentendidos sobre la anonimización, publicado con el Supervisor Europeo de Protección de Datos, insiste en que seudonimizar o cifrar no es anonimizar y en que la anonimización no se puede automatizar del todo: hace falta criterio humano. Sus Orientaciones y garantías en los procedimientos de anonimización van en la misma línea.
Para quien ejerce en Argentina la lógica es la misma con otras palabras: la Ley 25.326 habla de disociación de datos (art. 2) y considera dato personal todo lo que se refiere a una persona "determinada o determinable". Un PDF con el DNI debajo del rectángulo sigue siendo un dato determinable. Y en los dos países el secreto profesional corre en paralelo: no depende de la ley de datos, alcanza a todo lo que el cliente te confió.
Cómo lo resuelve Anonimizar (y qué no hace)
Anonimizar es una app de escritorio para Mac y Windows que trabaja 100% en tu computadora, sin subir nada:
- Abrís el PDF (también acepta
.doc, .docx, .md y .txt). Si es un escaneo, activás el OCR, que también corre en tu equipo.
- La app detecta nombres, DNI/CUIT/CUIL, domicilios, teléfonos, emails, matrículas profesionales y patentes.
- Revisás cada dato en una tabla y confirmás o descartás antes de exportar. La detección no es infalible: esta revisión es parte del método, no un extra.
- Exportás a Word (.docx) o Markdown, con los reemplazos resaltados para que veas de un vistazo qué cambió.
Ojo: no te devuelve un PDF tachado. La salida es un documento nuevo en Word o Markdown, armado a partir del texto, con títulos y párrafos pero sin la maqueta exacta del PDF. Si necesitás un PDF, lo exportás desde Word. Y si lo que tenés que entregar es el mismo documento visual (con firmas, sellos o membrete), la herramienta indicada es una censura tipo Acrobat, aplicada y verificada.
La anonimización es irreversible por defecto: no se guarda nada que permita volver atrás. Si vas a pasar el texto por una IA y querés recuperar los nombres reales en la respuesta, podés generar de forma explícita un mapa de reemplazos que queda solo en tu equipo y te permite rehidratar el resultado. El flujo completo está en ¿Podés usar ChatGPT con datos de tus clientes?
Checklist antes de mandar el PDF
- Buscá con Ctrl+F el apellido, el DNI y el domicilio. Si aparecen, no está anonimizado.
- Seleccioná todo, copiá y pegá en un editor de texto. Leé lo que salió.
- Revisá las propiedades del documento: título, autor, asunto, palabras clave.
- Abrí el panel de comentarios, marcadores, adjuntos y capas. Tienen que estar vacíos o limpios.
- Cambiá el nombre del archivo. "Pericia_caso_03.pdf", no "Pericia Pérez.pdf".
- Pensá en la reidentificación: fechas, cargos y lugares combinados pueden delatar a alguien aunque no esté el nombre. Lo desarrollamos en qué datos anonimizar antes de compartir una sentencia.
Anonimizá PDFs sin que salgan de tu computadora
Anonimizar lee tus PDF (con OCR local para escaneos), detecta los datos personales, te deja revisarlos uno por uno y exporta a Word o Markdown. 100% local, sin nube ni telemetría, irreversible por defecto y reversible solo si lo elegís.
Probala gratis · 15 archivos
El OCR viene en los dos planes; si en el estudio procesan carpetas enteras de PDFs, el plan Estudio suma lote y carpetas completas. Mirá el detalle en planes y precios. Si el PDF va a terminar en una IA, leé también IA para abogados sin romper el secreto profesional.
Este artículo es informativo y no constituye asesoramiento legal. Las referencias al RGPD, la LOPDGDD, la AEPD y la Ley 25.326 son un resumen general: consultá el texto vigente y las obligaciones que te aplican según tu jurisdicción. Las funciones de herramientas de terceros pueden cambiar: verificá su documentación vigente.
You need to send a ruling, an expert report or a contract as a PDF without your client's data. You search "how to redact a PDF" or "how to black out text in a PDF" and get tools that ask you to upload the file, or tutorials on drawing a black box. Both can go wrong: the box often leaves the text intact underneath, and uploading the file means handing your client's document to a third party. This is the guide with the legal angle that's missing.
Why the black box doesn't delete anything
A PDF isn't a photo of the page: it has a text layer (what you can select and search) and, on top, whatever is drawn. When you place a black rectangle with the shapes or comments tool, you add a drawing over the text. The text is still there. Anyone who receives the file can:
- Select and copy: highlight the covered area, copy, paste into a text editor, and the name shows up.
- Search: with Ctrl+F (Cmd+F on Mac) the viewer finds the "hidden" word.
- Move or delete the box: if it's a comment or a shape, it can be selected and removed.
- Extract the text with any PDF-to-Word or PDF-to-text converter.
The same goes for black highlighting, white font, or shrinking the text until it disappears. And beware of "print to PDF" to "flatten": the result usually keeps text as text, so it may still be copyable even with the box on top. Always check.
What a PDF keeps that you don't see
Even if the visible text is clean, a PDF can carry data elsewhere:
- Metadata: title, author, subject, keywords and the software that created it. The title is often the original file name, like "Pérez v. Gómez complaint". You'll find it under File → Document Properties.
- Comments and notes: review annotations, sticky notes and replies that may name the client.
- Bookmarks, form fields and attachments: a bookmark titled with a party's name, a filled-in form, or a file attached inside the PDF.
- Hidden layers: content that exists but is switched off in the view.
- Earlier versions: some software saves changes by appending them to the end of the file, and the previous version may still be inside.
- The file name: the first thing the recipient sees.
Scanned PDFs: two different traps
If the PDF is a scan, each page is an image. That brings two problems:
- Without OCR there's no text: search finds nothing, and no tool can automatically detect an ID number that, to the computer, is just pixels. You need text recognition (OCR) even just to know what to remove.
- With OCR there's invisible text: many scanners and apps produce a "searchable PDF", which is the image plus an invisible text layer underneath. If you cover the image, that layer is still there and can be copied or searched.
The options, pros and cons
1. Acrobat Pro's redaction tool
Adobe Acrobat Pro has a dedicated feature for this (Redact): you mark what you want removed and, when you apply it, the content is deleted from the file and a box is left in its place. In the same flow it offers to remove hidden information such as metadata. Used properly, it works. The limits: it's paid, the marking is up to you (if you miss an ID number on page 14, it stays), marks delete nothing until you apply them, and the result is still a document full of black blocks, impractical if you later want to read it or run it through AI.
2. Flatten to image
You cover the data and turn each page into an image (export or print to image and rebuild the PDF). Since the text layer disappears, what's covered can't be copied. Downsides: the file gets bigger, nothing can be searched or copied anymore, it's still manual, and if you later run OCR to get search back, check that nothing half-covered reappears. Metadata has to be cleaned separately.
3. Online tools (PDF24, Smallpdf, iLovePDF and the like)
They're convenient and many include a redaction feature. But in their web versions, using them means uploading the document to a third party's servers. Even if they promise to delete it later, your client's PDF has already left your control before being anonymized: it's exactly the data you meant to protect. For a lawyer this clashes with professional secrecy and, if there's personal data, with the GDPR (or Argentina's Law 25.326): that service ends up processing your client's data on your behalf, which the GDPR only allows under a data processing agreement (Art. 28) and, if its servers are outside the European Economic Area, with safeguards for the international transfer. More on that in the next section. Some of these brands offer desktop apps; if you use one, check that it processes on your machine.
4. Anonymize instead of blacking out
Blacking out hides; anonymizing replaces. Instead of a black block, each item is swapped for a consistent label (PERSONA_01, DNI_01, LUGAR_01) and the original data is no longer in the document. The text stays readable, you can follow who is who, and it's usable for sharing with a colleague or running through AI. It's what Argentina's Supreme Court does with its internal anonymizer: we covered it here.
Redacting a PDF and the GDPR: what the law and the Spanish DPA expect
A badly redacted PDF isn't just a technical slip. In Spain and the rest of the EU, if the document contains personal data, the GDPR applies (alongside Spain's LOPDGDD, Organic Law 3/2018), and the supervisory authority is the Spanish Data Protection Agency (AEPD). Four practical points:
- A properly anonymized PDF falls outside the GDPR; a badly redacted one doesn't. Recital 26 says the rules don't apply to anonymous information, but to decide whether someone is identifiable you must account for all the means reasonably likely to be used. A box that copy-paste defeats fails that test: the document still holds personal data.
- Replacing with a code isn't always anonymizing. If you keep a table linking each code to the person, the GDPR calls it pseudonymisation (Art. 4(5)) and the data is still personal. We explain it in anonymization vs. pseudonymization.
- A failed redaction can be a personal data breach. If the PDF has already been sent or published and the data can be recovered, it may count as a breach (Art. 4(12)), which the controller must notify to the authority within 72 hours where there's a risk to people (Art. 33).
- The AEPD warns against shortcuts. In 10 misunderstandings related to anonymisation, published with the European Data Protection Supervisor, it stresses that pseudonymisation or encryption isn't anonymisation and that anonymisation can't be fully automated: human judgment is needed. Its guidance on anonymisation procedures points the same way.
For lawyers in Argentina the logic is the same in different words: Law 25.326 speaks of data dissociation (Art. 2) and treats as personal data anything about a "determined or determinable" person. A PDF with the ID number under the box is still determinable. And in both countries professional secrecy runs in parallel: it doesn't depend on data protection law and covers everything the client entrusted to you.
How Anonimizar handles it (and what it doesn't do)
Anonimizar is a desktop app for Mac and Windows that works 100% on your computer, uploading nothing:
- You open the PDF (it also accepts
.doc, .docx, .md and .txt). If it's a scan, you turn on OCR, which also runs on your machine.
- The app detects names, ID and tax numbers (DNI/CUIT/CUIL), addresses, phone numbers, emails, professional licenses and license plates.
- You review each item in a table and confirm or discard it before exporting. Detection isn't infallible: this review is part of the method, not an extra.
- You export to Word (.docx) or Markdown, with replacements highlighted so you can see at a glance what changed.
Note: it doesn't give you back a redacted PDF. The output is a new Word or Markdown document built from the text, with headings and paragraphs but without the PDF's exact layout. If you need a PDF, export it from Word. And if what you must deliver is the same visual document (with signatures, stamps or letterhead), the right tool is an Acrobat-style redaction, applied and verified.
Anonymization is irreversible by default: nothing is saved that would let you go back. If you'll run the text through AI and want the real names back in the answer, you can explicitly generate a replacement map that stays only on your machine and lets you re-hydrate the result. The full flow is in Can you use ChatGPT with your clients' data?
Checklist before sending the PDF
- Search with Ctrl+F for the surname, the ID number and the address. If they show up, it isn't anonymized.
- Select all, copy and paste into a text editor. Read what comes out.
- Check the document properties: title, author, subject, keywords.
- Open the comments, bookmarks, attachments and layers panels. They should be empty or clean.
- Rename the file. "Expert_report_case_03.pdf", not "Pérez expert report.pdf".
- Think about re-identification: dates, job titles and places combined can give someone away even without the name. We go deeper in what data to anonymize before sharing a ruling.
Anonymize PDFs without them leaving your computer
Anonimizar reads your PDFs (with local OCR for scans), detects personal data, lets you review it item by item and exports to Word or Markdown. 100% local, no cloud, no telemetry, irreversible by default and reversible only if you choose.
Try it free · 15 files
OCR comes with both plans; if your firm processes whole folders of PDFs, the Firm plan adds batch and whole-folder processing. See the details in plans and pricing. If the PDF will end up in an AI tool, also read AI for lawyers without breaking professional secrecy.
This article is informational and does not constitute legal advice. References to the GDPR, the LOPDGDD, the AEPD and Law 25.326 are a general summary: check the current text and the obligations that apply to you in your jurisdiction. Third-party tool features may change: check their current documentation.