INI Format Guide
Initialization File — the classic configuration format for applications and systems
About INI Format
INI (Initialization) is a simple plain-text configuration file format that organizes settings into sections with key-value pairs. Originating from early MS-DOS and Windows systems, INI files became the de facto standard for storing application settings before the rise of XML and JSON. The format uses square brackets for section headers ([section]) and equals signs for key-value assignments (key = value), with optional comments using semicolons (;) or hash marks (#).
Despite its age, INI remains widely used today in countless applications: PHP's php.ini, Python's setup.cfg and tox.ini, Git's .gitconfig, MySQL's my.cnf, systemd unit files, Windows desktop.ini, and many more. Python's configparser module provides native INI parsing, and libraries exist for virtually every programming language. INI's main strengths are simplicity and human readability — anyone can edit an INI file in any text editor without understanding complex syntax rules. However, INI lacks data types (everything is a string), has no standard specification, and doesn't support nesting or complex data structures.
Available Conversions
Convert INI settings to AsciiDoc tables for documentation
Convert INI to AsciiDoc markup for technical documentation
Convert INI configuration to Amazon Kindle e-book
Encode INI content to Base64 for safe data transfer
Convert INI settings to BBCode tables for forum posting
Convert INI sections to CSV tabular data
Convert INI to Word 97-2003 document with tables
Convert INI to DocBook XML for technical publishing
Convert INI to Word document with formatted sections
Convert INI configuration to EPUB e-book
Convert INI to modern EPUB3 with HTML5 content
Convert INI to FictionBook 2.0 format
Encode INI content to hexadecimal representation
Convert INI to styled HTML tables for web display
Convert INI sections to nested JSON objects
Convert INI to LaTeX document with tables
Convert INI to plain text log format
Convert INI settings to Markdown tables for README files
Convert INI to MD Markdown table format
Convert INI to MediaWiki tables for wiki pages
Convert INI to Kindle MOBI e-book format
Convert INI to OpenDocument Text with tables
Convert INI to Emacs Org-mode format
Convert INI configuration to PDF document
Convert INI to PowerPoint presentation with table
Convert INI to Java Properties format
Convert INI to reStructuredText tables
Convert INI to Rich Text Format with tables
Convert INI to SQL CREATE TABLE and INSERT statements
Convert INI to SVG vector table graphic
Convert INI to StarOffice Writer document
Convert INI to LaTeX document with tables
Convert INI to plain text format
Convert INI to Textile markup tables
Convert INI to TOML — the modern configuration successor
Convert INI sections to tab-separated values
Convert INI to plain text format
Convert INI to Wiki markup tables
Convert INI to Excel spreadsheet
Convert INI sections to XML configuration
Convert INI to YAML — modern configuration format
Convert INI to YML configuration format
INI Format Features
- Section-Based Organization: Group related settings under [section] headers
- Key-Value Pairs: Simple key = value syntax for settings
- Human-Readable: Plain text format editable in any text editor
- Comment Support: Add notes with ; or # prefixed lines
- Universal Compatibility: Supported by Windows, PHP, Python, Git, MySQL, and more
- Lightweight: Minimal overhead, fast parsing, tiny file sizes
- No Dependencies: Requires no special tools or libraries to read
Common Uses
- Application Settings: php.ini, desktop.ini, setup.cfg, tox.ini
- Database Configuration: MySQL my.cnf, PostgreSQL settings
- Version Control: Git .gitconfig and .gitmodules
- System Services: systemd unit files, Windows registry exports
- Build Tools: EditorConfig (.editorconfig), flake8, pylint configs
- Game Configuration: Game settings, mod configurations
- Deployment: Docker compose overrides, Ansible inventory files