# INI Parser — Convert Config Files to JSON, YAML or TOML

> Parse INI, .conf, .cfg and .properties files into structured JSON, YAML or TOML.

INI files are section headings in square brackets followed by key/value pairs. This parses them — along with .conf, .cfg and .properties files — into JSON, YAML, TOML or .env format, inferring types so that `port = 8080` becomes a number and `tls = true` becomes a boolean, while a quoted value stays a string.

**URL:** https://convertto.tech/t/ini-parser
**Category:** Data & Format Tools (https://convertto.tech/c/data-tools)
**Privacy:** Runs entirely in the browser; no upload
**Cost:** Free, no sign-up
**Last updated:** 2026-08-01

## Key facts

- **Privacy:** Runs entirely in your browser — nothing is uploaded
- **Cost:** Free, unlimited, no sign-up

## How to use

1. Enter or paste your ini or config file.
2. Choose the convert to.
3. Turn "Lowercase all keys" on or off as needed.
4. The result appears immediately — copy or download it.

## FAQ

### Why is my quoted number staying a string?

Deliberately. Quoting is the only way an INI file can say "treat this as text", and it matters for values like version numbers and zero-prefixed codes — `version = "1.20"` must not become 1.2, and `zip = "01234"` must not lose its leading zero.

### Is there a single INI standard?

No, which is why parsers disagree. There is no specification — comments may start with ; or #, separators may be = or :, some dialects support nested sections through dots, and duplicate keys mean different things in different tools. This handles the common intersection and reports lines it cannot make sense of rather than guessing.

## Related tools

- [Data Format Converter](https://convertto.tech/t/data-format-converter): Convert between JSON, YAML, XML, CSV, TSV and TOML in any direction, locally in your browser.
- [.env to JSON Converter](https://convertto.tech/t/env-to-json): Convert .env files to JSON and back — for config migrations and CI variables.
- [Mock Data Generator](https://convertto.tech/t/mock-data-generator): Generate realistic fake test data in 14 formats from 100+ field types, with reproducible seeds.
- [JSON Merge](https://convertto.tech/t/json-merge): Deep-merge several JSON documents, choosing how arrays and conflicts are resolved.
- [Excel to JSON Converter](https://convertto.tech/t/excel-to-json): Convert spreadsheet rows into a JSON array of objects.
- [JSON Diff](https://convertto.tech/t/json-diff): Compare two JSON documents and see exactly which keys were added, removed or changed.
- [JSON Flattener](https://convertto.tech/t/json-flattener): Flatten deeply nested JSON into dot-notation keys, or expand flat keys back into nested objects.
- [JSON Formatter & Validator](https://convertto.tech/t/json-formatter): Format, validate, repair and analyse JSON — with errors that point at the exact line.
- [.env File Validator](https://convertto.tech/t/env-file-validator): Check a .env file for syntax errors, duplicate keys, exposed secrets and missing entries.
