INI File Formatter & Beautifier
Guide
INI File Formatter & Beautifier
Format and beautify INI configuration files with consistent spacing, value alignment, section sorting, and comment normalization. Paste your INI content and instantly see formatted output with validation warnings for common issues. Download as .ini or .cfg file.
Comment utiliser
Paste your INI file content into the input area. The formatter processes it instantly with your chosen options: spacing around equals signs, blank lines between sections, alphabetical sorting of keys and sections, comment style normalization, value alignment, and more. View the formatted output, structure overview, and any validation warnings. Copy the result or download as .ini or .cfg file.
Caractéristiques
- Value Alignment — Align all equals signs to the same column within each section for maximum readability. Transforms messy key=value pairs into clean, aligned configuration.
- Spacing Options — Choose between spaced (key = value) and compact (key=value) formatting around equals signs.
- Section & Key Sorting — Optionally sort sections alphabetically and/or sort keys within each section. Great for standardizing configuration files across environments.
- Comment Normalization — Preserve original comment style, or normalize all comments to # or ; prefix for consistency.
- Structure View — Tree/outline view showing sections as top-level nodes with key-value pairs indented underneath. Includes section count, key count, and comment count per section.
- Validation Warnings — Detects duplicate keys within sections, keys outside any section (global keys), empty sections, and unparseable lines.
- Additional Options — Blank lines between sections, trim trailing whitespace, remove inline comments, remove duplicate keys (keep last occurrence).
- Exporter — Copy formatted output, download as .ini file, or download as .cfg file.
INI File Format
INI files use a simple structure: [section] headers group related settings, key=value pairs store configuration values, and # or ; prefixes mark comments. This format is used by php.ini, my.cnf (MySQL), Windows configuration files, Git config (.gitconfig), Python’s configparser, and many application settings files.
Qu'est-ce qu'un fichier INI ?
Should I use # or ; for comments in INI files?
What does value alignment do?
Is my configuration data sent to a server?
Installez nos extensions
Ajoutez des outils IO à votre navigateur préféré pour un accès instantané et une recherche plus rapide
恵 Le Tableau de Bord Est Arrivé !
Tableau de Bord est une façon amusante de suivre vos jeux, toutes les données sont stockées dans votre navigateur. D'autres fonctionnalités arrivent bientôt !
Outils essentiels
Tout voir Nouveautés
Tout voirMise à jour: Notre dernier outil was added on Avr 11, 2026
