# Read/Write formats

Dasel supports a number of file formats out of the box.

| Format | Read                 | Write                | Notes                                                                                                                                                                                                   |
| ------ | -------------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| json   | :white\_check\_mark: | :white\_check\_mark: |                                                                                                                                                                                                         |
| yaml   | :white\_check\_mark: | :white\_check\_mark: |                                                                                                                                                                                                         |
| hcl    | :white\_check\_mark: | :white\_check\_mark: | [Flags available.](/input-output/read-writer-flags.md#hcl)                                                                                                                                              |
| csv    | :white\_check\_mark: | :white\_check\_mark: | <p><a href="/pages/vs3gpbQfCDqAy6nFm1Qw#csv">Flags available.</a><br>All values read/written as strings.</p>                                                                                            |
| toml   | :grey\_question:     | :grey\_question:     | <p>Generally working.<br>Unsorted maps.</p>                                                                                                                                                             |
| xml    | :white\_check\_mark: | :white\_check\_mark: | <p><a href="/pages/vs3gpbQfCDqAy6nFm1Qw#xml">Flags available.</a><br>Attribute names are prefixed with a <code>-</code> and should be accessed using <a href="/pages/mHhp6NHuJ42wXg2EF9uk">get</a>.</p> |
| ini    | :white\_check\_mark: | :white\_check\_mark: | Limited to basic sections + key values.                                                                                                                                                                 |
| dasel  | :white\_check\_mark: | :x:                  | This is not a real format, but instead allows dasel literals to be parsed on input strings.                                                                                                             |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://daseldocs.tomwright.me/input-output/read-write-formats.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
