Calculates on this device. File exports run online.
INI File Validator
Paste an INI file or open one (.ini, .cfg, .conf) and see every problem with its line: a section header that is not closed, a line without =, a key without a name, a key or section given twice, a key before the first section, a quote that is not closed. Choose the rules of the program that will read the file, because INI has no single standard. Then convert it to JSON, with sections as objects.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose the button below them.
Your result
How it was worked out
How to use it
- Paste the INI file or open it.
- Set the rules: = or also :, which characters start a comment and, under More options, inline comments, repeated keys, case and continuation lines.
- Press Check the file to see the problems, or choose Convert INI to JSON.
What is checked
- A section header must be closed with ] and have a name; only a comment may follow it.
- Every other line that is not blank or a comment needs a key, the separator and a value (the value may be empty).
- A key given twice in a section, or a section given twice, is an error, or a warning when repeats are allowed (the last value is then used).
- A key before the first [section] is a warning, or an error if you choose: Windows and Python configparser do not accept it.
- A value that starts with a quote must end with the same quote; the quotes are taken off the value.