Skip to content

Publishing court decisions and public records: what must be masked

How France, Germany, the EU Court of Justice, the UK and the US mask names in published court decisions, and what to remove before you share one.

By Alexis de ONYRIUpdated September 27, 2026

It depends on the country. France, Germany and the EU Court of Justice remove the names of individuals before publishing decisions, each in its own way. England and Wales keep names public unless a court order or a law protects someone, and in US federal courts the person filing a document must redact it.

Why do countries publish court decisions so differently?

Two principles pull in opposite directions. Open justice says decisions must be public, so people can know the law and criticise the courts. Privacy says the people named deserve protection. In Germany, both have constitutional rank, as the Schleswig-Holstein data protection authority (ULD) notes. Each system strikes its own balance.

WhereWhat is removedWho does it
France (open data)Names of individuals who are parties or third parties; more if there is a riskCour de cassation and Conseil d'État
GermanyPersonal details; names of people and places often cut to initialsThe court, before release
EU Court of JusticeIndividuals' names in preliminary rulings: initials; since 2023, a fictitious case nameThe Court
England and WalesOnly what a court order or a statute protectsThe court, before publication
US federal courtsMost of social security and account numbers, full birth dates, minors' namesThe person who files
Situation as of September 2026, simplified.

What does France mask in court decisions released as open data?

France opened its court decisions as open data under laws of 2016 and 2019 and a decree of 29 June 2020. Only decisions delivered in public are concerned. According to the Ministry of Justice, masking has two levels.

  • Always: the names and first names of individuals who are parties or third parties. No case-by-case assessment.
  • At the request of the judge or court president: other identifying details whose disclosure would harm the security or privacy of the people named or those close to them. Judges and clerks can be protected too.

The Cour de cassation and the Conseil d'État do the masking: software first, then manual checks. The replacements keep decisions readable. Addresses become [adresse 1], [adresse 2], with the same label throughout. When personal dates are masked, the year stays: 12/05/2005 becomes [XX/XX/2005].

How do German courts anonymise the decisions they publish?

In Germany, the duty to publish comes from the constitution. In its judgment of 26 February 1997 (6 C 3.96), the Federal Administrative Court (BVerwG) called it a task of every court, but said decisions must first be anonymised or neutralised by the court itself. Passing the raw text to a third party would usually breach the personality rights of those named. The federal portal Rechtsprechung im Internet states that its decisions are anonymised.

How far should it go? The ULD's 2019 activity report cites a decision of the Higher Administrative Court of Baden-Württemberg: as a rule, it is enough to remove the parties and their representatives from the header and cut the names of all people and places to initials. It also reports a court that removed a woman's employer and clubs after she complained that readers could identify her.

How does the EU Court of Justice hide the names of individuals?

In press release 96/18 of 29 June 2018, the Court of Justice announced a change in step with the GDPR. In preliminary ruling cases brought from 1 July 2018, individuals' names are replaced by initials in all its public documents, and other identifying details are removed. Companies and other legal persons are not covered.

Since January 2023, these cases also get a fictitious case name, easier to remember and cite. According to the Court, a generator splits words into syllables and recombines them at random, so the name matches no party's real name.

What about court records in the UK and the US?

In England and Wales, the Civil Procedure Rules make hearings public as a general rule. A court withholds a person's identity only if that is necessary for the proper administration of justice and to protect that person's interests. Some anonymity comes from statute: the Sexual Offences (Amendment) Act 1992 keeps the name, address, school, workplace and picture of an alleged victim of a sexual offence out of publications for life.

The National Archives publishes judgments on Find Case Law. Its policy says it never changes the text and does no redaction: the court must anonymise first.

In US federal courts, Federal Rule of Civil Procedure 5.2 limits what a filing may show: the last four digits of a social security or account number, the year of birth, a minor's initials. The committee notes are blunt: the clerk is not required to check, and the filer must redact.

