Redact screenshots automatically – personal data in guides

Guides are made in the real program, with real data. A single screenshot can show names, dates of birth and account numbers – and then end up on the intranet, in the wiki or attached to an e-mail. Here is how to redact properly, and how software can do it automatically.

Why it matters

The GDPR requires data minimisation: personal data must be adequate, relevant and limited to what is necessary for the purpose (Art. 5(1)(c) GDPR). For a guide, the customer’s name in the search field is almost never necessary – it just happens to be in the image. Leaving it there hands personal data to everyone who reads the guide. For public bodies, law firms, practices and banks, professional and official secrecy come on top. This is not legal advice; when in doubt, ask your data protection officer.

What is not enough

  • Black boxes in Word or PowerPoint. A shape over the image only covers it. The image underneath stays complete in the document; anyone who moves the shape or saves the image sees everything.
  • Markups in PDF programs that only add a layer. Here, too, the content often stays underneath. Real redaction tools remove the content; a rectangle only draws over it.
  • Blur and pixelation. They look safe but leave the shape and length of the text visible. For data that must be protected, an opaque fill is the safe choice.
  • Only the obvious. Besides the name in the form, data often also sits in window titles, lists, tables, tooltips or the most recently opened file.

Redacting properly: the rules

  1. Replace pixels, do not cover them. The redacted area must be a single colour in the saved image itself.
  2. Remove metadata. Document properties such as the author, or a template path with a user name, do not belong in a shared guide.
  3. Check every image. The same customer number often appears in ten consecutive steps.
  4. Decide traceably. Whoever reviews should see every finding and consciously choose “redact” or “leave visible”.
  5. Never record passwords in the first place. What was never in the image does not need redacting.

How automatic redaction works

A program can find personal data in two ways: through the texts Windows provides for controls (UI Automation, with their position in the window), and through text recognition in the image for everything else. Rules then run over these texts:

  • Patterns with check digits for IBAN, tax ID or social security number – a random string of digits does not pass the check.
  • Field labels: if a field is labelled “Surname” or “Date of birth”, its value is exactly that – even without a pattern.
  • Name lists and context for first names and surnames.
  • Your own patterns for your organisation’s file, customer or patient numbers.

No detection is complete: surnames without context, handwriting or text that is hard to read slip through. That is why every automatic system needs a review before export.

Your own patterns, by example

Every organisation has numbers no general pattern knows: file references, client, customer or case numbers. They can be described as a regular expression. A file reference of the form AZ-2026-01234 matches the expression AZ-\d{4}-\d{5}: the letters “AZ”, a hyphen, four digits, a hyphen, five digits. Always test a new pattern on real examples and on text it should not match – otherwise a pattern that is too broad also redacts version numbers or dates. If the pattern is set centrally, it applies to everyone alike.

Checklist before sharing

  • Every finding has been looked at, uncertain spots are decided.
  • The redaction is permanent in the exported image, not just a layer.
  • Document properties contain no personal data or paths.
  • Window titles, lists and status bars were checked too.

stepdok

How stepdok does it

stepdok detects names, e-mail addresses, phone numbers, IBAN and account numbers, dates of birth, places and addresses, tax ID, social security and AHV numbers, licence plates and your own patterns – from UI Automation texts and with Windows text recognition, without an AI model and without a download. Certain findings are redacted during the recording; uncertain ones are put to you in the privacy check (“uncertain – please decide”), and the same spot in several images is one decision. On export the pixels are replaced, images carry no metadata, and the Word document contains no template path. Password fields never appear in an image.

Get it from Microsoft Store Features

€39.99 one-time incl. VAT · 30-day free trial · no subscription, no account

The stepdok privacy check: summary of found, automatically redacted and uncertain spots, filters by category and findings with preview and the buttons “Redacted” and “Leave visible”.

Sources

  1. Regulation (EU) 2016/679 (GDPR), Art. 5 – EUR-Lex

Retrieved .