Click the "Select File" button above, and choose your CGT file.
You’ll see a preview, if available.
Click the "Convert file to..." button to extract text information.
Convert CGT to another file type
To convert CGT tables to another format, you need GOLD Parser Builder or other Developer software.
Convert a file to CGT
To convert other file formats to the "Parser State Table" file type, you need software like GOLD Parser Builder or a similar tool.
About CGT files
The .CGT extension is most commonly associated with the Compiled Grammar Table format used by the GOLD Parser. These are binary files containing the Deterministic Finite Automata (DFA) and LALR state tables required by the parsing engine to analyze structured text.
The Problem: Because .CGT files are compiled binaries optimized for machine speed, they are unreadable to humans and cannot be edited in text editors like Notepad++. Developers commonly have issues when they lose the original Grammar Source (link.grm) file and are left with only the compiled table, effectively locking them out of modifying their own language definitions. Additionally, users in the geospatial industry may encounter .CGT files generated by C&G Software, containing proprietary surveying project data that is incompatible with modern GIS tools like QGIS.
The Solution:
For Developers: The most practical workflow is to load the file back into GOLD Parser Builder to visualize the states or export the data to XML for documentation. If you need to recover the logic, you may need to manually reconstruct the grammar definitions.
For Surveyors: Convert legacy C&G data to standard exchange formats like DXF or CSV using specific surveying utility bridges.
Convert.Guru analyzes your CGT file, detects the exact format, and lets you read the text inside.
If you want to convert CGT file to , you can use GOLD Parser Builder or similar software from the "Compiled Grammar Definition" category. In the File menu, look for Save As… or Export….
To convert files to CGT, try GOLD Parser Builder or another comparable tool in the "Compiled Grammar Definition" category.
The CGT 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 CGT converter.