ASN2TXT (ASN.1 to text translator) is a command-line tool for translating data encoded using BER, CER, DER, or PER ASN.1 encoding rules to various text formats. Currently it supports writing CSV data (for BER/CER/DER only) and XML (all encoding rules).

It provides the capability to transform ASN.1-encoded data to a delimited format by assigning an ASN.1 schema to binary data. No programming is required to produce the output, and the conversions may be done in a batch process.

ASN2TXT attempts to address a common need in data mediation: the conversion of binary-encoded ASN.1 other formats suitable for user editing or database population. Common applications include CDR formats like TAP3, R12, CCN, and newer 3G CDR formats.