> For the complete documentation index, see [llms.txt](https://daseldocs.tomwright.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://daseldocs.tomwright.me/v1/notes/converting-between-formats.md).

# Converting between formats

{% hint style="info" %}
See [supported file types](/v1/usage/supported-file-types.md) for a list of available formats.
{% endhint %}

Dasel allows you to specify different input/output formats using the `-r`,`--read` and `-w`,`--write` flags.

```shell
$ echo '{"name": "Tom"}{"name": "Jim"}' | dasel -r json -w yaml .
name: Tom
---
name: Jim
```

This works well in general but you may run into issues when converting between data formats that don't typically play well together.

If you have any questions or concerns around this please raise a [discussion](https://github.com/TomWright/dasel/discussions).
