---
name: "csv2xml"
section: "1"
platform: "linux"
package: "ncbi-entrez-direct"
version: "24.0.20250523+dfsg-1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/csv2xml"
---

# csv2xml(1)

XMLify

## NAME

csv2xml,fsa2xml,gbf2ref,gbf2xml,ini2xml,json2xml,scn2xml,tbl2xml,toml2xml,yaml2xml - XMLify

## SYNOPSIS

**csv2xml**\|**scn2xml**\|**tbl2xml** \[**-set** *tag*\] \[**-rec** *tag*\] \[**-skip** *N*\] \[**-header**\] \[**-lower**\|**-upper**\] \[**-indent**\|**-flush**\] *columnName1* ...

**fsa2xml**

**gbf2ref**

**gbf2xml**

**ini2xml**

**json2xml** \[**-set** *tag*\] \[**-rec** *tag*\] \[**-nest** **flat**\|**recurse**\|**plural**\|**singular**\|**depth**\|**element**\]

**toml2xml**

**yaml2xml**

## DESCRIPTION

These commands all simply invoke corresponding [**transmute**(1)](/transmute/1.md) modes; each reads a stream of data from standard input, converts it to XML suitable for **-path** navigation, and writes the result to standard output. Specifically:

- **csv2xml**

  corresponds to **transmute -c2x**, converting comma-separated values to XML.

- **fsa2xml**

  corresponds to **transmute -f2x**, converting FASTA streams to XML.

- **gbf2ref**

  corresponds to **transmute -g2r**, converting from GenBank/GenPept flatfile format to Reference Index XML.

- **gbf2xml**

  corresponds to **transmute -g2x**, converting from GenBank/GenPept flatfile format to INSDSeq XML.

- **ini2xml**

  corresponds to **transmute -i2x**, converting from **.ini** configuration file format to XML.

- **json2xml**

  corresponds to **transmute -j2x**, converting JSON to XML.

- **scn2xml**

  corresponds to **transmute -s2x**, converting a semicolon-delimited table to XML.

- **tbl2xml**

  corresponds to **transmute -t2x**, converting a tab-delimited table to XML.

- **toml2xml**

  corresponds to **transmute -m2x**, converting from TOML format to XML.

- **yaml2xml**

  corresponds to **transmute -y2x**, converting from YAML format to XML.

There is also an analogous **asn2xml** wrapper corresponding to **transmute -a2x** (converting text ASN.1 to XML), but Debian systems install it to **/usr/lib/ncbi-entrez-direct/bin** to avoid conflicting with the **ncbi-tools-bin** package's [**asn2xml**(1)](/asn2xml/1.md).

## OPTIONS

See [**transmute**(1)](/transmute/1.md).

## SEE ALSO

[**asn2ref**(1)](/asn2ref/1.md), [**download-flatfile**(1)](/download-flatfile/1.md), [**gbf2facds**(1)](/gbf2facds/1.md), [**gbf2fsa**(1)](/gbf2fsa/1.md), [**gbf2info**(1)](/gbf2info/1.md), [**gbf2tbl**(1)](/gbf2tbl/1.md), [**gene2range**(1)](/gene2range/1.md), [**gff2xml**(1)](/gff2xml/1.md), **[jsonl2xml(1)](/jsonl2xml/1.md),** [**ref2pmid**(1)](/ref2pmid/1.md), [**refseq-nm-cds**(1)](/refseq-nm-cds/1.md), [**transmute**(1)](/transmute/1.md), [**xml2fsa**(1)](/xml2fsa/1.md), [**xml2tbl**(1)](/xml2tbl/1.md), [**xtract**(1)](/xtract/1.md).
