---
name: "jsonl2xml"
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/jsonl2xml"
---

# jsonl2xml(1)

convert JSON to XML, one root object per input line.

## NAME

jsonl2xml - convert JSON to XML, one root object per input line.

## SYNOPSIS

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

## DESCRIPTION

**jsonl2xml** is a variant of [**json2xml**(1)](/json2xml/1.md) that converts each input line (which must be self-contained!) into a separate root XML object, whereas **json2xml** uses a single root XML object for all JSON objects in the input.

## OPTIONS

See [**transmute**(1)](/transmute/1.md), under **-j2x**.

## SEE ALSO

**[jsonl2xml(1)](/jsonl2xml/1.md),** [**transmute**(1)](/transmute/1.md).
