Link Search Menu Expand Document

How to do convert TXT to CSV

We don’t have a TXT to CSV conversion at the moment. In the meantime, you can try this workaround.

Two-step conversion:

  • Convert TXT to PDF using the /v1/pdf/convert/from/doc endpoint - https://apidocs.pdf.co/23-pdf-from-doc-docx-rtf-txt-xps-document-to-pdf

  • Convert PDF to CSV using /v1/pdf/convert/to/csv endpoint - https://apidocs.pdf.co/12-pdf-to-csv

Applies to:

  • /pdf/convert/from/doc
  • /pdf/convert/to/csv