Writing · AI · Data Privacy

What research data can you put into an AI tool? A plain guide

← All writing

It's an easy mistake to make. You have a spreadsheet of survey responses that needs cleaning, a chatbot open in another tab, and a deadline. Pasting the data in takes four seconds. Whether you were allowed to is a different question, and the answer depends on what's in the spreadsheet.

This guide gives researchers, students, and the staff who support them a simple way to sort data before it goes near an AI tool. It sits alongside the guides on writing a campus AI policy and de-identifying research data, and it's part of the wider set in the AI in higher education guide.

Start with where the data goes

When you paste text into a public AI tool, it leaves your computer and lands on someone else's servers. What happens next depends on the tool, the type of account, and the settings. Some services keep conversations for a period of time. Some use them to improve their models unless you opt out. Paid and institutional accounts often come with different terms than free personal ones. Those terms change, so don't rely on what a colleague remembers from last year. Read the current terms and privacy settings for the exact account you're using.

The practical point: once data is in a tool you don't control, you can't fully take it back. So the decision has to happen before you paste.

Sort your data into three piles

You don't need a complicated framework. Three piles cover most situations.

Generally fine

Data that's already public, such as published datasets, open government statistics, and papers you can download. Your own writing and code that contain nothing confidential. Made-up example data. For these, the main question is your own comfort with the tool's terms.

Check first

Things that aren't sensitive but aren't public either: unpublished analysis code, draft manuscripts, grant text, internal notes. Some funders, journals, and employers have rules about sharing unpublished work with outside services, and reviewers of grants and papers are often told explicitly not to put submissions into AI tools. Look up the rule before you assume.

Don't paste into an unapproved tool

Anything about identifiable people. That includes student records, which in the U.S. are covered by FERPA, interview and focus group transcripts, survey responses with identifying details, health information, and data you received under a data use agreement. Also in this pile: anything your consent form or IRB protocol says will stay within the research team. I'm not a lawyer, and the exact rules depend on your institution and your data, so your IRB office, privacy officer, or general counsel has the final word.

Removing names doesn't make data safe

The common shortcut is to delete the name column and paste the rest. It often isn't enough. A small sample, an unusual job title, a specific date, or a sentence like "as the only transfer student in the nursing program" can point straight to one person. Free-text answers are the worst for this because people include details without thinking. De-identification is a real step with its own checks, and it should be reviewed before the data are shared anywhere, including with an AI tool.

Code, keys, and metadata leak too

Data isn't the only risk. Scripts often contain passwords, API keys, database addresses, and file paths that include usernames or project names. Before you paste code for debugging, read it once and strip anything that isn't the logic. If a real key does end up in a chat, treat it as exposed and replace it.

Safer ways to get AI help

Five questions before you paste

  1. Is any of this about a real, identifiable person?
  2. Did anyone promise these people, in a consent form or an agreement, that the data would stay somewhere specific?
  3. Is the tool approved by my institution for this type of data?
  4. Do I know what this account does with what I paste, including how long it's kept?
  5. Could I get the same help by describing the data, or by using made-up rows?

If the answer to the first or second question is yes and the third is no, stop and ask. It takes a short email to the IRB office or the privacy officer and can save a project.

If you support researchers or write campus policy

A one-page handout works better than a long policy. Put the three piles on it, name the tools your campus has actually approved, and say who to ask. People follow guidance they can find in the moment they need it. This is the kind of material I help campuses put together as part of AI and data services work, and it pairs well with a short AI literacy session for faculty and staff.

Common questions

Can I paste survey responses or interview transcripts into ChatGPT? Not if they contain identifiable information, and often not even if you've removed names. Free-text answers can still point to a person. Check your IRB protocol, consent form, and campus policy first, and use a tool your institution has approved for that kind of data.

Is it okay to paste data into an AI tool if I remove the names? Sometimes, but removing names alone rarely makes data safe to share. Small samples, rare roles, dates, and free-text details can identify someone. Treat de-identification as a separate step with its own review, not a quick edit before pasting.

What can I do if I want AI help with sensitive data? Use a tool your institution has approved and has an agreement with, run a model on infrastructure you control, or test your prompts and code on made-up sample data that has the same columns as the real data.

Is it safe to paste code into an AI tool? Usually yes for ordinary analysis code, as long as you strip out passwords, API keys, file paths with usernames, and any real data. Check whether your employer or funder restricts sharing unpublished code.


Samah Alshrief, Ph.D.

AI data scientist and research-computing specialist. I help researchers and universities with research data management, data services, and private AI. Get in touch →