# Ini Json Converter — REST API endpoint `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.

- Category: data
- MCP server: https://mcp.findutils.com/ (Streamable HTTP, no API keys, 120 req/min per IP)
- REST endpoint: POST https://api.findutils.com/api/tools/ini-json-converter/execute (no API keys, 60 req/min per IP)
- Reference page: https://findutils.com/api/ini-json-converter/
- Same tool on the other surface: https://findutils.com/mcp/ini-json-converter/

## Call the endpoint (verified example)

```bash
curl -X POST https://api.findutils.com/api/tools/ini-json-converter/execute \
  -H "Content-Type: application/json" \
  -d '{
    "input": "[server]\nhost = localhost\nport = 8080"
  }'

# Parameter schema
curl https://api.findutils.com/api/tools/ini-json-converter
```

## Input schema

| Argument | Type | Required | Description |
|---|---|---|---|
| `input` | string | yes | The INI/.cfg/.conf text or the JSON object to convert. |
| `mode` | string (ini-to-json \| json-to-ini) | no | Conversion direction. Default: ini-to-json. Default: `"ini-to-json"`. |
| `infer_types` | boolean | no | ini-to-json: turn integers, decimals, true and false into JSON types. Default: false (every value is a string). Default: `false`. |
| `indent` | integer | no | ini-to-json: JSON indentation width (0-8). Default: 2. Default: `2`. |
| `delimiter` | string ( =  \| = \| : ) | no | json-to-ini: how each line separates key and value. Default: " = ". Default: `" = "`. |

Example arguments (verified):

```json
{
  "input": "[server]\nhost = localhost\nport = 8080"
}
```

OpenAPI 3.1 spec: https://findutils.com/api/openapi.json · Interactive docs: https://findutils.com/api/docs/

## Also an MCP tool

```bash
claude mcp add findutils --transport http https://mcp.findutils.com/
```

Then ask the client to call `findutils:ini_json_converter`. Full MCP reference: https://findutils.com/mcp/ini-json-converter/

---
Full catalog: GET https://api.findutils.com/api/tools · https://findutils.com/api/ · https://findutils.com/llms.txt
