# YAML to TOML

Convert YAML documents to TOML.

## URL

https://ilham.dev/tools/yaml-to-toml/

## What It Does

Convert YAML to TOML, preserving nesting, arrays and types. TOML has no null, so a null value is reported rather than quietly dropped or turned into an empty string.

## Features

- Runs in the browser
- No login required

## Input

text input.

## Output

text output.

## Privacy

Processing happens locally in the browser.

No input data is uploaded to ilham.dev.

- Requires login: false
- Requires API key: false
- Stores user data: false


## Examples

- What happens to a null value?
- Does key order survive?




## Questions

### What happens to a null value?

TOML has no null type. This conversion cannot faithfully carry a YAML null across. In the current tool, a null field may be omitted **without an error**. Check the output, then decide whether the receiving program expects an absent field or a different explicit value.

### Does key order survive?

Do not rely on key order alone to decide whether a conversion is correct. Check the resulting tables and values against the source and against what the receiving program expects.

