DocFig Convert a statement

What happens to your statement

A bank statement holds some of the most sensitive information a person has. This page describes, step by step, what DocFig does with one. Every statement here describes how the service runs today. If that ever changes, this page changes first.

The short version

Step by step

  1. Connection. The site is served over HTTPS only. Traffic passes through Cloudflare's network, which decrypts and re-encrypts it on the way to the DocFig server; the second leg is also encrypted and the server's certificate is verified.
  2. Upload. The web server is configured to pass the upload straight to the application without buffering it to a temporary file. The application keeps the upload in memory; it does not save it, and the server has no swap space, so memory is not paged out to disk.
  3. Several files at once. When you add more than one statement, each file is held in memory, never on disk, until it converts, for at most 15 minutes, so page counts and passwords can be checked before anything is converted. To build the combined workbook, your browser sends back the converted rows, which are combined in memory and returned straight away; nothing is kept.
  4. Reading the PDF. The text is extracted in memory. A scanned page with no text layer, or a photo uploaded as JPG, PNG or HEIC, is turned into an image in memory and read by OCR software running on the same server, which receives the image through a pipe and returns text the same way. The file's own name never reaches the server: the browser sends the upload under a generic name and names your download itself.
  5. Password-protected PDFs. If the statement is locked, the browser asks for its password and sends it over HTTPS with the file. The server uses it once, in memory, to open the PDF, then discards it. The password is never logged, stored, counted or sent to the AI model, and the unlocked copy exists only in memory like any other upload. Wrong guesses are limited to 10 per file per hour.
  6. Masking. Before any text leaves the server, runs of eight or more digits, card numbers written in groups of four, and IBANs are replaced with placeholders such as [N1-4417], which show only the last four digits. Amounts and dates are not masked, because the conversion needs them. Names, addresses and transaction descriptions are not masked either; they are sent as printed.
  7. AI extraction. The masked text of each page is sent over HTTPS to OpenAI's API, which returns the transactions as structured data. OpenAI states that data sent to its API is not used to train its models by default and may be retained for up to 30 days to detect abuse; see OpenAI's API data controls. No other AI service is used.
  8. Checking. The placeholders are swapped back on the DocFig server, and the rows are checked against the statement's balances and page text, all in memory.
  9. Result. The rows wait in server memory until your browser collects them, which normally happens within a second of finishing, and are deleted in the same step. If a browser never collects a result, it is deleted after 15 minutes. The uploaded PDF itself is released as soon as its text has been read, before the AI step begins.
  10. Download. To build an Excel or CSV file, your browser sends the rows back to the server, which builds the file in memory, returns it, and keeps nothing. The table you see stays only in your browser tab; closing the tab discards it.

Unlocking a PDF in your browser

The PDF password remover, and the unlock box on the bank password pages, work differently from the converter: nothing is uploaded. When you unlock a file, the page loads qpdf, an open-source PDF tool compiled to WebAssembly, from DocFig and runs it in a background worker inside your browser. The PDF and the password are read and processed on your device, and the unlocked copy is made there too.

You can check this yourself. Open your browser's developer tools (F12, or right-click and Inspect), choose the Network tab, then unlock a file. You will see the unlock scripts and qpdf.wasm being loaded, and a few tiny requests to /api/event, each carrying only an event name such as unlock_success so DocFig can count daily totals. No request carries your file, its name or the password.

Only if you then choose Convert to Excel is the unlocked copy uploaded, and from that point the steps above apply: held in memory and never stored.

Image tools run in your browser

The image tools, such as reduce image size in KB and the image resizer in cm, never upload the image. The page reads the picture you choose, redraws it on a canvas at the size you set and saves the new JPG, PNG or WebP, all on your device, in a background worker where the browser supports one. The download comes from your browser's memory, not from DocFig.

To check, open the Network tab in your browser's developer tools and compress an image. You will see the page's scripts (img-core.js, img-tool.js and img-worker.js) load, and a few tiny requests to /api/event that carry only an event name such as img_compress_success. No request carries your image, its name, its size or your settings.

Compress PDF runs in your browser

Compress PDF and its size pages, such as compress PDF to 100 KB, never upload the PDF. The page reads the file you choose and first rewrites it with qpdf, compiled to WebAssembly and running in a background worker. If that is not small enough, pdf.js, also running on your device, draws each page and the page saves the drawings as a new PDF. The download comes from your browser's memory, not from DocFig.

To check, open the Network tab in your browser's developer tools and compress a PDF. You will see the page's scripts (pdfc-core.js, pdfc-tool.js, pdfc-worker.js, qpdf and pdf.js) load, and a few tiny requests to /api/event that carry only an event name such as pdfc_success. No request carries your PDF, its name, its size or the limit you typed.

Statement and e-invoice tools run in your browser

The CSV to QIF and OFX converter, the subscription finder, the spending summary, the self-employed expense sorter, the e-invoice viewer, the PDF to ZUGFeRD tool, the NF-e XML to DANFE converter, the FatturaPA to Excel tool and the WH-347 certified payroll tool never upload the file. The page reads the CSV, Excel, XML or PDF you choose with your browser's own file and XML readers, works out the results with scripts loaded from DocFig, and builds any download in your browser's memory. For a ZUGFeRD or Factur-X PDF, pdf.js, running on your device, takes out the XML inside; to make one, pdf.js reads your PDF's text and pdf-lib attaches the XML, both on your device.

The DANFE and FatturaPA tools read the XML with a small reader of DocFig's own (xml-mini.js), open a ZIP with your browser's built-in decompression, take the invoice out of a signed .p7m file in the page, and draw the PDF with pdf-lib and the Excel file with xlsx-write.js, all on your device. The WH-347 tool fetches the blank Department of Labor form from DocFig and writes your payroll onto it with pdf-lib in the page; the project details you type are kept in your browser's own storage, never sent.

To check, open the Network tab in your browser's developer tools and open a file. You will see the page's scripts load (such as stmt-core.js, stmt-tool.js, einv-core.js, einv-tool.js, zugferd-core.js, danfe-core.js, fattura-core.js, wh347-core.js and pdf-lib.min.js), and a few tiny requests to /api/event that carry only an event name such as subs_success. If you choose a sample, that sample file is fetched from DocFig. No request carries your file, its name or anything in it.

What is kept, and for how long

What is not on this site

No advertising, no social media widgets, and no fonts loaded from other companies. The one outside script is Google Analytics, loaded from Google to measure visits; it is skipped entirely when visitor counting is turned off or your browser sends Global Privacy Control or Do Not Track. DocFig sets three first-party cookies, and Google Analytics sets its own; the cookie notice lists them all. The site sends a strict Content Security Policy, so the browser refuses to run any script that does not come from DocFig itself or Google Analytics.

Limits worth knowing

While a file is being converted it exists, briefly, in the memory of a server and, in masked form, with OpenAI as described above. If your situation means a statement must never leave your own computer, an online converter of any kind is the wrong tool, and copying the figures by hand or using desktop software is the safer choice. Removing a PDF's password with the in-browser unlocker described above does not upload the file.

Found a security problem? Please email hello@docfig.com. The same address is listed in security.txt.