# TOML to YAML Guide

Convert TOML documents to YAML.

- Tool: https://ilham.dev/tools/toml-to-yaml/
- Guide URL: https://ilham.dev/guides/toml-to-yaml/
- Tool guides index: https://ilham.dev/guides/tools/
- Broader guide: Working With Structured Data (https://ilham.dev/guides/working-with-structured-data/)

## What it does

Convert TOML to YAML, turning tables into nested mappings and arrays of tables into sequences. Handy when a tool wants YAML but the config is written in TOML.

## Use the tool

Open https://ilham.dev/tools/toml-to-yaml/, add the input the tool asks for, run it, and check the output before using it elsewhere.

## Input and output

- Input: text.
- Output: text.
- Category: Formats.

## Privacy and processing
Processing happens locally in your browser. This tool does not upload the input to ilham.dev.

## Questions

### How are TOML dates represented?

As ISO 8601 strings. YAML does have a timestamp type, but writing one that other parsers agree on is unreliable, so plain strings are the safer output.