Brokerage statement to Excel
Turn a PDF brokerage statement into three spreadsheets: holdings, account activity and realized gains. Every gain is checked against its proceeds and cost basis before you download.
| Symbol | Description | Quantity | Acquired | Sold | Proceeds | Cost basis | Gain or loss | Term |
|---|---|---|---|---|---|---|---|---|
| ACME | Acme Corp common | 40 | 2024-02-14 | 2026-04-09 | 5,212.40 | 3,880.00 | 1,332.40 | Long |
| INKP | Ink + Paper Co | 120 | 2025-11-03 | 2026-05-02 | 2,946.00 | 3,318.60 | -372.60 | Short |
| MTMX | Meridian Total Market Fund | 25.5 | 2022-06-20 | 2026-05-28 | 3,417.51 | 2,601.00 | 816.51 | Long |
| PTSI | Paper Trail Supplies | 60 | 2026-01-12 | 2026-06-11 | 1,489.80 | 1,236.00 | 253.80 | Short |
| Total, 4 lots | 13,065.71 | 11,035.60 | 2,030.11 | |||||
| Symbol | Gain or loss | Term |
|---|---|---|
| ACME | 1,332.40 | Long |
| INKP | -372.60 | Short |
| MTMX | 816.51 | Long |
| PTSI | 253.80 | Short |
| Total | 2,030.11 |
| Symbol | Description | Asset class | Quantity | Price | Market value | Cost basis | Unrealized |
|---|---|---|---|---|---|---|---|
| ACME | Acme Corp common | Equity | 160 | 131.20 | 20,992.00 | 15,520.00 | 5,472.00 |
| MTMX | Meridian Total Market Fund | Mutual fund | 410 | 134.02 | 54,948.20 | 41,820.00 | 13,128.20 |
| PTSI | Paper Trail Supplies | Equity | 140 | 24.83 | 3,476.20 | 2,884.00 | 592.20 |
| CASH | Cash and sweep | Cash | 22,946.05 | ||||
| Total holdings | 102,362.45 | ||||||
| Symbol | Market value |
|---|---|
| ACME | 20,992.00 |
| MTMX | 54,948.20 |
| PTSI | 3,476.20 |
| CASH | 22,946.05 |
| Total | 102,362.45 |
| Trade date | Settle date | Type | Symbol | Description | Quantity | Price | Amount |
|---|---|---|---|---|---|---|---|
| 2026-04-09 | 2026-04-10 | Sell | ACME | Acme Corp common | 40 | 130.31 | 5,212.40 |
| 2026-04-15 | 2026-04-15 | Dividend | MTMX | Meridian Total Market Fund | 312.18 | ||
| 2026-05-02 | 2026-05-05 | Sell | INKP | Ink + Paper Co | 120 | 24.55 | 2,946.00 |
| 2026-05-28 | 2026-05-29 | Sell | MTMX | Meridian Total Market Fund | 25.5 | 134.02 | 3,417.51 |
| 2026-06-11 | 2026-06-12 | Sell | PTSI | Paper Trail Supplies | 60 | 24.83 | 1,489.80 |
| 2026-06-22 | 2026-06-23 | Buy | ACME | Acme Corp common | 20 | 130.20 | -2,604.00 |
| Date | Type | Amount |
|---|---|---|
| 2026-04-09 | Sell ACME | 5,212.40 |
| 2026-04-15 | Dividend MTMX | 312.18 |
| 2026-05-02 | Sell INKP | 2,946.00 |
| 2026-05-28 | Sell MTMX | 3,417.51 |
| 2026-06-11 | Sell PTSI | 1,489.80 |
| 2026-06-22 | Buy ACME | -2,604.00 |
How to convert a brokerage statement to Excel
Use the PDF from your brokerage's document center. Quarterly statements that run many pages are fine.
Drop the statement PDF, a scan, or a phone photo. Upload up to 20 files at a time, up to 8 MB each.
LedgerBox splits the statement into holdings, activity and realized gains. Each lot's gain is checked against its proceeds and cost basis. A lot that does not match is flagged with the reason.
Download a CSV of every row, a realized gains CSV in Schedule D column order, or JSON. CSV files open in Excel and Google Sheets.
The files you get from a brokerage statement
Brokerage statement to CSV
One CSV with every holding, activity row and realized gain. The first column says which table each row came from, so you can filter it.
Columns include record_type, symbol, description, quantity, price, market_value, cost_basis, trade_date, activity_type, amount, acquired_date, sold_date, proceeds, gain_loss, term
Realized gains CSV for Schedule D
Only the closed lots, in Schedule D column order. Term is the last column, so you can split short term from long term with one filter.
symbol, description, quantity, acquired_date, sold_date, proceeds, cost_basis, gain_loss, term
Brokerage statement to Excel
The CSV files open in Excel, Google Sheets and Numbers. Select many statements and download them as one file. Each row keeps the name of the statement it came from.
CSV export detailsJSON and the API
Get every field and row as JSON, with the summary fields: custodian, account name, last 4 of the account number, period, beginning and ending value, and currency.
API and SDKEvery gain is checked against cost basis
A misread digit in a gains table turns into a wrong number on a tax return. LedgerBox checks the statement's own math before you export.
Page 6. Proceeds minus cost basis does not equal the gain or loss on this lot.
Who converts brokerage statements
Tax preparers
Turn a client's realized gains into a CSV in Schedule D column order, with short and long term marked on every lot.
LedgerBox for tax preparersAccountants and bookkeepers
Record dividends, sales and ending values for a client's investment account without typing them from a PDF.
LedgerBox for accountantsMortgage lenders
Read an applicant's holdings and ending value from the asset statements they send, with the totals checked.
LedgerBox for mortgage lendersInvestors
Put a year of quarterly statements in one spreadsheet to see what you sold, what you hold and what it cost.
Start with 10 free pagesWhen you do not need a converter
Your brokerage's download
Many brokerages let you download recent activity as a CSV from their website. If the dates you need are there, use that.
Form 1099-B
After the tax year, your brokerage sends a 1099-B with your sales. Some also offer it as a file for tax software.
When a converter helps
Statements that only come as PDF, older quarters, statements from several brokerages, and scans a client sends you.
Is it safe to upload a brokerage statement?
Brokerage statement converter pricing
10 pagesfree, no card
- Share LedgerBox with a colleague200 free pages
- Starter, 60 pages a month$25 a month
- Pro, from 640 pages a monthfrom $135 a month
Brokerage statement questions
How do I convert a brokerage statement to Excel?
Upload the PDF, check the rows LedgerBox finds, and download the CSV. It opens in Excel with holdings, activity and realized gains in their own rows.
Can I get a CSV of my brokerage statement?
Yes. You get one CSV with every row, and a second CSV with only the realized gains. You can also download JSON.
What does LedgerBox pull from a brokerage statement?
The custodian, account name, last 4 of the account number, period, beginning and ending value, and currency. Then three tables: holdings, account activity, and realized gains.
Can I use the realized gains for Schedule D?
The realized gains CSV follows Schedule D column order: description, dates acquired and sold, proceeds, cost basis, and gain or loss. Each lot is marked short or long term.
How do I know the gains are right?
Proceeds minus cost basis must equal the printed gain or loss on every lot, to the cent. A lot that does not match is flagged with its page, so you can fix it before export.
Does it work with my brokerage's statements?
Yes. LedgerBox reads the layout of each statement instead of using a template per brokerage, so statements from any brokerage or custodian convert the same way.
Can it read a scanned statement?
Yes. Scanned PDFs and JPG, PNG and HEIC photos are read with OCR. Rows that are hard to read are flagged for you to check.
Why don't my holdings add up exactly to the ending value?
Accrued interest, pending trades and rounding can move the ending value a little. LedgerBox allows a small difference here, and flags a bigger one.
Can I convert a year of statements at once?
Yes. Upload up to 20 files at a time, then download them as one CSV. Each row keeps the name of the statement it came from.
Is my account number in the export?
Only the last four digits. The extracted rows and every export carry the last four, never the full number. The PDF you upload stays in your account until you delete it.
Convert your first brokerage statement
10 pages free. No card needed.