Click the "Select File" button above, and choose your XG file.
You’ll see a preview, if available.
Click the "Convert file to..." button to extract text information.
Convert XG to another file type
To convert your XG file to another format, you need eXtreme Gammon or other Game software.
Convert a file to XG
To convert other file formats to the "Game Data / Replay" file type, you need software like eXtreme Gammon or a similar tool.
About XG files
The .xg extension is primarily associated with eXtreme Gammon, the industry-standard software for backgammon analysis and play. These files are proprietary containers (often compressed with ZLIB) that store match records, rollout data, and position evaluations.
The Problem: Because .xg files are binary and proprietary to eXtreme Gammon, they cannot be opened by standard text editors, web browsers, or even other backgammon engines like GNU Backgammon directly. This can be a hassle for users who receive a match file for analysis but do not own the paid software (approx. $60). You cannot simply "convert" them online without the engine's internal logic to decode the moves.
The Solution:
For Analysis: If you own eXtreme Gammon, use the internal export function to convert the .xg file to MAT (JellyFish format) or SGF, which are readable by open-source tools like GNU Backgammon.
For Sharing/Web: Convert the match to HTML or PDF using the software's "Export" menu. This allows anyone to view the moves and equity loss without needing the program.
For XCOM Players: A minority of .xg files are game saves from Firaxis Games titles (like XCOM). These are binary save states. To edit them, users often use community tools to convert the .xg save to JSON, edit the text parameters (resources, soldiers), and convert it back to .xg.
Convert.Guru analyzes your XG file, detects the exact format, and lets you read the text inside.
If you want to convert XG file to RPM, you can use eXtreme Gammon or similar software from the "Backgammon Match Analysis" category. In the File menu, look for Save As… or Export….
To convert files to XG, try eXtreme Gammon or another comparable tool in the "Backgammon Match Analysis" category.
The XG Converter Story
The history of Convert.Guru began over 25 years ago in California with Tom Simondi’s file-format database. A former contributor to Space Shuttle development and a software pioneer of the 1980s, Simondi established a trusted resource for file type analysis that was even referenced by Microsoft Windows XP. Today, we use modern technology to process and convert thousands of file formats while continually improving our XG converter.