---
name: "CfgConvert"
type: topic
source: https://community.bistudio.com/wiki/CfgConvert
revid: 349473
updated: 2023-11-08T16:49:19Z
---

# CfgConvert

#### Basic information

**Author:** Bohemia Interactive

**Compatibility:** Armed Assault, Arma 2, Arma 3, DayZ

**Download:** Part of [Arma 3](http://store.steampowered.com/app/233800/) and [DayZ](https://store.steampowered.com/app/830640/DayZ_Tools/) Tools packages on Steam

#### Description

**Description:**

CfgConvert is a command line tool for converting configs between text and binary representation.\
If you use the interface (cfgConvertGUI), based on the input file, it detects if it needs to `binarize` or `unbinarize`.

#### Usage

**Line call:**

cfgConvert.exe [-bin | -txt | -xml | -q | -test] {[-dst <destination>] <source>}\
cfgConvertGUI.exe

**Options:**

- **-bin** - converts input to binarised config
- **-txt** - converts input to unbinarised config
- **-xml** - converts input to XML format
- **-q** - quiet mode, does not display errors
- **-test** - test mode, only loads the file and shows potential errors without writing anything
- **-dst** - defines the output destination
- **-pcpp** - outputs a preprocessed version of the input file

**Examples:**

```
// CPP to Bin
cfgConvert.exe -bin -dst p:\addon\config.bin p:\addon\config.cpp

// Bin to CPP
cfgConvert.exe -txt -dst p:\addon\config.cpp p:\addon\config.bin

// Binarized SQM to unbinarized SQM
cfgConvert.exe -txt -dst p:\Arma3\missions\myMission\mission_dest.sqm p:\Arma3\missions\myMission\mission_source.sqm
```

#### Licenses

**Licensing:** Bohemia Interactive End User License Agreement

**See also:** [BinToCppAll.bat](https://github.com/irvnriir/ArmaEssentials) for converting all files in a folder and subfolders.

<sub>Source: [BI Community Wiki — CfgConvert](https://community.bistudio.com/wiki/CfgConvert) (revision 349473).</sub>
