---
title: "Change Data Format Connector | Lansweeper Platform"
slug: "change-data-format-connector"
description: "Transform data formats effortlessly with our guide on converting CSV, JSON, XML, and more. Learn to serialize and deserialize various data types!"
status: "update"
updated: 2026-07-17T15:52:40Z
published: 2026-07-17T15:52:40Z
canonical: "docs.lansweeper.com/change-data-format-connector"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lansweeper.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Change Data Format Connector

Note on third‑party tools

              

We aim to provide accurate and helpful details about third‑party tools, but we can’t guarantee that this information is always complete or up to date. If you notice any discrepancies, feel free to share them in the feedback section below. For the most reliable information, please always refer to the third‑party tool’s official documentation.

The **change data format** component allows you to convert data between common formats, like JSON, XML, CSV, and YAML, and to serialize (turn an object into a string) or deserialize (turn a string into an object) each supported format.

## Actions

### Convert To Boolean

Convert a value to a boolean

| Input | Comments | Default |
| --- | --- | --- |
| The value to be converted to a boolean |  |  |

### Convert To Integer

Convert a value to an int

| Input | Comments | Default |
| --- | --- | --- |
| The value to be converted to a integer |  |  |

### Convert To Number

Convert a value to a number

| Input | Comments | Default |
| --- | --- | --- |
| The value to be converted to a number |  |  |

### Convert To String

Convert a value to a string

| Input | Comments | Default |
| --- | --- | --- |
| The value to be converted to a string |  |  |

### CSV to JSON

Convert CSV to JSON

| Input | Comments | Default |
| --- | --- | --- |
| Data | CSV data to convert to JSON |  |
| CSV Header | Specify if your CSV contains a header row. | true |
| Un-Flatten CSV Keys | When enabled, keys with double-underscores will be parsed as nested objects. For example, 'person__first,person__last' will become '{ person: { first, last } }' rather than '{ person__first, person__last }' | false |

### CSV to XML

Convert CSV to XML

| Input | Comments | Default |
| --- | --- | --- |
| Data | CSV data to convert to XML |  |
| CSV Header | Specify if your CSV contains a header row. | true |
| Un-Flatten CSV Keys | When enabled, keys with double-underscores will be parsed as nested objects. For example, 'person__first,person__last' will become '{ person: { first, last } }' rather than '{ person__first, person__last }' | false |

### CSV to YAML

Convert CSV to YAML

| Input | Comments | Default |
| --- | --- | --- |
| Data | CSV data to convert to YAML |  |
| CSV Header | Specify if your CSV contains a header row. | true |
| Un-Flatten CSV Keys | When enabled, keys with double-underscores will be parsed as nested objects. For example, 'person__first,person__last' will become '{ person: { first, last } }' rather than '{ person__first, person__last }' | false |

### Deserialize BINARY

Deserialize BINARY data

| Input | Comments | Default |
| --- | --- | --- |
| Data | BINARY text to deserialize so it can be referenced in a subsequent step. |  |

### Deserialize CSV

Deserialize CSV data

| Input | Comments | Default |
| --- | --- | --- |
| Data | CSV text to deserialize so it can be referenced in a subsequent step. |  |
| CSV Header | Specify if your CSV contains a header row. | true |
| Un-Flatten CSV Keys | When enabled, keys with double-underscores will be parsed as nested objects. For example, 'person__first,person__last' will become '{ person: { first, last } }' rather than '{ person__first, person__last }' | false |

### Deserialize JSON

Deserialize JSON data

| Input | Comments | Default |
| --- | --- | --- |
| Data | JSON text to deserialize so it can be referenced in a subsequent step. |  |

### Deserialize JSON Lines (.jsonl)

Transform .jsonl data to a JavaScript array

| Input | Comments | Default |
| --- | --- | --- |
| JSONL Data |  |  |

### Deserialize URL-encoded Form Data

Deserialize Form Data (x-www-form-urlencoded)

| Input | Comments | Default |
| --- | --- | --- |
| Data | Form data to deserialize so it can be referenced in a subsequent step. |  |

### Deserialize XML

Deserialize XML data

| Input | Comments | Default |
| --- | --- | --- |
| Data | XML text to deserialize so it can be referenced in a subsequent step. |  |
| Parse numbers as strings? | Interpret numbers as strings? | false |

### Deserialize YAML

Deserialize YAML data

| Input | Comments | Default |
| --- | --- | --- |
| Data | YAML text to deserialize so it can be referenced in a subsequent step. |  |

### JavaScript Object to CSV

Convert JavaScript Object to CSV

| Input | Comments | Default |
| --- | --- | --- |
| Data | JavaScript Object data to convert to CSV |  |

### JavaScript Object to JSON

Convert JavaScript Object to JSON

| Input | Comments | Default |
| --- | --- | --- |
| Data | JavaScript Object data to convert to JSON |  |

### JavaScript Object to XML

Convert JavaScript Object to XML

| Input | Comments | Default |
| --- | --- | --- |
| Data | JavaScript Object data to convert to XML |  |

### JavaScript Object to YAML

Convert JavaScript Object to YAML

| Input | Comments | Default |
| --- | --- | --- |
| Data | JavaScript Object data to convert to YAML |  |

### JSON to CSV

Convert JSON to CSV

| Input | Comments | Default |
| --- | --- | --- |
| Data | JSON data to convert to CSV |  |

### JSON to XML

Convert JSON to XML

| Input | Comments | Default |
| --- | --- | --- |
| Data | JSON data to convert to XML |  |

### JSON to YAML

Convert JSON to YAML

| Input | Comments | Default |
| --- | --- | --- |
| Data | JSON data to convert to YAML |  |

### Pretty Print

Format data to be more human-readable

| Input | Comments | Default |
| --- | --- | --- |
| Data | Data to pretty print |  |

### Serialize JSON Lines (.jsonl)

Serialize an array of JavaScript objects into .jsonl

| Input | Comments | Default |
| --- | --- | --- |
| Array of JavaScript Objects to serialize | Must be a reference to an array of JavaScript objects |  |

### Serialize URL-encoded Form Data

Serialize Form Data (x-www-form-urlencoded)

| Input | Comments | Default |
| --- | --- | --- |
| Data | Form data to deserialize so it can be referenced in a subsequent step. |  |

### XML to CSV

Convert XML to CSV

| Input | Comments | Default |
| --- | --- | --- |
| Data | XML data to convert to CSV |  |
| Parse numbers as strings? | Interpret numbers as strings? | false |

### XML to JSON

Convert XML to JSON

| Input | Comments | Default |
| --- | --- | --- |
| Data | XML data to convert to JSON |  |
| Parse numbers as strings? | Interpret numbers as strings? | false |

### XML to YAML

Convert XML to YAML

| Input | Comments | Default |
| --- | --- | --- |
| Data | XML data to convert to YAML |  |
| Parse numbers as strings? | Interpret numbers as strings? | false |

### YAML to CSV

Convert YAML to CSV

| Input | Comments | Default |
| --- | --- | --- |
| Data | YAML data to convert to CSV |  |

### YAML to JSON

Convert YAML to JSON

| Input | Comments | Default |
| --- | --- | --- |
| Data | YAML data to convert to JSON |  |

### YAML to XML

Convert YAML to XML

| Input | Comments | Default |
| --- | --- | --- |
| Data | YAML data to convert to XML |  |
