.cfg File — Configuration File
text/plain
Drop any file to identify its extension and type — runs entirely in your browser
Drop a .cfg file here or click to choose
Or drop any file to identify its extension
text/plainQuick Facts
| Extension | .cfg |
| Full Name | Configuration File |
| MIME Type | text/plain |
| Category | Config |
| Type | Text-based (human-readable) |
| Typical Size | 100 B – 50 KB |
| First Appeared | 1970s |
What Is a .cfg File?
CFG is a generic configuration file extension used by a wide variety of software applications to store settings, preferences, and parameters. CFG files typically use simple text formats — key=value pairs, INI-style sections, or application-specific syntax. The .cfg extension is one of the oldest and most commonly used configuration extensions in computing, found across operating systems and application domains. Examples include Python's setup.cfg (project configuration), Buildout's buildout.cfg, game engine configuration (id Software's Quake/Doom .cfg files), network equipment configuration (Cisco IOS .cfg), and application-specific settings files. Because .cfg is a generic extension with no standardized format, the actual syntax varies entirely by application — some use INI format, others use XML, JSON, custom syntax, or simple key-value pairs. The lack of a standardized format means that CFG files require knowledge of the specific application to interpret correctly. Despite this ambiguity, the .cfg extension persists because it clearly communicates the file's purpose (configuration) to both humans and file managers, making it useful for organizing application settings alongside source code and data files.
How to Open .cfg Files
Related File Extensions
More Config File Extensions
Other config formats you might encounter
Browse File Extensions by Category
Explore our reference of 259 file extensions with details, programs, and related formats.