CPG Converter

Extract text from Code page files (CPG)


Drop or upload your .CPG file

How to extract text from your CPG file

  1. Click the "Select File" button above, and choose your CPG file.
  2. You’ll see a preview, if available.
  3. Click the "Convert file to..." button to extract text information.

Convert CPG to another file type

To convert CPG Code pages to another format, you need QGIS or other GIS software.

Convert a file to CPG

To convert other file formats to the "Shapefile Encoding Text File" file type, you need software like QGIS or a similar tool.


About CPG files

A .CPG file usually acts as a mandatory companion file in the ESRI Shapefile format ecosystem. It dictates the text encoding (such as UTF-8 or ISO-8859-1) applied to the DBF (database) component of a shapefile map. Without it, mapping software might display special characters incorrectly. This file is typically read automatically by GIS software such as QGIS or Esri ArcGIS. Another very common variation of the .CPG file is the Motorola Radio Codeplug, which stores frequency, channel, and zone programming configurations for Motorola two-way radios via the Motorola Customer Programming Software (CPS).

The main frustration with .CPG files is their ambiguity. Because the extension is shared by GIS text files, proprietary radio programming databases, graphic design plugins, and even old game campaign files, users often do not know what is inside their file. If it is a Motorola Codeplug, it requires highly specialized, expensive, and restrictive software to view or edit. If it is a CorelDRAW plugin, it is actually an executable disguised as a plugin, meaning it cannot be edited normally.

For GIS .CPG files, conversion is rarely needed since they only contain a few characters of text; however, you can easily convert them to TXT for reading. If you have a Motorola Codeplug .CPG file, you might want to extract the channel data to CSV or XML to migrate radio configurations or document your frequencies.

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

Users also converted DBF, SHP, PRJ, SHX, ZIP, SBN, SBX, JPG, CGP, XML, QMD, CBG and QIX files.


FAQ

If you want to convert CPG file to PDF, KML, CSV, DWG, JPG, PNG, GIF, BMP, TIFF, TIF, WEBP or ICO, you can use QGIS or similar software from the "Character Encoding Specification" category. In the File menu, look for Save As… or Export….

To convert RAW, PNG, AI, NEF, PSB, DNG, SVG, GIF, EPS, JPG, ARW or PDF files to CPG, try QGIS or another comparable tool in the "Character Encoding Specification" category.



The CPG 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 CPG converter.