Find weak topics, improvement and attendance patterns in a class gradebook with an AI assistant, without sending student names. What to keep in the file, a request to copy, and how to check the answer.
Before you upload a gradebook to an AI assistant, replace each student's name with a code, keep only the columns your question needs, and ask for results by group and not by student. Then recalculate one figure yourself. A gradebook export is a CSV or Excel file with students' scores, taken from your school's grading or records system.
At the end of a semester you may want to know which topics the class found hardest, whether the students who missed the most lessons fell behind, and who has improved since September. An AI assistant can often help with questions like these in minutes. A gradebook also tells the service a good deal about children, and this guide explains that after the steps.
What do you want to find out?
Teachers usually want one of three things from a class file, and each is a different question.
- Which topics were weak? This is about content. It needs topic or question-level scores and nothing about who the students are.
- Who improved, or slipped? This is about change over time. It needs a student code, an assessment date and a score.
- Does attendance go with results? This needs a student code, an absence figure and a score, so that the two can be put side by side.
Write the question in one sentence before you start, and keep a short note of it. How to analyze a spreadsheet with an AI tool explains the general steps: tidy the sheet, choose how to share the data, and check the numbers. This guide covers what is particular to class data.
Which questions suit a class-level answer?
Many planning decisions can rest on a class-level answer, which is a result about the group, such as an average or a count of students, and not about named students. "Which topic had the lowest average on the November test?" gives you something to reteach. "How many students gained ten points or more between September and December?" suggests whether a method is working. Neither needs a name in the answer.
Questions about named students are different. "Who is at risk?" asks the assistant to rank people, and the answer rests on a few numbers that may not tell the whole story. You know the students and the assistant does not. A good use of the assistant is to point you to the rows that deserve a closer look, and then you look at them with what you know.
How do you set up the file?
Use one row for each student in each assessment. Put these columns in the file, and no others, unless the question needs them.
| Column | Example | Needed for |
|---|---|---|
| Student code | S07 | Matching a student's rows across assessments |
| Assessment | Sept, Nov, Dec | Change over time |
| Topic | Fractions, Algebra, Geometry, Data | Weak topics |
| Score | 0 to 100 | All questions |
| Days absent this semester | 4 | Attendance questions |
Leave out everything else unless the question depends on it. The FERPA guide lists the columns to take out of a gradebook, and what to do with a support flag the question truly needs.
For attendance, a total for the semester is often enough. A row for each day is more detailed than most questions need.
How do you write the request?
Name the columns, say what the numbers mean, ask for class-level results, and tell the assistant what to do with small groups. Here is an example for an invented class. The class, the scores and the codes are all invented.
The fourth instruction matters. A small group is one so small that a result about it points to a person. A common rule of thumb is fewer than five students, which this guide uses, and many statistics agencies set their own thresholds. In a class of 22, a group of two students is easy to recognize, and the average of two numbers says little. Asking the assistant to leave small groups out makes it less likely that a result points to a student, and keeps the answer honest.
How do you check the answer?
The general guide gives five checking steps, which apply here. Two matter most for class data.
First, recalculate one figure in your own spreadsheet. Education Week reported in September 2024 that AI chatbots such as ChatGPT sometimes get mathematics wrong, through botched calculations or faulty logic. Teachers it spoke to check results before using them, and one said that you cannot take everything it says without question.
Second, check the claim against what you know. The UK Department for Education says that any content an AI tool produces requires critical judgment to check for appropriateness and accuracy. It adds that the quality of a final document remains the responsibility of the professional who produced it. If the assistant says the class improved in geometry and you remember the geometry test was easier, the finding needs a second look.
What do you do with the answer?
Turn it into a short plan. "Fractions and algebra fell. Reteach fractions in week one." "Students absent six days or more gained less. Check what they missed." Put the plan, and the question that produced it, in your own planning notes. The assistant's text is a draft of your thinking, and your records stay where your school keeps them.
If you used student codes and the assistant mentions a code, look it up on your own computer, in the list you kept apart from the file. Putting the original values back after an AI answers describes the step.
What does your file tell the AI service, and anyone who sees it?
A gradebook looks like a list of numbers. It can hold more than that, and a file with the names removed may still say a good deal about children.
What is in the file. Scores show how each student is doing, which families and classmates may regard as private. Attendance may hint at circumstances at home, such as an illness, a caring duty or a move. The file records the absence and not the reason, but a pattern invites guesses. Support and welfare flags, which are columns marking a student as receiving extra help or an accommodation, say something about a student's needs or family. Comments and hidden parts of an Excel file can carry more, as the FERPA guide and hidden data in Excel files explain.
Group size. A class is small, and classmates, parents and colleagues can recognize a student from one low score or one absence total, even in a file of codes. See why a small class needs extra care and why removing names is not enough.
Where the file goes. What happens to an uploaded file depends on the product, the plan and your settings. On 12 November 2026, the providers' own pages said that content in some personal accounts may be used for training unless the person opts out. They also said that some chats are kept for days or years, and that reviewers read some. A school account may follow different terms. The general guide has a dated table, and what should not go into an AI tool goes into retention and training.
What the guidance says. The UK Department for Education's guidance on generative AI in education recommends that personal data is not used in generative AI tools. It says that any data entered should not contain information that could allow an individual to be identified. It also says that schools and colleges should seek agreement to use data in an AI tool.
An article for US teachers in The 74 advises against entering student information, including grades and absences, into AI platforms. Its exception is a platform approved by the school or the district and holding a contract with it. It suggests replacing an identifier with an alias or random number that cannot be traced back to the student. It also notes that a platform's claim to follow a student privacy law does not remove the school's responsibility for children's data.
Who else may see it. If you share a chat, or use a shared workspace, colleagues may see it. Administrators of a work account may be able to. And the students and their families are affected, although they are not part of the conversation and did not agree to it.
What you can decide. Most of the questions above need only counts and averages, which means most of the file can stay behind. You can use student codes. You can describe the columns and ask for a formula, and run it on your own computer, so that no student's row is sent anywhere. You can use a tool your school has approved. If your school's policy does not allow student data in a tool, ask your privacy lead first. No tool replaces permission.
What should you check before you upload?
The FERPA guide has a fuller checklist for preparing the file itself.
Done by hand, this is a job of deleting columns, replacing names with codes in the spreadsheet, and reading each text column. It works well for one class and a single export. It is slower for several classes or a whole grade level. It can also miss things that a search does not find, such as a nickname in a comment, a family described by an address, or two columns that together point to one student.
If a colleague is about to upload a gradebook to an AI tool, send them this page.
How can DataAttendant help?
DataAttendant helps you protect student names and other personal details in a gradebook or attendance export before you upload it to an AI tool. It runs in your web browser, on your own computer, and opens a CSV, Excel, JSON or XML file. It looks for names, email addresses, phone numbers, dates of birth and other personal details, and for each finding it proposes a treatment that you accept, reject or change. You can leave a column out, hide part of a value, replace it with a stand-in that is the same every time, or encrypt it so that it can be undone. A stand-in stays the same within the file and in later files for the same recipient, and for a date of birth it proposes keeping only the year. You see a preview and a list of what remains before you download the protected copy, and you can put the original values back in an answer that returns stand-ins or encrypted values.
In comment text it finds email addresses and some names. The file's values are processed in your browser and are not sent to DataAttendant. In an Excel file, comments and document properties are left out of the protected copy by default, and a comment you keep goes in unchanged. How DataAttendant works shows the steps.
Sources
- UK Department for Education, "Generative artificial intelligence (AI) in education" (policy paper; personal data, agreement to use data in an AI tool, critical judgment on accuracy; last updated 12 August 2025), gov.uk. Read 11 November 2026.
- Soares, W., "AI Tools and Student Privacy: 9 Tips for Teachers," The 74, 1 January 2025 (first published by Chalkbeat, 13 December 2024). Read 11 November 2026.
- Schwartz, S., "AI Gets Math Wrong Sometimes. How Teachers Deal With Its Shortcomings," Education Week, 20 September 2024. Read 11 November 2026.
- Providers' own pages on stored content: OpenAI, "How your data is used to improve model performance" (13 March 2026) and OpenAI Help Center, "Temporary chat FAQ" (no calendar date); Anthropic Privacy Center, "How long do you store my data?" (1 July 2026) and Google, "Gemini Apps Privacy Hub" (26 October 2026), read 12 November 2026. They are summarized, with their wording, in the general guide.
- Your school's or district's policy on AI tools and student information, and the law that applies to it, are not covered here.
Where next?
- How to analyze a spreadsheet with ChatGPT or another AI tool
- What is FERPA? What it means for school staff using AI
- What data should not go into an external AI tool
- How to remove personal details from a spreadsheet
- Why deleting names does not protect a spreadsheet
- Replacing real names with consistent stand-ins
- Hidden data in Excel files: what a workbook holds
- All articles
- What DataAttendant does
- Terms of service
