> ## Documentation Index
> Fetch the complete documentation index at: https://docs.framesports.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Export codes or add codes from a file

> Download a session's codes from MatchCoder as a spreadsheet, Sportscode XML or a MatchCoder copy, and add codes to a session from a file.

You can take a session's codes out of MatchCoder as a file, for example to open them in a spreadsheet or in Sportscode. You can also add codes to a session from a file. Both are in the **⋯** menu at the end of the timeline's toolbar.

## Download the codes

To download a session's codes:

1. Open **⋯** at the end of the timeline's toolbar.
2. Choose **Export**.
3. Choose a file type.

![The ⋯ menu open on Export, with MatchCoder copy, Spreadsheet and Sportscode XML.](https://mintcdn.com/framesports/cd41OeNgwVxZ5-D-/images/matchcoder/export-menu.png?fit=max\&auto=format\&n=cd41OeNgwVxZ5-D-\&q=85\&s=5c90f9ac71ffe021109ec452ae225342)

The three file types are for different uses:

| File | Use it to |
| - | - |
| **MatchCoder copy (.matchcoder)** | Keep a copy of the codes that MatchCoder can read back. |
| **Spreadsheet (.csv)** | Open the codes in Excel, Google Sheets or Numbers. |
| **Sportscode XML (.xml)** | Open the codes in Sportscode or other video analysis software. |

The spreadsheet and the XML include your own details on each code. The times in every file match the session's video, so the codes line up when you open the file with the video you downloaded from Framesports.

Exporting works with no internet connection on a session saved to your device.

## Add codes from a file

You can add codes to a session from a file, for example a copy you exported earlier. To add them:

1. Open **⋯** at the end of the timeline's toolbar.
2. Choose **Add codes from a file**.
3. Pick a `.matchcoder`, `.json`, `.csv` or `.xml` file.
4. MatchCoder says how many codes the file holds. Press **Add to this game**.

Codes already on the session stay as they are. If a code was changed both in the file and on the session, MatchCoder asks which one to keep.

## Frequently Asked Questions

**Can I open my codes in Excel?**
Yes. Choose **Export**, then **Spreadsheet (.csv)**, and open the file in Excel. See [Download the codes](#download-the-codes).

**Can I take my codes into Sportscode?**
Yes. Choose **Export**, then **Sportscode XML (.xml)**. See [Download the codes](#download-the-codes).

**Can I download one version of my codes?**
Yes. In **Versions of this coding**, each version has **Download XML**. See [Save and put back versions](https://docs.framesports.ai/matchcoder/versions.md#download-a-version).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.