Bank Statement Sample

For Developers & Testers

Bank Statement Sample CSV Files for Testing

A parser is only as good as the mess you feed it. Download clearly fictional statement CSVs in three formats, run them through your import routine, and see whether dates, sign and quoted commas survive.

Why a fictional CSV is the boring, useful thing

Every conversion of a real bank statement starts with a privacy decision. If you are building or testing an import routine, you can skip that decision entirely: start from invented rows and never touch a real account.

This page exists because most “sample statement” downloads are PDFs of a document someone drew. A PDF is fine for looking at. It is useless for testing code. What a developer, an accountant wiring up a spreadsheet template, or a support person reproducing a bug actually needs is a CSV with known values and known ways of being awkward — so that a pass or fail means something.

What you get

  1. The clean file

    Four columns — date, description, amount, balance — ISO dates, plain two-decimal numbers and a running balance that reconciles. This is the file your parser should pass without effort.

  2. The realistic file

    What a bank actually exports: currency symbols, thousands separators, a quoted merchant name containing a comma, and withdrawals written as parentheses instead of minus signs. Eight transactions, real-world awkwardness, fictional content.

  3. The broken file

    The same rows, with one balance wrong from the fifth line onward. Use it to test that your code notices a discrepancy instead of quietly importing the numbers it was handed.

All three come from the tool at the top of this page: press Load fictional sample for the clean set, Sample with mismatch for the broken one, then Download CSV. The file is assembled in your browser and never stored on a server, because there is no server in the path.

The four failures worth testing for

  • Dates that are not ISO. 09/03/2026 is either 9 March or 3 September depending on the locale. A CSV for import should carry YYYY-MM-DD, and a dot-separated date such as 03.09.2026 breaks naive parsing entirely.
  • Signs that hide in punctuation. (84.20), 84.20- and 84.20 DR all mean money out. Code that only looks for a leading minus will import every withdrawal as income.
  • Separators that are not commas. A European export may use semicolons, and a pasted table often uses tabs. Split on the comma and you get one column containing the entire row.
  • Commas inside quoted text. “SUNRISE CAFE, DOWNTOWN” is one description, not two fields. This single case breaks most homemade importers.

Our own converter is tested against these same four cases, which is why it detects the delimiter, normalises every date to YYYY-MM-DD and rewrites parentheses and DR/CR markers as signed numbers. If your routine handles them too, it is in reasonable shape.

Safe to share, on purpose

The data is invented end to end: a fictional bank, invented merchants, an account number ending 0000 and no letterhead. That is what makes the file safe to commit to a repository, attach to a bug report or hand to a colleague — there is nothing in it that belongs to anyone.

What these files are not: they are not a template you can submit as proof of income, address or funds, and they will not pass any verification check. Using one for that purpose is fraud, not testing. For what a real statement contains, read the field-by-field guide; for the three-month sets that lenders and visa officers actually ask for, see what three consecutive cycles show.

A note on real statements

When you eventually do run this against a genuine export, the safest pattern is the one this site uses: parse in the browser, keep nothing, and delete the file afterwards. If you paste real figures into any web tool, check first whether processing is local or server-side, and whether that tool states a deletion window.

Frequently asked questions

What is in the sample data?

Three shapes of mess. One is clean: four columns, ISO dates, plain two-decimal amounts. One is what a bank actually exports: currency symbols, thousands separators, commas inside quoted merchant names, parentheses for withdrawals. One has a deliberate ten-dollar error at row five so you can test error detection rather than only the happy path.

How do I get the CSV as an actual file?

Open the tool at the top of this page, press Load fictional sample, then download the CSV. The parsing and the file generation both happen in your browser, so the file is never stored on a server.

Is the sample based on a real statement?

No. The data is invented: a fictional bank, fictional merchants and an account ending in 0000. There are no real people, no real account numbers and no bank branding, which is what makes it safe to commit to a repository or share with a team.

What should a parser get right when run against this sample?

Date normalisation, negative detection (parentheses, trailing minus, DR and CR markers), thousands separators, and quoted fields containing a comma in the description. Those four cover almost every real-world import failure.

Use it for tests, tutorials, demos and spreadsheet practice. Do not present it as a bank-issued document or use it to support any application, claim or verification. The files carry no bank letterhead and are labelled as fictional on purpose.

Related guides & tools