Kraken CSV export format

parser live
🔒 CSV conversion runs in your browser — files are not uploaded

This is the format reference for Kraken CSV export (ledger / trades) — where the file comes from, what each column means, and the export quirks that matter. Our parser reads the layout(s) below and converts it in your browser.

Layout evidence: Ledger header (incl. subclass) verified verbatim on a real 2025 Kraken Pro export (BittyTax #469); trades columns per Kraken’s AddExport API docs and support article 360001169383 — see research/parser-fixture-validation-2026-10.md.

How to export the file

  1. Kraken (Pro) → History → Export, or Documents/Statements → export report.
  2. Choose the "ledgers" report for the fullest history (recommended for taxes) or "trades" for fills only.
  3. Submit the export, then download the generated CSV — all fields are quoted; that is normal.

Column reference

Ledger export

Column supersets vary: 2023+ adds wallet; newer Pro exports add subclass and amountusd. Older subsets still parse.

ColumnWhat it means
txidTransaction id (may be blank on paired legs).
refidReference id — the join key: both legs of a trade share one refid.
timeEvent timestamp.
typeEvent class: deposit, withdrawal, trade, spend, receive, staking, earn, transfer, margin, …
subtypeRefines type — e.g. earn/allocation, earn/migration, spottostaking.
aclass / subclassAsset class codes (fiat / crypto / stable_coin).
assetKraken internal asset code — X/Z-prefixed (XXBT, ZUSD) and staked suffixes (.S, .M, .HOLD).
walletWallet bucket (2023+ exports).
amountSigned amount of this leg.
feeFee on this leg; zero-amount rows can carry secondary fees.
balanceResulting balance.
amountusdUSD value at event time (newer exports).

Trades export

A 21-column margin-enriched variant exists; extra columns are ignored.

ColumnWhat it means
txid / ordertxidTrade id and its order id.
pairConcatenated pair code, e.g. XXBTZUSD.
timeFill timestamp.
typebuy or sell — your side.
ordertypemarket / limit / …
priceFill price in the quote asset.
costQuote-asset total for the fill.
feeFee amount.
volBase-asset volume.
marginMargin flag/amount on margin fills.
misc / ledgersMisc flags and the backing ledger ids.

Format quirks

Convert this file (1)

Convert a Kraken CSV to CoinTrackinglive

All Kraken CSV converters · Format reference index · All converters