Web Tools
INI Formatter/Validator
Format, minify, and validate INI configuration files. Parse sections, key-value pairs, comments, and quoted values. See statistics (sections, keys, comments) and validation errors. Supports .ini, .cfg, .editorconfig, php.ini, and desktop entry files. Runs entirely in your browser — your data never leaves your machine.
ini config formatter validator parser
Published May 28, 2026
All interactive tools run entirely in your browser. Your data never leaves your device.
How It Works
Paste INI content and choose a mode: Format adds consistent spacing around = signs and blank lines between sections; Minify strips comments, blank lines, and extra whitespace; Validate checks for syntax errors like empty section names or invalid lines.
Features
- 3 modes: format (pretty-print), minify (compact), validate (error check)
- Full INI parsing: sections, key-value pairs, comments (
;and#), quoted values, inline comments - Statistics: section count, key count, comment count, blank line count
- Error reporting: line-level validation errors for invalid syntax
- 5 examples: basic config, git config, PHP.ini, desktop entry, editorconfig
- Apply button: apply formatted/minified output back to input
- Copy to clipboard: one-click copy of output
- Private: runs entirely in the browser — no data transmitted
Use Cases
- Cleaning up messy configuration files
- Minifying INI files for deployment
- Validating configuration syntax before deploying
- Converting between compact and readable INI formats
- Checking .editorconfig and php.ini files