> For the complete documentation index, see [llms.txt](https://swu-forge.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://swu-forge.gitbook.io/docs/account/settings/export-your-data.md). Agents can also search and read this documentation through its [MCP server](https://swu-forge.gitbook.io/docs/~gitbook/mcp).

# Exporting Your Data

You can download what you've recorded and built on SWU Forge — your games, matches, decks and card stats — to look at in a spreadsheet or work with in your own scripts.

Every download comes in two formats:

* **CSV** opens in Excel, Google Sheets, Numbers or any spreadsheet. Dates are written as `2026-10-26T18:04:05Z` (UTC) and column names stay the same from one download to the next, so a sheet you build on top of one keeps working.
* **JSON** has the same fields for scripts and notebooks, with numbers, true/false and empty values kept as such. Where a spreadsheet has to repeat itself, JSON nests instead: a match lists its games, and a deck lists its cards and versions.

A column that counts something ends in `_count` — `game_count` on a match, `version_count` on a deck — so in JSON it never shares a name with the list beside it (`games`, `versions`).

Whichever format you pick last is used for every download, on every page, until you change it. It's remembered in the browser you're using.

Downloads cover the profile you're using. If you have more than one profile, switch to the other one to download its data.

## Everything at once: Settings

**Settings → Your data → Export your data** has a download for each kind of data, with how much of it you have:

* **Games** — one row per recorded game: when it was played, the result, rounds, your leader and base, the deck and version you played (or that it was an unlinked deck), your opponent's leader, base and deck name, whether you kept your opening hand, its tags and teams, and a link to the replay.
* **Matches** — one row per match, with how many games it had (`game_count`) and how many were won, lost and drawn, and a link to the match. In JSON, each match also lists its games.
* **Decks** — one row per deck: format, leader, base, card counts, how many versions it has (`version_count`), your record with it (`game_count`, wins, losses, draws), its folder and tags, and a link to it. In JSON, each deck also lists its cards and its versions.
* **Deck cards** — every card in every version of your decks: which deck and version, the zone (leader, base, main deck or sideboard), set, number, name and count. Each row says whether that version is the deck's current one, so you can filter down to just your current lists.
* **Collection** — opens your collection's **Share** tab, which already downloads a collection as CSV or PDF with the filters and columns you choose. See [Your Collection](https://swu-forge.gitbook.io/docs/collection/collection.md).

## Just what's on screen: Export

A few pages have an **Export** button that downloads what you're looking at, with the filters you have on:

* [**Battle Log**](https://swu-forge.gitbook.io/docs/battle-log/battle-log/battle-log-tab.md) — at the end of the toolbar. **Games** or **Matches**, from the tab you're on (**SWU Forge decks** or **Unlinked decks**) and the filters that are on (Pinned, dates, tags, and the Orphaned or Unshared flag).
* **A deck's Battle Log** — beside the **Deck stats / Card stats / Matches** tabs. **Summary** is the panel itself in one file: the record, matchups, card lists, card stats and match list. **Your games** and **Your matches** are the games and matches you recorded on that deck, for the version tab you have selected.
* **Card performance tables** — on a deck's **Card stats** tab and on an archetype's page. One row per card, with each stage's games and win rate. If you've picked an opponent in **vs**, you get that matchup's numbers.

## What's included

* Games with an **unlinked deck** are included, marked as unlinked.
* Games waiting in **Needs Review** aren't included until you set their result. Once you do, they're included and marked as abandoned.
* Your opponents' Karabast names aren't included, the same as everywhere on SWU Forge. The one exception is a game against a teammate, where the match page shows their name too.
* Only your own data is included. Decks a teammate made in a team folder, and games your teammates recorded, aren't in your downloads.
