Blog

How to Export Crypto Transaction History for Taxes

By BitcoinTaxes Editorial Team · October 21, 2026 · 2 min read

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

Where Each Record Comes From

SourceHow to get itWhat it gives you
Centralized exchangeAccount settings → statements or tax reports → CSVTrades, deposits, withdrawals, fees
Self-custody walletWallet export, or address on a block explorerSends, receives, swaps
Block explorerPaste the public addressFull on-chain history with timestamps
Bank statementsOnline bankingFiat deposits and withdrawals
Form 1099-DAYour broker, early in the yearProceeds (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

  1. Date and time of each transaction.
  2. Asset and amount.
  3. Dollar value at the time.
  4. Fees paid.
  5. Type: buy, sell, swap, transfer, income.
  6. 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

This post is general information, not tax advice. See our methodology.