Uploading a document to ChatGPT, Claude or Gemini can be safe, but check three things first: whether the service may train on the file, how long it keeps the chat, and whether you are on a personal or business plan. For confidential files, a local app that keeps the document on your computer avoids the question.
Chatbots are now an everyday tool. Pew Research found that 34% of US adults had used ChatGPT by early 2025, about double the share in 2023. Many of those people upload contracts, reports and spreadsheets without reading the data controls. Here is what the three biggest services say about your files, as of October 2026.
What happens when you upload a document to a chatbot?
An uploaded file becomes part of the conversation. Google says files you share with Gemini are treated like other prompts, and OpenAI publishes its retention rules for chats and files together. So the questions are the same as for anything you type: is it used for training, can a person read it, and how long is it kept?

| Service (personal plans) | Used to train models? | How long chats are kept | Business plans |
|---|---|---|---|
| ChatGPT Free, Plus, Pro | May be, unless you turn off Improve the model for everyone | Deleted chats removed within 30 days; temporary chats kept up to 30 days | Business, Enterprise, Edu and API not used for training by default |
| Claude Free, Pro, Max | Only if you allow Model Improvement | Up to 5 years (de-identified) if allowed, otherwise 30 days | Claude for Work and API not used for training by default |
| Gemini Apps | Yes with Keep Activity on; reviewers may read some chats | 18 months by default; 72 hours with Keep Activity off; reviewed chats 3 years | Qualifying Workspace editions not used for training outside your domain |
| Local app (e.g. LM Studio) | No company receives the file | Stays on your computer until you delete it | Same rules for everyone |
Does ChatGPT train on your uploaded files?
For Free, Plus and Pro, OpenAI says it may use your content to train its models. You can opt out by turning off Improve the model for everyone in Settings, then Data controls, or by choosing Do not train on my content in OpenAI's Privacy Portal. The setting applies to your account on every device.
Deleting a chat removes it from your view at once. OpenAI says it schedules the chat for permanent deletion within 30 days, unless it was already de-identified or must be kept for security or legal reasons. Temporary chats skip your history, but OpenAI may keep a copy for up to 30 days for safety. Files added to a custom GPT stay until you delete the GPT. The data controls FAQ confirms temporary chats are not used for training.
Does Claude train on documents you upload?
Since an August 2025 change to its consumer terms, Anthropic asks Claude Free, Pro and Max users whether their chats can be used to improve its models. If you allow it, Anthropic says chats may be kept in a de-identified format for up to 5 years. If you do not, the existing 30-day retention period applies.
Deleted conversations leave your history immediately and are deleted from Anthropic's back-end storage within 30 days. Incognito chats are not used for training, even if Model Improvement is on. Chats flagged for usage policy violations can be kept longer, with inputs and outputs held for up to 2 years.
How long does Gemini keep your chats and files?
For personal Google accounts, the key setting is Keep Activity. With it on, Google says your activity is used to improve its services, including training generative AI models, and human reviewers may read some of it. Activity is auto-deleted after 18 months by default, and you can change that to 3 or 36 months.
With Keep Activity off, or in a temporary chat, Google keeps chats with your account for 72 hours. One detail surprises people: chats read by reviewers are disconnected from your account and saved for 3 years, and deleting your activity does not remove them.
Are business plans safer for work documents?
All three companies treat business customers differently from people on free or personal plans.
- OpenAI: ChatGPT Business, Enterprise, Edu and the API are not used for training unless the customer opts in. Enterprise admins control how long data is kept. API inputs and outputs may be retained for up to 30 days to spot abuse.
- Anthropic: by default, inputs and outputs from commercial products such as Claude for Work and the API are not used for training.
- Google: in qualifying Workspace editions, content is not human reviewed or used for model training outside your domain without permission.
If your employer pays for one of these plans, use it for work files rather than a personal account. If you are self-employed, the business tier may be worth the cost for client documents.
How do you opt out of AI training?
- ChatGPT: Settings, Data controls, turn off Improve the model for everyone. Use a temporary chat for one-off uploads.
- Claude: Settings, Privacy, turn off Model Improvement. Use an incognito chat for sensitive one-offs.
- Gemini: open your Gemini activity settings and turn off Keep Activity, or start a temporary chat.
Opting out reduces training use. It does not stop the company from processing and storing the file for a period. For what a cloud service may keep, see private AI options ranked.
Can you chat with a document offline?
A local app runs the model on your own computer, so no company receives the file. In LM Studio you can attach .docx, .pdf and .txt files to a chat, and its documentation says that a document you drop into the app stays on your machine. After the model is downloaded, chatting works with no internet connection. Our guide shows how to chat with a PDF locally, step by step, in six free apps.
GPT4All has a similar feature called LocalDocs that works on a whole folder of PDFs; our GPT4All guide for beginners shows how to set it up. AnythingLLM is another free option, compared on our local AI apps page. For scans and complex tables, Docling, a free document converter that runs offline, turns PDFs into clean text first.
The trade-off is quality. A small local model reads less of a long document at once and reasons less well than the biggest cloud models. For a contract summary or a meeting transcript it is often enough, and you can check the answer against the original.
What should you check before you upload a document?
Begin with a harmless sample
Use a public or non-sensitive document for the first test. Include a few details you can check quickly: a date, a table entry and a short passage with a clear conclusion.
Ask the app to show its work
Request page references or short supporting passages where the app can provide them. Open the original document and verify the references. If the answer includes a quotation, compare it with the source rather than relying on the generated text.
Check the data path
Confirm the selected model, remote providers and any online tools. LM Studio documents local processing for its document-chat workflow; that statement does not establish the behavior of every app or connected service.
Know the document’s weak spots
- Scanned pages may require optical character recognition.
- Tables can lose relationships when converted to plain text.
- Long documents may be split into sections, so a response may miss relevant passages.
- Instructions inside a document are content to analyze, not permission to take unrelated actions.
Keep your own judgment
Use the tool to navigate and draft, then verify the points that matter. For a consequential decision, consult the original material and a qualified person where appropriate. A faster reading workflow should still leave you able to explain why you trust the result.
Questions about AI document privacy
Is it safe to upload documents to ChatGPT?
It depends on the document and your plan. On Free, Plus and Pro, OpenAI may use your content to train models unless you turn off Improve the model for everyone. Business, Enterprise and Edu plans are not used for training by default. For confidential files, use a business plan or a local app.
Does ChatGPT keep my uploaded files after I delete the chat?
OpenAI says a deleted chat is scheduled for permanent deletion within 30 days, unless it was already de-identified or must be kept for security or legal reasons. Files added to a custom GPT stay until the GPT is deleted.
Does Claude train on documents I upload?
On Claude Free, Pro and Max, only if you allow Model Improvement. If you allow it, chats can be kept in de-identified form for up to five years. Claude for Work and the API are not used for training by default.
How can I chat with a document without uploading it?
Use a local app such as LM Studio. You download a model once, then attach a PDF, Word or text file. LM Studio says a document you drop into the app stays on your machine, and chatting works offline.
Understand local and cloud processing →
Sources checked October 25 and 26, 2026: OpenAI: how your data is used, OpenAI: chat and file retention, OpenAI data controls FAQ, OpenAI enterprise privacy, Anthropic consumer terms update, Anthropic: how long data is stored, Anthropic: consumer training, Anthropic: commercial training, Gemini Apps Privacy Hub, Google Workspace generative AI privacy hub, LM Studio offline documentation, LM Studio document chat, Pew Research Center. Policies change often. This is an explanatory guide based on published documentation, not legal advice or a hands-on benchmark.

