Online ini config validator


What is a cfg/ini file?

A file with the .ini, .cfg or .config extension is a configuration file used by various programs.

These files are also supported by most operating systems such as Unix and Unix-like operating systems, MS-DOS, macOS, Microsoft Windows, and IBM OS/2.

Syntax

Like most other file types cfg/ini files follow a specific syntax.
This syntax is documented bellow:

Keys & values

A key-value pair is an item that contains a key name and a value. Every config file contains a group of these items.

key=value

Sections

A section is a named group of items. There can be multiple sections in one file.

[section_name]
key1=value
key2=value

Comments

A comment is a piece of text that is ignored by the compiler. A comment is defined by the ; or # symbol at beginning of a line.

; Comments here
# Comments

Tips & tricks