Skip to main content
Data Conversion Tools provide essential functionality for transforming data between different formats. These tools handle array-to-CSV conversion, image-to-PDF conversion, HTML-to-PDF/DOCX conversion, and other data transformation needs in your workflows.

Tools

CONVERTER_ARRAY_TO_CSV

  • Convert 2D arrays to CSV format with automatic escaping
  • Handles special characters (quotes, commas, newlines)
  • Text cells that start with =, +, -, @, tab or carriage return are prefixed with an apostrophe (') so spreadsheet applications show them as text instead of evaluating them as formulas; numeric values (e.g. -5, +1.5e3) are written as-is
  • Input: input (2D array) — Output: result (CSV string)
  • Compatible with spreadsheet applications

CONVERTER_IMAGE_TO_PDF

  • Convert images to PDF format
  • Support for TIFF, PNG, JPEG, GIF, and more
  • Input: file_link (array of image URLs, max 10 files)
  • Output: result (URL of the generated PDF)

CONVERTER_HTML_TO_PDF

  • Convert HTML content to a PDF file
  • Input: html_content (HTML string), filename (optional, without extension)
  • Output: result (signed URL to the created PDF file)

CONVERTER_HTML_TO_DOCX

  • Convert HTML content to a DOCX (Word) file
  • Input: html_content (HTML string), filename (optional, without extension)
  • Output: result (signed URL to the created DOCX file)

Authentication

No authentication required for conversion tools.

Export data to CSV

Example: Sales Report Generation

Convert an image to PDF

Convert HTML to PDF or DOCX

Example: Complex Data Transformation

Data Format Support

CSV Conversion

  • Input: 2D arrays, JSON arrays, structured data
  • Output: RFC 4180 compliant CSV
  • Features: Automatic escaping, encoding handling

Image to PDF

  • Supported formats: TIFF, PNG, JPEG, GIF, and more
  • Input: Up to 10 image URLs per conversion
  • Output: PDF document URL

HTML to PDF / DOCX

  • Input: HTML content string and optional filename (without extension)
  • Output: Signed URL to the generated PDF or DOCX file
  • Features: Useful for turning LLM-generated HTML into downloadable documents

Best Practices

CSV Handling

  • Always include headers in your data arrays
  • Handle special characters (commas, quotes, newlines)
  • Use consistent data types within columns
  • Validate data before conversion

Image Conversion

  • Ensure images are accessible via public URLs
  • Consider file size limitations
  • Optimize images before conversion for better performance
  • Use appropriate filenames for organization

Use Cases

  • Data Export: Export database queries to CSV for Excel
  • Report Generation: Convert processed data to spreadsheet format
  • Document Creation: Convert charts and images to PDF
  • Data Migration: Transform data between different systems
  • Analytics Export: Export analysis results for stakeholders
  • Backup and Archive: Convert data to portable formats
  • Integration: Prepare data for external system import