10 November 2026 · Practical AI builds
How do I keep private data out of AI tools?
By the end of this you will have a simple routine for using AI tools without handing over customer details, passwords or anything else that should stay private. It suits small business owners and freelancers who already use a chat assistant for drafting and summarising and want to keep doing that safely.
I learn my automation tips in the AI Profit Boardroom. Have a look here. Affiliate link.
What you need
- The AI tool you already use, and ten minutes to read its privacy and data settings.
- A short written list of what counts as private in your business (a note or a spreadsheet is fine).
- A text editor, for tidying text before you paste it.
- Optional: Python on your computer, for a small script that strips out email addresses and phone numbers automatically.
- Optional: a local model runner such as Ollama with an open-weight model, for work so sensitive it should never leave your own machine. Local models are free to run but need a reasonably powerful computer, and they are usually less capable than the big hosted ones.
Step by step
- Write down what is private. For most small businesses that means customer names, addresses, emails, phone numbers, bank or card details, health information, passwords, API keys and anything a client has shared in confidence.
- Check the tool's data terms. Look for whether your chats can be used to train models, how long they are kept, and whether you can switch that off. This differs between free, paid, business and API plans, so check the plan you are actually on rather than assuming.
- Turn off what you do not need. If the tool lets you opt out of training or switch off chat history, do it. If you handle customer data and the provider offers a data processing agreement, read it, because under UK GDPR you are still responsible for that data.
- Ask whether the AI needs the private part at all. Usually it does not. To improve a reply to a complaint, the AI needs the complaint, not the customer's name or order number.
- Swap real details for placeholders. Replace names with [CUSTOMER], emails with [EMAIL], addresses with [ADDRESS]. Keep the real values in your own copy and put them back after the AI has done its job.
- Automate the obvious bits. A few lines of Python can catch email addresses and UK phone numbers before you paste anything. Save this as redact.py:
Then run it on a file:import re, sys text = sys.stdin.read() text = re.sub(r'[\w.+-]+@[\w-]+\.[\w.]+', '[EMAIL]', text) text = re.sub(r'(?:\+44\s?|0)\d(?:\s?\d){8,9}', '[PHONE]', text) print(text)python3 redact.py < notes.txt > clean.txtand paste from clean.txt. - Never paste secrets. Passwords, API keys and login links should never go into a chat window. If you need help with a config file, replace the real key with something like
YOUR_KEY_HEREfirst. - Keep the most sensitive work local. For things like medical notes or legal documents, use a model running on your own computer or your own server, so the text never reaches anyone else. If you are building something that answers from your own documents, the same idea applies: see how to build a chatbot that answers from your own files.
- Make it a habit for everyone. If anyone else works with you, share the private list and the placeholder rule, and say which AI tools are approved for work.
What good looks like
You can scroll back through your recent AI chats and find no real customer names, contact details, passwords or keys, only placeholders and general descriptions. The answers are just as useful as before, because the AI rarely needed those details. You also know which setting in each tool controls training and history, and you have checked it is set the way you want.
Watch out for
- Scripts only catch patterns. The script above finds email addresses and phone numbers, but it will not spot a name, a street or a unique detail that identifies someone, such as a rare job title in a small town. Always read the text yourself before pasting it.
- Files and screenshots carry data too. An uploaded spreadsheet, PDF or screenshot can hold far more than you meant to share, including hidden columns and metadata. Make a cut-down copy holding only what the AI needs.
- Settings change. Providers update their terms and defaults. Check again every few months, and keep a human check on anything the AI produces that goes to a customer.
Questions people ask
Is it safe to use a paid AI plan with customer data?
Paid business and API plans often come with stronger data terms, such as no training on your content by default, but this varies by provider and plan. Read the actual terms, and remove details the task does not need anyway.
Can I run an AI model myself so nothing leaves my computer?
Yes. Tools like Ollama let you run open-weight models on a laptop or your own server, so the text stays on your machine. They need decent hardware, and you may find them weaker on harder tasks. If you want to run one on a server, this guide to running a small AI app on a VPS covers the basics.
Keeping private data out of AI tools comes down to a few habits: know what is private, check the tool's settings, swap real details for placeholders before you paste, and keep the most sensitive work on a model you run yourself.
Want more automation tips? The AI Profit Boardroom on Skool is where I get mine. Have a look here. Affiliate link.