Toolvito

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

Every problem with its line, and the sections and keys.

Your values

Paste the file or open it (.ini, .cfg, .conf).

More options

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.

Check many INI files

Check many INI files

Choose up to 20 INI files of up to 100 MB each. Each is checked with the rules set here (the same rules as above), and you get the problems and sections as CSV files and each file as JSON.

Or drop files here. INI, CFG, CONF, INF or TXT, up to 20 files, 100 MB each at most.

    More options

    The file above is checked in your browser. When you use this box, the files you choose are sent to the Toolvito server. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

    How to use it

    1. Paste the INI file or open it.
    2. Set the rules: = or also :, which characters start a comment and, under More options, inline comments, repeated keys, case and continuation lines.
    3. 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.

    Related tools