Click the "Select File" button above, and choose your II file.
You’ll see a preview, if available.
Click the "Convert file to..." button to extract text information.
Convert II to another file type
To convert II C++ source files to another format, you need GCC or other Developer software.
Convert a file to II
To convert other file formats to the "Preprocessed Source Code" file type, you need software like GCC or a similar tool.
About II files
A .ii file is a preprocessed C++ source code file created by the GNU Compiler Collection (GCC). During the compilation process, the compiler runs the C preprocessor over a standard cpp or cc file to expand macros, insert included header files, and strip comments. The resulting intermediate file is saved with the .ii extension. A much rarer use is the IconWorkshop Extended Information File by Axialis Software. The primary disadvantage of a .ii file is its immense size and poor readability. Because it includes the raw contents of every referenced header file, a 10-line source file can easily explode into a 50,000-line .ii file. This makes manual editing highly impractical. Furthermore, standard IDEs like Visual Studio Code do not automatically syntax-highlight .ii files, treating them as raw text instead of C++ code. You rarely compile a .ii file directly; it is mainly generated for debugging macro expansions or compiler bugs. To make the file readable or editable, convert it back to standard cpp or txt. For sharing code snippets on the web, convert to html or md (Markdown) to preserve formatting. Just drag and drop your file here to analyze and convert it - free, online, and without installing software.
Convert.Guru analyzes your II file, detects the exact format, and lets you read the text inside.
If you want to convert II file to CSV, JSON, XML, YAML, YML, TOML, INI, CFG, CONF, DAT, DB or SQL, you can use GCC or similar software from the "Preprocessed Source Code Analysis" category. In the File menu, look for Save As… or Export….
To convert DBF, XML, SQLITE, XLSX, SQL, TSV, ACCDB, YAML, MDB, CSV, ODS or JSON files to II, try GCC or another comparable tool in the "Preprocessed Source Code Analysis" category.
The II 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 II converter.