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

INI to ADOC

Convert INI settings to AsciiDoc tables for documentation

INI to AsciiDoc

Convert INI to AsciiDoc markup for technical documentation

INI to AZW3

Convert INI configuration to Amazon Kindle e-book

INI to Base64

Encode INI content to Base64 for safe data transfer

INI to BBCode

Convert INI settings to BBCode tables for forum posting

INI to CSV

Convert INI sections to CSV tabular data

INI to DOC

Convert INI to Word 97-2003 document with tables

INI to DocBook

Convert INI to DocBook XML for technical publishing

INI to DOCX

Convert INI to Word document with formatted sections

INI to EPUB

Convert INI configuration to EPUB e-book

INI to EPUB3

Convert INI to modern EPUB3 with HTML5 content

INI to FB2

Convert INI to FictionBook 2.0 format

INI to HEX

Encode INI content to hexadecimal representation

INI to HTML

Convert INI to styled HTML tables for web display

INI to JSON

Convert INI sections to nested JSON objects

INI to LaTeX

Convert INI to LaTeX document with tables

INI to LOG

Convert INI to plain text log format

INI to Markdown

Convert INI settings to Markdown tables for README files

INI to MD

Convert INI to MD Markdown table format

INI to MediaWiki

Convert INI to MediaWiki tables for wiki pages

INI to MOBI

Convert INI to Kindle MOBI e-book format

INI to ODT

Convert INI to OpenDocument Text with tables

INI to ORG

Convert INI to Emacs Org-mode format

INI to PDF

Convert INI configuration to PDF document

INI to PPTX

Convert INI to PowerPoint presentation with table

INI to Properties

Convert INI to Java Properties format

INI to RST

Convert INI to reStructuredText tables

INI to RTF

Convert INI to Rich Text Format with tables

INI to SQL

Convert INI to SQL CREATE TABLE and INSERT statements

INI to SVG

Convert INI to SVG vector table graphic

INI to SXW

Convert INI to StarOffice Writer document

INI to TEX

Convert INI to LaTeX document with tables

INI to TEXT

Convert INI to plain text format

INI to Textile

Convert INI to Textile markup tables

INI to TOML

Convert INI to TOML — the modern configuration successor

INI to TSV

Convert INI sections to tab-separated values

INI to TXT

Convert INI to plain text format

INI to Wiki

Convert INI to Wiki markup tables

INI to XLSX

Convert INI to Excel spreadsheet

INI to XML

Convert INI sections to XML configuration

INI to YAML

Convert INI to YAML — modern configuration format

INI to YML

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