What should you mask before sharing a decision or an exhibit?

Court practice gives a useful checklist for anything you pass on.

  • Names of individuals: parties, witnesses, third parties, relatives, with initials and signatures.
  • Places that point to a person: address, small village, workplace, school, clubs.
  • Dates of birth and other personal dates. Keep the year only if the reader needs it.
  • Numbers: social security, tax, bank account and phone numbers, plus email addresses.
  • Stamps, photos and handwritten notes on scanned exhibits.
  • Details that single someone out: a rare job, a local event, a very small business.

Use consistent labels, as French open data does for addresses. Jane Example becomes [NAME1] in every paragraph, so readers can follow who did what.

Then read the result as an insider would. Could a colleague, a neighbour or an employer recognise Jane Example from the facts alone? If yes, mask more, summarise, or do not share. In exceptional cases, the ULD notes, the only option is not to publish. Keep the original file.

Can software do the masking for you?

Partly. French courts pair software with human checks: software finds obvious identifiers fast, a person judges the context.

ONYRI Sanitize is one such tool. It runs in your browser, so the file is not uploaded. It detects names, emails, phone numbers, addresses, dates, IBANs and official IDs in PDFs, Word files and scans. It exports a flattened PDF or image, with no text left under the masks. On the Pro plan, Token mode swaps each value for a consistent label such as [NAME1].

Detection is not exhaustive, company names without a legal form and medical terms in words are not detected, and handwriting is not read automatically — mask it by hand with the “Draw an area” tool. You review each item before downloading. Masking reduces exposure. It does not by itself make a decision anonymous.

Frequently asked questions

Is a published court decision anonymous under the GDPR?

Not necessarily. The ULD says court anonymisation is not anonymisation in the data protection sense: witnesses, people in the courtroom or insiders can still recognise the parties. The French justice ministry speaks of pseudonymisation, which makes identification harder without fully preventing it.

Can I reuse French court decisions published as open data?

Yes, with conditions. According to the Ministry of Justice, they are published under the Etalab 2.0 licence. Reusers become data controllers under the GDPR and must not profile, compare or rate judges and clerks.

Can I ask a French court to mask more details?

Yes. According to the ministry, any interested person can ask the Cour de cassation or the Conseil d'État for additional masking, or for its removal, where security or privacy is at risk.

Should I keep dates when I mask a judgment?

Keep what the reader needs. French open data keeps the year of masked dates. Timing often matters to the reasoning. A full date of birth rarely does.

Sources & references

  1. Open data des décisions de justice (in French)Ministère de la Justice, France
  2. Judgment of 26 February 1997, 6 C 3.96, on the duty to publish court decisions (in German)Bundesverwaltungsgericht (Federal Administrative Court, Germany)
  3. Rechtsprechung im Internet, home page (in German)Federal Ministry of Justice and Consumer Protection and Federal Office of Justice, Germany
  4. Activity report 2019, section 4.3.1: Publication of court judgments (in German)Unabhängiges Landeszentrum für Datenschutz Schleswig-Holstein (ULD)
  5. Press release No 96/18: From 1 July 2018, requests for preliminary rulings involving natural persons will be anonymised (29 June 2018)Court of Justice of the European Union
  6. Case names and citationsCourt of Justice of the European Union
  7. Civil Procedure Rules, Part 39: Miscellaneous provisions relating to hearings (rule 39.2)Ministry of Justice, United Kingdom
  8. Find Case Law: Publishing policyThe National Archives, United Kingdom
  9. Sexual Offences (Amendment) Act 1992, section 1legislation.gov.uk
  10. Federal Rules of Civil Procedure, Rule 5.2 and Committee NotesLegal Information Institute, Cornell Law School

Mask a document without uploading it

ONYRI Sanitize finds names, identifiers, bank details and secrets in a PDF, a Word file or a scan, and masks them in your browser. You check the preview, then download a flattened copy.