Universal Format Support
Seamlessly work with JSON, YAML, TOML, and .env files. Convert between formats effortlessly.
Merge, transform, and validate configurations across any format. One tool, infinite possibilities.
Konfigo is a powerful command-line tool that solves the complexity of modern configuration management. Whether you're dealing with microservices, multi-environment deployments, or complex application settings, Konfigo provides a unified way to merge, validate, and transform your configurations.
→ 5-minute Quick Start
Perfect for newcomers who want to see Konfigo in action immediately.
→ Common Tasks & Recipes
Jump straight to solutions for merging, converting, or validating configurations.
→ Understanding Konfigo
Build a solid foundation before diving into advanced features.
→ Schema Guide
Unlock the full power of schema-driven configuration processing.
Multi-Environment Deployment
# Merge base config with environment-specific overrides
konfigo -s base.yaml,prod.yaml -of config.json
Configuration Validation
# Validate against schema and generate multiple outputs
konfigo -s config.yaml -S schema.yaml -V variables.yaml
Format Conversion
# Convert legacy .env files to modern YAML
konfigo -s legacy.env -oy -of modern.yaml
Ready to simplify your configuration management? Get started now!
Konfigo is a powerful and versatile command-line tool designed to simplify your configuration management workflow. It excels at reading various configuration file formats, merging them intelligently, and then processing the combined data against a user-defined schema. This schema can perform a wide array of operations, including:
Whether you're dealing with simple JSON files or complex, multi-layered YAML configurations with environment-specific overrides, Konfigo provides the tools to manage them efficiently and reliably.
concat
and other potential generators.renameKey
, changeCase
, addKeyPrefix
, and setValue
.required
, type
, min
, max
, minLength
, enum
, regex
).KONFIGO_KEY_path.to.key=value
.KONFIGO_VAR_VARNAME=value
.konfigo_forEach
directive in your variables file to produce multiple tailored configuration outputs from a single run.inputSchema
and filter outputs using an outputSchema
.immutable
schema directive.go install
or binary download links)konfigo -s source1.yml -s source2.json -of output.yml
konfigo -s config.json -S schema.yml -V staging-vars.yml -of staging_config.json
Dive into the Guide to learn more about the CLI and its features, or explore the Schema documentation to unlock the full power of Konfigo's processing capabilities.