Ini Json Converter MCP tool
findutils:ini_json_converter Convert classic INI, .cfg or .conf text to JSON, or a JSON object back to INI. Each [section] becomes a nested object and keys above the first header sit on the root. Comments opened by ; or # are dropped, quoted values keep their spaces and punctuation, and a duplicate key keeps the last value and is reported. Values stay strings unless infer_types is on. JSON to INI takes one level of sections and rejects deeper nesting or arrays rather than guessing a syntax. Not a TOML, .properties or systemd unit parser.
Arguments
application/json-
input
string required
The INI/.cfg/.conf text or the JSON object to convert.
-
mode
string optional
Conversion direction. Default: ini-to-json. One of
ini-to-json · json-to-ini. Default"ini-to-json". -
infer_types
boolean optional
ini-to-json: turn integers, decimals, true and false into JSON types. Default: false (every value is a string). Default
false. -
indent
integer optional
ini-to-json: JSON indentation width (0-8). Default: 2. Default
2. -
delimiter
string optional
json-to-ini: how each line separates key and value. Default: " = ". One of
= · = · :. Default" = ".
Example arguments
Verified{
"input": "[server]\nhost = localhost\nport = 8080"
} More Data tools
- Api Docs Generator Return API documentation generated from a list of endpoints, as Markdown (with table of contents, request/response examples)…
- Bookmarks Html To Csv Convert a browser bookmarks.html export from Chrome, Firefox, Edge, Safari or any other browser that writes the Netscape bookmark format…
- Bookmarks Json To Html Convert a bookmarks JSON file into a Netscape bookmarks.html that Chrome, Firefox, Edge and Safari import.
- Csv Dedupe Remove duplicate rows from a CSV or TSV table.
- Csv Diff Compare two CSV or TSV tables by key column and list the rows that were added, removed or changed - a table diff, not a line diff, so rows…
- Csv To Bookmarks Html Convert a CSV of links into a Netscape bookmarks.html file that Chrome, Firefox, Edge and Safari import.