> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/build/xml.md).

# Convert XML in Duaer

In Duaer, XML defaults to Mode XML to JSON. Property Name defaults to data. If the XML is on binary, convert it to text with Extract from File first.
## Convert XML to JSON

1. Start from an item that already has an XML string in a field, for example data.
2. Search for XML and connect it after that node.
3. Leave Mode on XML to JSON.
4. Property Name defaults to data. Change it to the real field name.
5. Select Execute step. The output is parsed JSON.

Mode can also be JSON to XML. Under Options, Root Name defaults to root.

When the file is on binary, refer to [Read a file with Extract from File in Duaer](/build/extract-from-file.md) first.
## Questions

### Can the XML node in Duaer open a .xml path on disk?

No. It reads text on an item field. For binary, use Extract from File first. For the host disk, use Read/Write Files from Disk on self-hosted Duaer.

