What is a CPG file?
A .CPG file is most commonly an ESRI Code Page File. It works alongside .SHP (Shapefile) and .DBF (database) files to define the character encoding used in the dataset. This ensures that text attributes render correctly in Geographic Information System (GIS) software like ArcGIS or QGIS.
However, the .CPG extension is shared by many different applications. It can be a Motorola Radio Codeplug, storing configuration data for two-way radios. It might be a Clip Studio Paint or Manga Studio comic page file. It is also used as a plugin module for CorelDRAW and stores campaign data for games like Medieval: Total War or StarCraft.
How to open CPG files?
Because the .CPG extension has multiple meanings, you must know its origin. If it is an ESRI Code Page File, you can open it with a simple text editor or view it in QGIS. If it is a Motorola Radio Codeplug, you need specific Motorola Customer Programming Software (CPS). For comic pages, you need Clip Studio Paint.
If you are unsure what kind of .CPG file you have, viewer.online/cpg can analyze your .CPG files to identify the exact format and creator software. It can inspect the file structure, extract readable text, and check whether an online preview is available.
Best practices and troubleshooting
You should always keep GIS .CPG files in the same folder as their corresponding .SHP and .DBF files. If you delete the .CPG file, special text characters in your map data might display incorrectly.
If you need to convert your file to another format, you can use convert.guru. Depending on the exact file type, you might convert comic pages to .JPG or .PNG, or convert text files to .TXT.
Summary
viewer.online/cpg is useful for identifying, inspecting, and understanding .CPG files without installing software or dealing with compatibility problems. Because .CPG files can be GIS data, radio configurations, or digital artwork, our tool takes the guesswork out of opening these files safely.