INI File Formatter
Format INI and .properties files with consistent spacing and section headers.
$ini / properties input
0 chars1 lines
$formatted output[READY]
0 chars1 lines
Related Tools
FAQ
- What file formats are supported?
- Standard INI files with [sections] and key=value pairs, Java .properties files with key=value or key:value syntax, and Python-style .cfg files are all handled correctly.
- Are comments preserved?
- Yes — lines starting with ; or # are treated as comments and kept in place relative to the key or section they annotate.
- What spacing is applied around = and :?
- The formatter normalizes to a single space on each side of the separator: key = value. This matches the most widely accepted convention across INI parsers.
Paste an INI or .properties file and get it back with consistent spacing around = and : separators, clean [section] headers, a blank line between sections, and comments preserved. Works with .ini, .cfg, .properties, and similar key-value config formats.