Markdown to INI Converter

Transform Markdown tables into INI configuration files

Markdown Input

Which column to use as section names (0 = first column)

INI Output

About Markdown to INI Converter

Convert Markdown tables to INI (Initialization) configuration file format. Perfect for creating configuration files for applications, servers, and system settings.

Key Features

  • Section Support: Automatically creates [section] blocks from table data
  • Flexible Section Column: Choose which column to use as section names
  • Key Sanitization: Converts headers to valid INI keys
  • Header Comments: Optional metadata comments at file start
  • Multiple Sections: Each table row becomes a separate section
  • Standard Format: Compatible with all INI parsers

How to Use

  1. Input Markdown Table: Paste your Markdown table or upload a .md file
  2. Configure Options: Set section column and header preferences
  3. Review Output: The INI file generates automatically
  4. Copy or Download: Use the configuration file in your application

INI Format Structure

Each row in your Markdown table becomes a section in the INI file:

  • Section Name: Taken from the specified column (default: first column)
  • Key-Value Pairs: Other columns become key=value pairs
  • Comments: Optional header comments with generation info

Example Conversion

Markdown Input:

| Server | Host | Port | Timeout | SSL |
|--------|------|------|---------|-----|
| Production | prod.example.com | 443 | 30 | true |
| Staging | staging.example.com | 443 | 30 | true |
| Development | localhost | 8080 | 60 | false |

INI Output:

; Generated from Markdown table
; Date: 2024-01-15T10:30:00.000Z

[Production]
Host=prod.example.com
Port=443
Timeout=30
SSL=true

[Staging]
Host=staging.example.com
Port=443
Timeout=30
SSL=true

[Development]
Host=localhost
Port=8080
Timeout=60
SSL=false

Common Use Cases

  • Application Config: Create configuration files for applications
  • Server Settings: Define server configurations
  • Database Connections: Store database connection strings
  • Environment Variables: Manage environment-specific settings
  • System Configuration: Generate system config files

INI File Features

  • Standard Format: Compatible with Python configparser, PHP parse_ini_file, and more
  • Section Organization: Logical grouping with [section] headers
  • Key-Value Pairs: Simple key=value syntax
  • Comments: Semicolon-prefixed comments for documentation

Key Sanitization

Headers are automatically converted to valid INI keys:

  • Special characters replaced with underscores
  • Numbers at start prefixed with underscore
  • Alphanumeric, dots, dashes, and underscores preserved

Configuration Tips

  • Section Column: Use column 0 (first) for section names by default
  • Multiple Configs: Each row creates a separate configuration section
  • Empty Values: Empty cells become empty values (key=)
  • Comments: Enable header comments for better documentation

Privacy & Security

All conversions happen locally in your browser. Your Markdown data is never uploaded to any server, ensuring complete privacy and security.