--- title: "CSV Modifier" slug: "csv-modifier" description: "Information about the CSV modifier." updated: 2026-04-14T14:29:36Z published: 2026-04-14T14:29:36Z canonical: "kb.lasernetgroup.com/csv-modifier" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.lasernetgroup.com/llms.txt > Use this file to discover all available pages before exploring further. # CSV Modifier **Applies to:** Lasernet Core 11 The CSV modifier is used for transforming XML (eXtended Markup Language) to a CSV file (comma-separated) and vice versa. The modifier enables modern systems to interface with legacy systems. The modifier can produce both column and character-separated files, plus XML (in a Lasernet Core-defined format) from CSV. ## XML or JSON to CSV Settings  | **Conversion** | Choose between converting between XML or JSON to CSV and CSV to XML or JSON. | | --- | --- | | **Line Separator** | Determines what line separator to use between lines in the text file. | | **Use tagname as heading** | If checked, the modifier will create a header line where the names of the tags are used for naming the columns (see below). | | **Quote using** | If checked, a quote character should be specified, usually `"` , that the modifier will put around the text of each column. When using quotes, the column width must be adjusted accordingly because the quotes are not counted in the width of the column. | | **Escape quotes with** | If checked, the modifier will search the text in each column for the character entered in **Quote using** and escape it with the character specified. | | **Character separated** | If checked, the modifier produces character-separated files. Enter the column separator, for example: comma, semicolon, colon, or tab. | | **Pad with spaces** | When checked, the modifier pads the text in the columns with spaces until they fill out the width determined by the XML file. | ## CSV – XML or JSON Settings  | **Conversion** | Choose between converting between XML to CSV and CSV to XML. | | --- | --- | | **First line contains headers** | Often the first line in the CSV contains the headers of the fields. Selecting this option will make Lasernet Core use the header names in the XML, plus skip the first line as it does not contain data. | | **Field separator** | Defines the separator between the fields in the CSV. | | **Quoted with** | Tells Lasernet Core that fields in the CSV are quoted and with which character. This is useful when a field separator occurs within a field. | | **Headers** | Optionally set the header names if not included in the CSV or if they are not correct. If not in the CSV or specified here, the fields will be named by Lasernet Core. | ## XML Format The modifier expects its XML input to be in a specific format. The same format is used for XML output. ```xml