CGT Converter

Extract text from GOLD Parser tables (CGT)


Drop or upload your .CGT file

How to extract text from your CGT file

  1. Click the "Select File" button above, and choose your CGT file.
  2. You’ll see a preview, if available.
  3. 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:

Convert.Guru analyzes your CGT file, detects the exact format, and lets you read the text inside.

Users also converted CTG, TPS, FRM and DDD files.


FAQ

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.