At One Place

.cfg files

.cfg file
Configuration File
A settings file whose exact syntax depends entirely on the program that reads it.

What opens a .cfg file

Windows
Notepad (built in), Visual Studio Code, Notepad++
macOS
TextEdit (built in), Visual Studio Code
Linux
Text Editor (built in), Visual Studio Code, nano

What a .cfg file is

CFG is a generic extension for configuration, usually plain text in INI-like or a program-specific syntax — game settings, server configs and application preferences all use it. Open one in a text editor to see which. A few programs write binary .cfg files, in which case the text will be unreadable and only that application can change them.

Converting it

A .cfg file is commonly converted to .ini, .json or .txt. It is a plain text format, so any text editor can open and edit it directly.

Details

Extension
.cfg
Full name
Configuration File
Category
Data
MIME type
text/plain
Created by
Various
Format
Plain text

Common questions

How do I open a .cfg file?
On Windows use Notepad (built in); on macOS use TextEdit (built in); on Linux use Text Editor (built in). A settings file whose exact syntax depends entirely on the program that reads it.
What is a .cfg file?
Configuration File. CFG is a generic extension for configuration, usually plain text in INI-like or a program-specific syntax — game settings, server configs and application preferences all use it. Open one in a text editor to see which.
Can I convert a .cfg file?
Yes. It is usually converted to .ini, .json or .txt, either by exporting from one of the programs listed above or with a format converter.

Related pages

Sources

  1. Media Types Registry — IANA
  2. Official vendor product documentation — At One Place

How these figures are compiled and checked