Home/ Tools/ Mule YAML Tools
βš™οΈ

Mule YAML Tools

Two-way YAML ↔ Properties converter with advanced key extraction. Get keys in Mule-ready formats, filter results, and export with one click.

MuleSoft YAML Properties 100% Client-Side
Input: YAML
Output: Properties
πŸ’‘ Encrypted values starting with ![ will automatically get the secure:: prefix when using Keys Only mode.
Input: Properties
Output: YAML

How to Use Mule YAML Tools

Two converters in one. Whether you're flattening YAML into properties or rebuilding YAML from flat keys, here's how each direction works.

Pick Your Direction

Use the YAML to Properties tab to flatten a config YAML. Switch to Properties to YAML to reconstruct a nested YAML from flat key=value pairs.

Paste or Upload Your File

Both tabs support pasting content directly or uploading a file from disk. Works with .yaml, .yml, and .properties files. No size limit, no backend.

Set Output Options (YAML tab)

Going YAML to Properties? Check Keys Only to strip values, then pick ${key} or Mule::p("key") wrapping. Use the filter bar for large configs.

Copy or Download

Grab the output via Copy, or download as a .properties / .yaml file for your Mule project. No reformatting needed.

Frequently Asked Questions

What is the difference between YAML and .properties in MuleSoft?
MuleSoft supports both YAML (config.yaml) and flat properties (config.properties) files for externalizing runtime configuration. YAML is hierarchical and easier to read; Properties files are flat key=value pairs. Mule 4 on CloudHub often uses Properties files for environment-specific overrides.
What does the "Keys Only" option do?
Enabling Keys Only extracts just the dotted property keys (e.g., database.host) without the values. This is useful when you need a list of property keys to reference in DataWeave expressions or to create a Mule property placeholder template.
What is the Mule::p("key") format used for?
Mule::p("key") is a DataWeave function that reads a Mule property at runtime. It's the recommended way to reference properties inside DataWeave scripts, replacing the older ${key} placeholder syntax in certain contexts. This tool can auto-wrap all your keys in this format with a single click.
How does the tool detect encrypted values?
Values starting with ![ are recognized as Mule Secure Property encrypted values. In Keys Only mode, these keys automatically get the secure:: prefix added (e.g., secure::database.password), which is required by the Mule Secure Properties Module.
Can I convert a .properties file back to YAML?
Yes! Switch to the Properties β†’ YAML tab. Paste or upload your flat .properties file, and the tool will reconstruct the nested YAML hierarchy from the dotted key paths, so database.host=localhost becomes proper nested YAML structure.
Is my configuration data safe?
Completely. All processing happens 100% in your browser. No data, keys, or values are ever sent to any server. This makes it safe to use with production config files containing connection strings or encrypted secrets.

From the Blog

Practical articles on MuleSoft configuration, DataWeave, and secure deployments.

🀠 Find this tool useful?

Built for the MuleSoft community. 100% free, always. If it saves you time on your next deployment, a coffee goes a long way!