PrivaSearch

AI and privacy

Uploading documents to ChatGPT or Claude: what happens to them?

Where an uploaded file ends up, how long it stays, who can access it and what deletion means. With four approaches for files containing personal data.

In brief

  • An uploaded file goes in full to the provider and is stored there, even if your question concerns one paragraph.
  • In ChatGPT, a file can be retained separately from the conversation: deleting a chat does not automatically remove a stored file.
  • Whether a document is used for training depends on the subscription and the user's settings, not the file type.
  • After deletion, major providers take up to thirty days to remove something from their systems, with exceptions for security and legal obligations.
  • For a file containing personal data, there are four approaches: do not upload it, anonymise it first, use a business subscription with an agreement, or pseudonymise before AI sees it.

What happens to a document you upload to ChatGPT or Claude?

The whole file is sent to the provider, stored and read there so the model can answer questions about it. It remains until you delete it or a retention policy clears it. On a personal subscription, its contents may be used to improve models, depending on settings. On a business subscription, that does not happen by default.

This article explores one question; the full overview is on AI chatbots and the GDPR.

Below is what the providers themselves say about each aspect, as of October 2026. This documentation changes regularly: check the linked pages before basing a decision on it. Why a client file in a chat window creates GDPR concerns is explained on ChatGPT, Claude, Mistral Vibe and the GDPR.

What technically happens to an uploaded file?

Sending, storing and reading

A chatbot does not read a file on your own computer. It is uploaded to the provider's servers, where text is extracted for the model. In its explanation of uploading files and audio to ChatGPT, OpenAI says most subscriptions extract digital text from a file. According to that page, a document may be up to 512 MB: an entire client file fits in one upload.

More goes along than the text you see

As an example of what you can do with a file, OpenAI mentions requesting metadata, such as author or creation date. Those therefore go along too. The same applies to unseen contents: margin comments, tracked changes, hidden columns and the text layer beneath a blacked-out passage.

Where does the file end up?

In ChatGPT, a file may sit in four places. Its location determines what deletion means. The table follows OpenAI's page on chat and file retention, as of October 2026.

After deletion, OpenAI schedules permanent deletion within thirty days unless longer retention is needed for security or a legal obligation.

How long is an uploaded file retained?

None of the three providers automatically clears files for personal subscribers. The period starts when someone deletes them.

ChatGPT

Ordinary conversations remain until you delete them or a workspace retention policy clears them. Files in libraries, projects and GPTs follow the table above. For Enterprise, OpenAI mentions temporary files that may expire after 48 hours and backups that may contain a deleted file for up to thirty more days.

OpenAI may retain a copy of a temporary chat for up to thirty days for security. A file in a temporary chat therefore also goes to the provider first.

Claude

Anthropic's privacy centre gives no separate period for uploaded files. Its retention periods page concerns conversations: a deleted conversation disappears from Anthropic's systems within thirty days. We assume an attachment follows the conversation, but the text does not explicitly say so. Ask if it matters to your decision.

Anthropic does name two exceptions. If a Free, Pro or Max user permits conversations to improve the model, data may remain in the training environment for up to five years, dissociated from the user. A conversation flagged by safety systems may be kept for up to two years.

For business customers, the same thirty days after deletion applies. Custom retention periods are an Enterprise feature.

Mistral Vibe

Mistral, which now calls its assistant Mistral Vibe, gives no fixed period for conversations and files in its help centre. The retention periods page only says data is retained while processed. For the precise period, check the privacy policy and agreement.

Who can access an uploaded document?

The provider

For its business services, OpenAI explains access on Enterprise privacy. All business data may pass through automated safety systems. Human access for ChatGPT Business is limited to authorised staff for support, investigating abuse and legal obligations, and external parties assessing abuse under confidentiality obligations. Those commitments do not apply to personal subscriptions.

Your own organisation

With a personal account, the organisation cannot access anything. If a client asks what data was shared, you cannot check.

On a business subscription, ChatGPT Business workspace administrators may view, export and delete conversations. A file in a shared project is available to everyone with project access, including people who may not see the original in your records system. The same question arises with assistants searching your own files; see Microsoft 365 Copilot and the GDPR: what can Copilot see in your SharePoint?.

Connections to other services

An assistant may call a search engine or connected app along the way. In its explanation of data residency, OpenAI says anything sent to such a service falls under that party's terms, and PDF text extraction may take place outside the chosen region.

Is an uploaded document used for training?

The answer depends on the subscription, not the file type. An attachment is input, just like a typed question.

What each subscription arranges is explained in detail in ChatGPT Free, Plus, Business or Enterprise: which subscription may you use for business?.

Feedback counts too

In ChatGPT and Claude, a thumbs up or down on a personal subscription may make the whole conversation available for model improvement even with training disabled. Giving a useful answer about a client file a thumbs up shares more than you think.

What does deletion mean?

Out of sight does not mean gone

A deleted chat disappears from your overview immediately. Permanent deletion follows within thirty days at OpenAI and Anthropic, with exceptions for security and legal obligations. In ChatGPT, delete the library copy, project file and GPT knowledge file separately.

What has already been used

OpenAI makes an exception on deletion for content already dissociated from your account. None of the providers promises that something already included in training is removed on request. The moment to choose is before uploading.

The client's right

