WordGPT

Turn a bank statement into JSON your code can parse.

Convert a bank statement to JSON with snake_case keys, nested sections and exact amounts. Free preview; accounts get the whole file.

or drop a PDF, Word or text file here (up to 5 pages, 2 MB)

This preview shows the first 350 words and does not keep your file.

Need a different result? Turn anything into anything: drop any file, pick what you want out of it.Try it →

If you are writing a parser for bank statements, the hard part is the layout: PDF text often comes out in an order you cannot rely on, and every bank labels its columns differently. This page turns a statement into one JSON object with fixed field names, nested sections for the account period, balances and transactions, and null wherever the statement gives no value. Dates, amounts and balances are kept as printed, so your code can check them against the source.

What you get

Stable field names

Keys use snake_case and follow the same structure for each statement, so your parser can read the same fields across files without special cases.

Nested sections

The account period, opening and closing balances, and the list of transactions sit in their own groups, so you can load each part into the right table or object.

Null instead of guesses

A blank money-out or money-in cell becomes null, not 0 or an empty string, so you can tell a missing value from a zero amount.

How it works

  1. Step 1

    Paste the statement text, or drop the PDF or Word file into the box.

  2. Step 2

    Check the JSON preview: confirm the field names, the record count and the first few amounts against the statement.

  3. Step 3

    Create a free account to get the whole JSON as a .json download, process long or scanned files and batches, and change field names or match a schema you already use.

Who uses it

  • Backend engineers building a finance import

    Take the JSON for one statement and map each transaction into your own database schema, using the balance fields to check that your totals match the statement.

  • Developers testing a parser

    Use the output as a fixture to compare against what your code extracts, so you can see exactly which dates, amounts or balances differ.

  • Teams building reconciliation scripts

    Load the transactions and the opening and closing balances as separate objects, then write a script that checks the running balance line by line.

Questions

What does the JSON look like?

The output is one JSON object shown in a code block. It has nested sections for the account period, the opening and closing balances, and a list of transaction records, each with date, description, money out, money in and balance. Keys are in snake_case, and each amount and date is kept as printed on the statement.

What happens to an empty money-out or money-in cell?

The field is set to null, not 0 or an empty string. That way your code can distinguish a blank cell from a real zero amount. The same applies to any balance or period detail the statement does not show.

Can I use my own field names or match a schema?

The preview uses the structure described above. With a free account you can ask for your own field names or a schema your tool expects, and the whole JSON is available as a .json download.

Does the preview work with scanned statements?

Scanned statements need a free account, because they require OCR. The preview reads up to 5 pages of a PDF (2 MB) or about 6,000 characters of text, and it does not keep your file. Results can contain mistakes, so check the numbers against the original statement when they matter.

Related tools

More tools for developers: see them all.

See it on real examples

Three actual runs of this tool. Open one to see the input and the whole result.