# Convert Xml to Json

**URL:** <https://community.n8n.io/t/convert-xml-to-json/11149>\
**Category:** Questions\
**Created:** [February 4, 2022, 5:23pm UTC](https://community.n8n.io/t/convert-xml-to-json/11149 "2022-02-04T17:23:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dsuresh](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@dsuresh](https://community.n8n.io/u/dsuresh)\
**Post date:** [February 4, 2022, 5:23pm UTC](https://community.n8n.io/t/convert-xml-to-json/11149/1 "2022-02-04T17:23:22Z")

</div>

Hi,

I have a requirement to download XML file and convert to JSON. I can see the data with “Read Binary File” node, and using the Xml node to convert to JSON. when I use the property “data”, I am getting error - “no property data exists”.

Pls help.

---

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [February 4, 2022, 5:34pm UTC](https://community.n8n.io/t/convert-xml-to-json/11149/2 "2022-02-04T17:34:05Z")

</div>

Hey @dsuresh,

Looks like the formatting went a bit odd with your workflow, Could you try pasting it in again but put ``` on the line before and after. It should end up being something like the below.

```auto
your text

```

 ![image](https://europe1.discourse-cdn.com/n8n/original/2X/5/52379cdd5f63222392759bbecd6c8aa76950c103.png)

---

<div class="post-metadata">

**Author:** ![dsuresh](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@dsuresh](https://community.n8n.io/u/dsuresh)\
**Post date:** [February 4, 2022, 5:43pm UTC](https://community.n8n.io/t/convert-xml-to-json/11149/3 "2022-02-04T17:43:23Z")

</div>

Resent…thanks
