local councils and public administrations

Anonymize council minutes, decrees and public notices before you publish them.

The law asks you to hide different things depending on what you're publishing. Ocultia comes with both cases already built in, applies the masking formula set by the AEPD (Spain's data protection authority), and erases the text underneath — all inside the staff member's own computer.

Let's talk Free 7-day demo.
  • The case file is never uploaded to any cloud: it opens on your computer
  • .pdf · .docx · .odt with the layout untouched
  • The text underneath is deleted, not covered with a rectangle
decreto-2026-0417.pdftry it
Masking mode

MAYORAL DECREE No. 417/2026

Having considered the claim filed by Ms. María Serrano Ibáñez, DNI **.*45.67*-*, residing at C/ del Horno 22, 3.º B, against the 2025 tax assessment, this Mayor's Office resolves to partially uphold the claim.

An appeal for reconsideration may be lodged against this decision within one month of its publication.

NameVisible
DocumentMasked · 4 digits
Other dataAs you mark it

Publication of an administrative act. The person must remain identifiable, so the name is published and the document is what gets masked.

the problem

Covering it with a black box isn't anonymizing it.

Council meeting minutes go up on the portal with the name and DNI of the resident who spoke during the public Q&A. A sanctioning decree gets published with the licence plate and address of the person the case concerns. A public notice goes up with the full data because “that's how it's always been done”.

And the problem isn't just what's visible, it's what's still underneath. A black rectangle drawn over a PDF leaves the original text sitting in the text layer: it can be selected, copied and recovered in full. The Word file's metadata keeps the author, revisions and comments that nobody checked before publishing.

At her desk, a council employee reviews a document with several lines blacked out.

what almost nobody explains properly

The law asks for the exact opposite in each case.

The seventh additional provision of the LOPDGDD (Spain's data protection law) sets out how to identify a person when a public body publishes something that affects them. It distinguishes two situations that are resolved in opposite ways: in one, the document is masked and the name is left visible; in the other, the name is masked and the whole document is left visible. Confusing the two is the most common mistake, because instinct says everything should be hidden.

case 1

Publication of an administrative act

Resolutions, decrees, contract awards, lists of accepted applicants, grant awards. When you publish the decision.

NameMaría Serrano Ibáñez
DNI**.*45.67*-*
  • The name stays visible: the person must remain identifiable.
  • The ID document is masked, leaving four digits visible, using the AEPD's fixed formula.
  • Only DNI, NIE and passport numbers are masked. You flag anything else yourself.
case 2

Notification by public notice

Public notices, failed notifications, announcements in official gazettes. When you publish because you couldn't notify the person directly.

Namename hidden
DNI12.345.678-Z
  • The name is masked and removed from the text layer.
  • The document is published in full: that's what lets the person concerned recognize themselves.
  • If the person concerned has no ID document, you uncheck their name and it gets published.

Neither mode anonymizes anything. The rule wants the person to remain identifiable, so the document you publish still contains personal data. The one thing the provision bans in every case is leaving both the full name and the complete ID number visible at once: if you're about to do that, Ocultia warns you before you download — it doesn't stop you. The decision belongs to whoever signs off on the publication.

the formula

Four digits, and not just any four.

The masking leaves no room for judgment calls: the digits in positions four through seven of the document are published, and everything else is hidden, including the check letter.

Nobody picked those positions for convenience. They came out of a random draw on 27 February 2019 — ball number 4 — as part of joint guidance published by the AEPD (Spain's data protection authority), the APDCAT, the AVPD and Andalusia's Council for Transparency and Data Protection. They were drawn at random precisely so no public body could choose them.

Ocultia applies the rule character by character, keeps dots and dashes intact, and covers the edge cases: a NIE has seven digits plus a leading letter that doesn't count; a passport with fewer than seven digits reveals the last four.

try it with any document

Document type
published as

**.*45.67*-*

The digits in positions four through seven are published. Everything else is hidden, including the check letter.

What you just typed never left your browser: the calculation happens right here. With a whole document, Ocultia works the same way.

which documents

Everything that leaves the local council heads into public view.

Council meeting minutes

The public Q&A, resident interventions, roll-call votes. Names and DNIs of third parties who never asked to appear on the portal.

Decrees and resolutions

Sanctions, planning enforcement, mayoral resolutions. Name, ID number, licence plate and address of the person the case concerns.

Public notices and notifications

Summons published when a notification attempt fails. The case where the name is masked and the document isn't.

Procurement files

Tender specifications, evaluation committees and technical and professional ability. CVs of the assigned team carry DNIs, dates of birth and personal email addresses.

Grants and subsidies

Lists of beneficiaries and named awards. Often data that reveals someone's social or health situation.

Access to case files

Copies handed over under transparency rules or to parties concerned, with third-party data genuinely masked.

the difference that matters

The file never leaves the computer.

Ocultia runs entirely in the staff member's browser. The PDF is never uploaded to any server — not a vendor's, not ours. Once the app has loaded, you can disconnect from the network and check it yourself.

  • A shorter chain of data processors

    If the document never travels to a third party for processing, that link in the processing chain disappears — along with everything it takes to document it.

  • No copies or logs held by others

    No copy of the file sits on someone else's disk, and no log records which document each employee opened.

  • Works on your internal network

    On-premise deployment inside your intranet, air-gapped if you need it. Not a single byte leaves the perimeter.

A council employee holds a protected file inside the municipal building, with the cloud crossed out beyond the perimeter

how it works

Four steps, without leaving the browser.

01

Load the document

Drag in the PDF, Word or ODT file. It's never sent anywhere — it opens on your computer.

02

Choose the case

Administrative act, notification by public notice, or full masking to hand over a copy.

03

Review what's detected

See every piece of data highlighted by type. Add, remove or fix any detection before applying it.

04

Download and publish

A copy with the formatting intact, the text underneath deleted, and the metadata cleaned.

A council employee reviews two versions of a document with personal data blacked out on her laptop

frequently asked questions

What town clerks ask.

How many digits of the DNI, Spain's national ID number, can be published?

Four: the ones in positions four through seven of the number. Everything else is hidden, including the check letter. For a DNI 12345678Z, ***4567** gets published. The positions were set by a random draw on 27 February 2019, in joint guidance from the AEPD (Spain's data protection authority) and the regional data protection authorities.

Can I publish a decree with the full name and DNI?

No. That's the one thing the seventh additional provision of the LOPDGDD (Spain's data protection law) bans in every case. You have to hide one of the two: the ID document if you're publishing an administrative act, or the name if you're notifying by public notice.

Does this anonymize the document?

The two publication cases, no: they keep the person identifiable by design — that's exactly what the rule is for. The resulting document still contains personal data and is still subject to the GDPR. If you need to hand over a copy with everything masked, that's what the blocks mode is for.

Is the text actually deleted, or just covered up?

It's removed from the document's text layer. A black bar drawn on top leaves the original text selectable and copyable underneath. Ocultia deletes the underlying content and also cleans the file's metadata.

What if the person concerned has no DNI or NIE?

In notification by public notice, if the person concerned has no ID document, you uncheck their name in the detections table so it gets published. Without a name or a document, the notice wouldn't do its job of letting the person recognize themselves.

Do you have to upload the file to the cloud?

No. All processing happens in the browser on the workstation. For internal deployments there's an on-premise version that runs inside your network with no internet access.

shall we talk?

Tell us how you publish today, and we'll build it with you.

Tell us which documents you publish on your portal and which document management system you use. We'll handle the analysis, the setup and training your team.

Includes a free 7-day demo with the full feature.

Let's talk