The Spanish Ministry of Justice's service for anonymising documents is in Carpeta Justicia (“Justice Folder”), its portal and app for citizens, companies and legal professionals. You sign in with Cl@ve, choose “Anonymise a court document” and the mode: dashes, initials or identifiers. The document is processed by the Ministry, which deletes it when it finishes, according to its privacy policy. To keep it from leaving your computer, you have to anonymise it locally.
What the Spanish Ministry of Justice's anonymisation service is
The Spanish Ministry of Justice's anonymisation service is a Carpeta Justicia feature that uses artificial intelligence to remove the personal data from a document. The English version of the Carpeta Justicia home page describes it like this: “This service allows you to delete the personal data contained in the document you want.”
Carpeta Justicia is, according to the same page, “a personal online space that facilitates the relationship with the public Justice service”. It started as a pilot programme in June 2023 and today brings together case files, notifications, hearing dates and certificates. Its «Servicios de resumen y anonimización» section (summary and anonymisation services) has several AI tools: summarising a court document in plain language, summarising judgments and court orders, clear reading, headings and anonymising.
How it got there, according to the Ministry's own sources:
- 14 September 2023. The Ministry presents its AI anonymisation, which makes it possible to “anonymise (hide or replace characters) the information in documents that identifies a person, in order to reduce the risk of the person being located or of their data being used fraudulently”, and estimates that by the end of that year it will have been used “around 20,000 times”.
- January 2024. The Dirección General de Transformación Digital de la Administración de Justicia (the Ministry's directorate for the digital transformation of the courts) announces a new version of Carpeta Justicia with a “summaries service” and “document anonymisation”, and puts its anonymiser at 60 to 70 documents anonymised a day.
- 5 May 2026. Version 1.3.1 of the Carpeta Justicia app for iPhone adds the “use of AI services to produce ‘summaries’ and ‘anonymisation’ of documents”.
The Ministry also has an internal tool, «Servicios de IA asociados a los documentos» (AI services for documents), which its civil servants open from their «Escritorio Integrado» (integrated desktop). For a lawyer or a member of the public, the way in is Carpeta Justicia. And although people still search for it as the Ministry of Justice, today it is called the Ministerio de la Presidencia, Justicia y Relaciones con las Cortes (Ministry of the Presidency, Justice and Relations with the Cortes, the Spanish parliament), which is how it appears in the Carpeta's privacy policy.
Who can use it and how you sign in to Carpeta Justicia
Anyone who can sign in to Carpeta Justicia can use it: individuals, legal entities and legal professionals, which the Spanish home page specifies as «abogados, procuradores y graduados sociales» (lawyers, court representatives and employment law practitioners). The home page lists anonymisation among the Carpeta's services without reserving it for any of those groups.
To sign in you have to identify yourself. The “Go to Justice Folder” button («Accede a Carpeta Justicia» in Spanish) takes you to Cl@ve, the system for identifying yourself electronically to Spanish public administrations. On its gateway you choose the method (Cl@ve Móvil, Cl@ve PIN, Cl@ve Permanente, electronic DNI or electronic certificate) from those each service accepts, and without one of them you cannot use the Carpeta.
You use it from the website, carpeta.justicia.es, or from the Carpeta Justicia app for iPhone and Android. On the App Store it is published by the Ministry's directorate for the digital transformation of the courts itself, and it is free. In the app, since that version 1.3.1, professionals can choose whether they act as a citizen or as a professional.
How to anonymise a document in Carpeta Justicia, step by step
To anonymise a document in Carpeta Justicia, you sign in with Cl@ve, choose the service and the mode, and provide the document. The Ministry does not publish a guide with screenshots outside the private area, so these steps follow what its home page, its privacy policy and the app's release notes say; the exact name of each button may vary.
- Open Carpeta Justicia at carpeta.justicia.es or in the app, and click “Go to Justice Folder”.
- Identify yourself with Cl@ve, using whichever method you have of those its gateway offers (Cl@ve Móvil, Cl@ve PIN, Cl@ve Permanente, electronic DNI or electronic certificate).
- Go to the summary and anonymisation services and choose “Anonymise a court document” («Anonimizar un documento judicial»).
- Choose the mode: automatic (with dashes), by initials or by identifiers. We explain them in the next section.
- Choose the document you want to anonymise. The privacy policy says this service is provided with your consent.
- Check the result line by line before using or sharing it: the data are recognised by an automatic system, and the Ministry itself talks about “reducing the risk”, not removing it.
If what you need is to understand a court decision, the same section has “Summarise a court document in plain language”, which according to the home page makes the text understandable “by anyone, even if they have no knowledge of Law”.
What it hides: dashes, initials or identifiers
The Ministry's service removes the personal data from the document and replaces them in one of three ways, depending on the mode you choose. This is how the Spanish home page of Carpeta Justicia describes them (our translation):
| What it does, according to Carpeta Justicia | |
|---|---|
| Automatic («automático») | “the anonymisation uses dashes” |
| By initials («iniciales») | “for certain fields it uses initials and for the rest, dashes” |
| By identifiers («identificadores») | “it uses identifiers to anonymise the document” |
Which data it treats as personal is not set out publicly. The 2023 press release talks about “the information in documents that identifies a person”, and the January 2024 presentation about “recognising named entities that identify information relating to specially protected subjects”. There is no public list of categories (names, identity documents, addresses, bank accounts, number plates) or of what it leaves visible, so you cannot know in advance whether it will hide, for example, an NIG (the Spanish case identification number) or the name of a school. You see it when you check the result.
Is the document uploaded to the Ministry's servers?
Yes: the document is processed by the Ministry, and its privacy policy says it deletes it as soon as the processing ends. What the Carpeta Justicia privacy policy says at 14 November 2026 (our translation):
- Who processes it: the Ministry's directorate for the digital transformation of the courts. Besides the name, surnames and tax ID (NIF) of the person signing in, the data it processes include “personal data that may appear in the documents processed by the anonymisation and/or plain-language translation services”.
- For how long: “both the documents and the data are deleted from the repository at the very moment the processing ends. However, a record of key performance indicators (KPI) is kept, but solely for statistical purposes”.
- On what basis: “The provision of the anonymisation and/or plain-language translation services is also based on your consent”.
- Where: “No international transfer of your personal data is planned”. The directorate's bulletin of October 2023 adds that the anonymisation runs on an infrastructure “installed in the Ministry of Justice's CPD” (its data processing centre), “guaranteeing at all times that the data remain under the Ministry's control”.
- Profiling: “No profiles will be created and no automated decisions will be taken on the basis of this personal data”.
Whether that is enough for a particular document at your firm is your decision, together with whoever handles data protection. The questions worth asking any tool before giving it a client's document are covered in client confidentiality and GDPR when using AI in a law firm.
What it does well and what it does not publish
The Ministry's service has in its favour that it is official, that it does not ask you to pay and that it deletes the document when it finishes; its weak point is what it does not say publicly.
What it does well
- It is the Ministry's own. It is provided by the Ministry's directorate for the digital transformation of the courts, on its own infrastructure, with no international transfers planned.
- No payment. None of its pages mentions a cost, and the app is free.
- It deletes the document and the data “at the very moment the processing ends”, according to its policy.
- From your phone. Website and app for iPhone and Android, with nothing to install on your computer.
- Three outputs. Dashes, initials or identifiers, to choose for each document.
- Next to the summaries. In the same section you can summarise a court decision in plain language or as headings.
Its limits
- Formats and size. The public part of Carpeta Justicia does not say which file types it accepts (PDF, Word, scans) or the maximum size.
- No list of data. It does not publish which categories it hides and which it leaves.
- It requires Cl@ve. You have to identify yourself to get in; it is not an open web page.
- The document leaves your computer. Even though it is deleted afterwards, it is processed by the Ministry.
- Designed for court documents. The service is called “Anonymise a court document”; the home page does not say how it handles a contract, an email or some notes.
- No way back described. Its description does not mention putting the real data back afterwards.
An alternative for anonymising without uploading the document: ablalo
The alternative to the Ministry's service, if you do not want the document to leave your computer, is to anonymise it with a program that works locally.
With ablalo, the Anonymize section removes the data from pasted text, a Word document (.docx), a PDF or a .txt file inside the app, on your computer: neither the text nor the document leaves it, and scanned PDFs are read by your own system's text recognition. It replaces names and surnames, DNI and NIE (Spanish IDs), NIG, IBAN, bar number, addresses, phone numbers and emails, among others, with tags such as [PERSONA 1] (person 1), the same one throughout the text and with its role if the document states it ([DEMANDADO 1], defendant 1). It leaves courts, laws, case law, amounts and dates (except date of birth) visible, marks anything doubtful and shows you what it said. You save it as a new Word document or PDF, or copy it. With Alt + A it anonymises the selected text in any program, and “Put the names back” restores the real details in the answer from ChatGPT or another AI. It is built for documents in Spanish.
What it does not do, as its own page says: it does not hide health or trade union membership data, and the facts described can identify someone, so it has to be checked. Nor does it keep the formatting of the original (from a Word document it reads the body, without headers, footers, notes or comments), and it cannot read a password-protected PDF. The anonymised text and the tag table are not saved: they are gone when you close. Because the names can be put back, strictly speaking it is pseudonymising; we explain the difference in anonymisation vs pseudonymisation. Everything it hides, with examples, is on anonymising documents with ablalo.
The Ministry's service vs ablalo
| Carpeta Justicia (Ministry) | ablalo | |
|---|---|---|
| Where it is anonymised | At the Ministry, which deletes the document and data when processing ends | On your computer; the document does not leave it |
| How you get in | By identifying yourself with Cl@ve (also with electronic DNI or a certificate) | From the desktop app, with your ablalo account |
| Devices | Website and app for iPhone and Android | Windows and Mac |
| Formats | Not published outside the private area | Text, Word (.docx), PDF (scanned too) and .txt |
| What it hides | Personal data; the list is not published | Published list; it does not hide health or trade union data |
| How the data end up | Dashes, initials and dashes, or identifiers | Tags such as [PERSONA 1], with their role |
| Putting the data back | Its description does not mention it | “Put the names back”, on your computer |
| In other programs | No | Alt + A on the selected text |
| Price | No payment mentioned; free app | Included in ablalo: see pricing; 14-day trial with no card |
The Ministry's service suits you if you do not want to install anything, if you need it on your phone or if you are fine with the document passing through the Ministry and being deleted when it finishes. ablalo suits you if the document must not leave your computer, if you want to know in advance which data will be hidden, if you work with Word documents and scanned PDFs every day or if you are going to run the text through an AI and then want the names back. Which personal data are worth removing in each case is covered in anonymising personal data.
In short
The Spanish Ministry of Justice (today the Ministerio de la Presidencia, Justicia y Relaciones con las Cortes) offers the “Anonymise a court document” service in Carpeta Justicia: you sign in with Cl@ve from the website or the app, choose the mode (dashes, initials or identifiers) and provide the document. It is official, mentions no payment and, according to its privacy policy, deletes the document and the data as soon as the processing ends. It does not publish the formats, the maximum size or the list of data it hides, and the document is processed by the Ministry. To anonymise without the document leaving your computer, ablalo does it inside the app, with tags that can be put back afterwards.
Sources: Carpeta Justicia, home page: what it is, who can sign in and the summary and anonymisation services (in Spanish), its English version and its privacy policy (in Spanish); Ministry of Justice, “Justice offers artificial intelligence technology to improve its services” (14 September 2023, in Spanish) and “The Ministry of Justice launches the Carpeta Justicia pilot programme” (12 June 2023, in Spanish); Dirección General de Transformación Digital de la Administración de Justicia, Actualidad Digital bulletin no. 9 (16 October 2023, in Spanish) and “AI and RPA in the Spanish Administration of Justice” (January 2024, in Spanish); App Store, Carpeta Justicia app listing and version history (in Spanish); Cl@ve, what Cl@ve is and how it works (in Spanish). Checked on 14 November 2026.
Frequently asked questions
How do you anonymise a PDF with the Spanish Ministry of Justice?
Through Carpeta Justicia: you sign in with Cl@ve, choose “Anonymise a court document”, the mode (dashes, initials or identifiers) and the document. The public part of Carpeta Justicia does not say which formats or what size it accepts, so check inside whether it takes your PDF, especially if it is scanned.
Where is the Carpeta Justicia document anonymisation service?
At carpeta.justicia.es and in the Carpeta Justicia app for iPhone and Android, under the summary and anonymisation services. First you have to identify yourself with Cl@ve, which also lets you sign in with an electronic DNI or an electronic certificate.
Is anonymising documents in Carpeta Justicia free?
None of the Ministry's pages mentions a payment for the service, and the Carpeta Justicia app is free. What you do need is to be able to identify yourself with Cl@ve.
Does the Ministry keep the document I anonymise?
According to the Carpeta Justicia privacy policy, the document and the data “are deleted from the repository at the very moment the processing ends”, and only performance indicators are kept, for statistical purposes. While it is being anonymised, the document is at the Ministry, not on your computer.
What does anonymising a document mean?
It means removing or replacing the data that identify a person (names, identity documents, addresses, bank accounts) before sharing it. If the data can be recovered with a table, as when they are replaced with tags, it is called pseudonymising: we explain it in anonymisation vs pseudonymisation.
Can you anonymise documents with AI without uploading them to the internet?
Yes, with a program that works on your computer. ablalo anonymises text, Word documents and PDFs, scanned ones too, inside the app and without uploading them, and replaces the data with tags such as [PERSONA 1]: we explain it in anonymise documents.