Under Article 17 GDPR, the client the file concerns has a right to erasure in certain cases and directs that request to you. If the file is on an employee's personal account, you cannot carry it out.

Why does one client file weigh more heavily than a hundred separate questions?

A typed question contains what the employee consciously writes. A file contains everything.

The Autoriteit Persoonsgegevens mentions summarising large files in its warning about AI chatbot data breaches. One notification concerned a file with telecommunications clients' addresses. See also Data breach through an AI chatbot: when must you notify the AP?.

What approaches exist for a file containing personal data?

There are four. They are not mutually exclusive: many organisations use two alongside one another.

Do not upload

The simplest rule, and the only right one for some files. It works only if there is another way to do the work.

Anonymise it yourself first

Removing names and numbers reduces risk but does not automatically make text anonymous, and takes time for each document. See Pseudonymisation or anonymisation: the difference and why it matters for AI.

A business subscription with an agreement

This arranges the relationship with the provider; see Data processing agreement with OpenAI, Anthropic, Microsoft or Mistral: what should you check?. It does not change what is sent: the entire file goes along.

Pseudonymise before AI sees it

Here the file does not go to the AI provider. An intermediary replaces personal data with pseudonyms and gives the assistant only passages relevant to a question. How that works is in What is an MCP server?.

What do you do if a file has already been uploaded?

  1. Establish what was uploaded and where. Which file, account and provider, in a conversation, project or library.
  2. Delete it separately everywhere. The chat, library copy and project file. Note the date.
  3. Check the training setting. Was it enabled, and was feedback given on the conversation? Document it.
  4. Assess whether it is a data breach. Involve your data protection officer or a lawyer in deciding whether to notify.
  5. Record what you did. Even without a notification duty, the incident belongs in your own records.
  6. Arrange the approach for next time. Without an alternative, it will happen again.

What PrivaSearch does here

PrivaSearch implements the fourth approach. It sits between your documents and the AI model. Upload files to PrivaSearch or connect a SharePoint library, which is only read. The document does not go to an AI assistant's provider.

Within PrivaSearch, names, addresses, BSNs, IBANs, vehicle registration numbers and dates of birth are detected without an external AI provider and replaced with pseudonyms consistent within a project. A colleague then sees original and pseudonymised text side by side, adds what is missing and approves. Without approval, a document is not searchable; detection is never complete. See How PrivaSearch works.

An AI assistant can search released text through an MCP connection. This works with Claude, ChatGPT Business and Mistral Vibe. For each question, the assistant receives a limited number of pseudonymised passages with a source reference, and no file, filename or link. Actions are logged.

What the assistant receives falls under its provider's retention policy; anything you type goes there directly. Pseudonymised data remains personal data for your organisation. You set an end date per project; see retention periods and Hosting in the EU.

To see it with your own example file, book a demo.

Frequently asked questions

Is it safe to upload a PDF to ChatGPT?

A PDF without personal data or confidential information presents little risk. With a client file, the entire file is stored at OpenAI, including metadata. On a personal subscription, content may be used to train models until you disable that, and there is no data processing agreement. That is not a suitable place for client data.

How long does ChatGPT keep an uploaded file?

Until you delete it or your workspace's retention policy clears it. OpenAI then schedules permanent deletion within thirty days, with exceptions. Note the location: a library file remains when you delete the chat, and a project file stays until the project or file is removed.

Can I retrieve an uploaded document from the AI?

You can delete the file and conversation, after which it disappears from the provider's systems within its deadline. Providers do not promise removal of content already used to improve a model. If training was disabled or you use a business subscription, that question does not arise. Choose before uploading, not afterwards.

Does an OpenAI or Anthropic employee read my documents?

Not by default. OpenAI says business data passes through automated safety systems and human access is limited to authorised staff for support, abuse investigation and legal obligations. Anthropic may retain a conversation flagged by safety systems longer. Human viewing is therefore not excluded. For a sensitive file, that is a reason not to share it in full.

Is a screenshot or photograph of a document less risky than the file?

No. An image is likewise sent to the provider and stored there. A screenshot often contains more than intended: a name in the title bar, another file in the background. Format makes no difference to the GDPR. What matters is the personal data shown.

What differs between uploading a document and letting AI search your documents?

Uploading sends a copy of the entire file to the chatbot provider. Searching through a connection keeps the file where it is and retrieves only relevant passages per question. What the assistant sees depends on the connection. If it passes raw text, personal data still goes along. If it passes pseudonymised passages, it does not.

Read more

  1. AI in education: may a school put pupil data into an AI chatbot?

    How schools use AI, why pupil data receives extra protection, which applications are prohibited or high risk, and what a school needs to arrange.

  2. Is ChatGPT safe? What happens to your data and which settings you control

    What ChatGPT stores, who can access it, how to turn off training, and what temporary chats, memory and shared links do. Includes a practical checklist.

  3. ChatGPT alternatives for business: comparing their approach to privacy

    Claude, Microsoft Copilot, Gemini and Mistral Vibe alongside ChatGPT Business: training, agreements, data location and administration. October 2026.

See in twenty minutes what happens to your documents.

We show it with fictitious client files from your sector: upload, detection, review, search and the connection with your AI assistant. Afterwards you'll know exactly what your team can use safely.

Book a demo →