Blog
How to Export Crypto Transaction History for Taxes
To export crypto transaction history for taxes, collect three things: CSV or tax-report exports from every exchange you used, history for every self-custody wallet by its public address, and records of transfers between them. Combined, they give you dates, amounts, dollar values and cost basis for each disposal. Brokers send Form 1099-DA for sales on their platforms, but wallet activity, DeFi trades and transfers are yours to document.
Key Takeaways
- Exchanges: download full-history CSVs, not just the tax year.
- Wallets: export history or look up each address on a block explorer.
- Transfers: match withdrawals and deposits so they are not counted as sales.
- Combine: a spreadsheet or crypto tax software builds the final report.
Where Each Record Comes From
| Source | How to get it | What it gives you |
|---|---|---|
| Centralized exchange | Account settings → statements or tax reports → CSV | Trades, deposits, withdrawals, fees |
| Self-custody wallet | Wallet export, or address on a block explorer | Sends, receives, swaps |
| Block explorer | Paste the public address | Full on-chain history with timestamps |
| Bank statements | Online banking | Fiat deposits and withdrawals |
| Form 1099-DA | Your broker, early in the year | Proceeds (and basis for covered assets from 2026) |
Self-Custody Wallets
Self-custody wallets such as Gem Wallet keep keys on your device and do not report to anyone, which is good for privacy and means records are your responsibility. Copy each public address you use, then export history from the wallet if available or from a block explorer for that chain. Never share your recovery phrase with a tax tool; public addresses are all an import needs. More on this in our self-custody records checklist.
Fields Your Records Need
- Date and time of each transaction.
- Asset and amount.
- Dollar value at the time.
- Fees paid.
- Type: buy, sell, swap, transfer, income.
- Wallet or account it happened in; cost basis is tracked per wallet since 2025.
Merging Everything
Import all exports into crypto tax software, or a spreadsheet if your activity is small. Mark transfers between your own accounts so they are not treated as sales. Options are compared in best crypto tax software, and the final output goes on Form 8949.
Do It Every Year
Export history every January, before exchanges change formats or close. The IRS explains record requirements on its digital assets page.
Frequently Asked Questions
How do I get my crypto transaction history for taxes?
Download CSV or report exports from each exchange, export or look up history for each self-custody wallet by its public address, then combine them in a spreadsheet or crypto tax software.
Can I get transaction history from a self-custody wallet?
Yes. Some wallets offer an export, and every transaction is public on a block explorer by address. Tax software can also import by public address.
What if an exchange I used has shut down?
Use any exports or emails you kept, bank statements for deposits and withdrawals, and blockchain records of transfers to and from the exchange to rebuild your history.
How far back do I need crypto records?
Keep records for as long as they may matter for a tax return, which for cost basis means from the original purchase until several years after you sell.
More from the blog
- Year-End Crypto Tax Checklist: What to Do Before December 31
- Japan's 20% Crypto Tax: Law Passed, Lower Rate Expected From 2028
- DAC8 and CARF: Your Exchange Reports Your Crypto From 2026
This post is general information, not tax advice. See our methodology.