Bank statement analysis with ChatGPT or Claude: prompts that get the numbers right
ChatGPT and Claude can analyse a bank statement well, but only if they read the file correctly first. Before asking anything, make the AI confirm the header row, the date order and how refunds are shown, then ask for totals with row counts so you can check them. Better still, give it a cleaned table where dates and amounts are already proper values.
Why statement analysis goes wrong
Bank exports aren't tidy tables. There are a few rows of letterhead before the header, amounts stored as text like "1,23,456.00" or "(200.00)", separate withdrawal and deposit columns, and dates like 05/02/26 that could mean 5 February or 2 May. The AI writes code to read the file, and if it gets any of these wrong it still gives you a confident total.
So the prompt that matters most is the one before the analysis.
Prompt 1: make it check the file first
Paste this before any question:
"Before analysing, tell me: which row is the header, the first and last transaction date, whether dates are day-first or month-first, how many transactions there are, and how money in and money out are shown (one signed column, or separate columns; are refunds in brackets?). Don't calculate anything yet."
Compare the answer with the PDF or your banking app: the opening and closing dates and the count should match. If they don't, correct it before going further.
Prompts for the usual questions
Once the file is read correctly, these work well. Asking for counts and example rows makes each answer checkable.
- Monthly summary: "For each month, give total money out, total money in and the number of transactions, as a table."
- Biggest payments: "List the 15 largest debits with date, description and amount."
- Categories: "Group the debits into categories (food, transport, shopping, bills, transfers, other) from the description. Show the total and count per category, and list the descriptions you put in 'other'."
- Subscriptions: "Find payments that repeat every month with a similar amount. Show the merchant, the usual amount and the dates."
- One merchant: "Total everything paid to Amazon, including refunds as negatives. How many payments and how many refunds?"
- Large transfers: "List every payment over ₹10,000 (or $500) with its date and description."
Prepare the file instead of re-checking every chat
Prompt 1 helps, but the AI works the layout out again in every new chat, and can get it right once and wrong the next time. Fileshape Ask AI does that step once. It finds the real header, turns amounts like ₹1,23,456.00 and (200) into numbers, settles the date order per column and writes dates as YYYY-MM-DD. PDF statements work too, including password-protected ones (the password is used once and never stored).
You then connect the file to ChatGPT, Claude or any MCP app through one URL. Instead of reading the whole statement, the AI asks Fileshape for exactly what it needs, like "sum of withdrawals grouped by month" or "rows where the description contains UBER", and Fileshape computes it over every row and returns the row numbers it used. The same question gets the same answer in every chat.
Before uploading you can mask the account number or hide columns you don't want the AI to see. Hidden columns aren't sent at all. See whether it's safe to upload a bank statement to ChatGPT for the settings to check in each app.
Convert or reshape a file in your browser. Nothing is uploaded.
Open the converterFAQ
Questions
What's the best prompt for bank statement analysis in ChatGPT?
Start by asking it to confirm the header row, date range, date order, transaction count and how debits, credits and refunds are shown, without calculating anything. Check that against your statement, then ask your actual questions with counts and example rows.
Can ChatGPT read a PDF bank statement?
It can try, but PDF tables often lose columns or merge rows when extracted. Converting the PDF to a clean table first, or connecting it through a tool that parses statements, gives more reliable totals.
Why does ChatGPT give a different total each time?
Each chat re-reads the raw file and may parse dates, refunds or text amounts differently. Working from a single cleaned table removes that variation.
Can I use ChatGPT as a bank statement analyzer?
Yes, for personal statements: give it a cleaned table, check the header and dates first, and ask for totals with counts. For lending or audit work, where every figure must be traceable, use a tool that computes over every row and cites the rows it used.
Can AI categorise my bank transactions?
Yes, from the description text. Ask it to show the totals per category and list what went into 'other', so you can correct the rules it used.
More from the blog
Keep reading
- AI for data analysis: which tool to use, and how to trust the answersThe three ways to use AI for data analysis (chat uploads, spreadsheet add-ins, connected agents), which fits which job, and how to check the numbers.
- How to upload files to ChatGPT and Claude, and share them with any AIUpload a file to ChatGPT or Claude, fix uploads that fail, and share the same files with every AI app through one URL instead of re-uploading.
- Is it safe to upload a bank statement to ChatGPT or Claude?What ChatGPT and Claude keep when you upload a bank statement, the settings that stop training on it, and how to share only the columns the AI needs.
- Excel and CSV MCP server: let any AI query your spreadsheetsWhat a CSV MCP server does, which tools it should have, and how to connect your CSV and Excel files to Claude, ChatGPT or Cursor through one URL.
Updated 2026-11-24