---
title: to yaml
layout: command
version: 0.59.1
Convert table into .yaml/.yml text
## Signature
```> to yaml ```
## Examples
Outputs an YAML string representing the contents of this table
```shell
> [[foo bar]; ["1" "2"]] | to yaml
```