Conversion
Convert a PDF bank statement to Excel in Morocco
By Walid El Omari, founder of Releva··
In brief
For a PDF statement downloaded from your online bank, use a reader that knows the bank's format. For a scan, or a bank with no dedicated reader, use an OCR or AI tool. Either way, then check that the opening balance, plus credits, minus debits, gives the closing balance.
Native PDF or scan: the ten-second test
A native PDF statement holds real text, while a scanned one is only an image. Open the file and try to select an amount with your mouse. If the text selects, the PDF is native.
This test decides the method. A native PDF reads without character recognition, and the figures come out as printed. A scan goes through image reading, where any digit can be misread.
Why copy-paste breaks
- Debit, credit and balance end up in a single cell.
- A label on two lines becomes two transactions.
- The page header repeats in the middle of the transactions.
- "1 234,56" arrives as text, and Excel won't add it up until the space and comma are handled.
- Each bank has its own layout, and a method tuned for one fails on another.
Convert a statement in five steps
- 01Download the statement from your online bank instead of scanning it.
- 02Pick the right entry: Attijariwafa Bank and CIH Bank are read in the browser. For another bank, use AI conversion.
- 03Review the table: dates, labels, debits and credits. Fix the flagged rows.
- 04Check the totals with the balance check.
- 05Export to Excel, CSV or TXT, with the columns your software expects.
Excel, CSV or TXT: which format for your software
| Format | When to use it | Watch out for |
|---|---|---|
| Excel (.xlsx) | Checking, reworking, sending to a client | Check that amounts are numbers, aligned right. |
| CSV | Import into accounting software | In French setups the separator is often a semicolon and the decimal a comma. Releva exports this way by default. |
| TXT | Software that imports a text template | Tab separated. Save the column order in a preset to reuse it. |
Dedicated pages cover the most common imports: Attijariwafa to Sage, Attijariwafa to Marosoft, CIH to Sage and CIH to Ciel.
Where your statement goes: the question to ask
A statement holds an account number, names and amounts. Before you send a file to an online tool, check where it is processed, how long it is kept and which providers receive it.
On Releva, your browser reads Attijariwafa and CIH statements, and they don't reach our servers. AI conversion sends the PDF to our server and then to Anthropic, our AI provider. We keep no copy, and Anthropic may retain the request for up to 30 days for abuse detection. Our privacy policy has the details.
Frequently asked questions
Can Excel read a PDF?
Microsoft 365 offers a PDF import in the Data tab, depending on your version. It works on simple tables and often needs cleaning on a statement with multi-line labels.
Can I convert a scanned statement?
Yes, with a tool that reads images. On Releva that is AI conversion. Review the amounts closely, since an image reads less reliably than text.
How much does conversion cost?
On Releva, Attijariwafa and CIH are free and unlimited with an account, and limited to 3 conversions a day without one. AI conversion includes 3 trials a month, then the Basic plan at $9.99 a month, plus tax, includes 20 AI conversions.
Which Moroccan banks are read directly?
Attijariwafa Bank and CIH Bank. Bank of Africa, Banque Populaire and other banks go through AI conversion.
Convert your next statement
Attijariwafa and CIH are free and read in your browser. For other banks, AI conversion includes 3 trials a month.