---
name: "marc2xml"
section: "1p"
platform: "linux"
package: "libmarc-xml-perl"
version: "1.0.5-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/marc2xml"
---

# marc2xml(1p)

convert a MARC file to XML

## NAME

marc2xml - convert a MARC file to XML

## SYNOPSIS

```
    # convert a file
    % marc2xml marc.dat > marc.xml
    # or use in a pipeline
    % cat marc.dat | marc2xml > marc.xml
```

## DESCRIPTION

marc2xml is a command line utility for converting MARC21 bibliographic data to XML using the Library of Congress Slim Schema. Conversion is  handled using the MARC::Record and MARC::File::XML packages.
