Skip to main content
Conversion Tools logo
  • Category: documents
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 11
  • Triggers: 0
  • Slug: CONVERSION_TOOLS
  • Version: 20261101_00

Tools

Slug: CONVERSION_TOOLS_CONVERT_EXCEL_TO_HTMLConvert an Excel (.xlsx) file to HTML table format. Use when you need to transform spreadsheet data into an HTML representation. Provide either a file upload or a public URL to the Excel file. Returns a task_id that can be used to check the conversion status and download the result once complete.

Input Parameters

object
Excel file to upload for conversion. Required if file_url is not provided.
object
Optional conversion settings. Example: {‘sheet’: ‘Sheet1’} to convert a specific sheet.
string
Public URL to the Excel file to convert (e.g., ‘https://example.com/data.xlsx’). Required if file is not provided.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CONVERSION_TOOLS_CONVERT_WORD_TO_TEXTCreate a Word-to-text conversion task from a document or public URL and poll for completion for approximately 60 seconds. Returns the task status; a download URL is included only if the successful status response supplies it.

Input Parameters

string
Binary content of the Word document (.doc/.docx) to convert. Mutually exclusive with ‘file_url’.
string
Publicly accessible URL of the Word document (.doc/.docx) to convert. Mutually exclusive with ‘file’.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CONVERSION_TOOLS_CREATE_TASKCreate a conversion task for one of the supported types, including XML, JSON, Excel, PDF, CSV, images, audio/video and websites; sandbox mode permits quota-free testing. The task ID is returned when present in the nested response data.

Input Parameters

string
Public URL of the file or website to convert. Required for website conversions or when converting a file from the internet. Mutually exclusive with file_id.
string ("convert.xml_to_excel" | "convert.json_to_excel" | "convert.csv_to_excel" | "convert.excel_to_csv" | "convert.excel_to_xml" | "convert.excel_to_json" | "convert.xml_to_csv" | "convert.xml_to_json" | "convert.json_to_xml" | "convert.csv_to_xml" | "convert.html_table_to_csv" | "convert.pdf_to_text" | "convert.pdf_to_excel" | "convert.pdf_to_csv" | "convert.pdf_to_word" | "convert.pdf_to_jpg" | "convert.pdf_to_png" | "convert.word_to_pdf" | "convert.excel_to_pdf" | "convert.powerpoint_to_pdf" | "convert.word_to_text" | "convert.word_to_html" | "convert.powerpoint_to_text" | "convert.powerpoint_to_html" | "convert.markdown_to_pdf" | "convert.markdown_to_html" | "convert.markdown_to_epub" | "convert.website_to_pdf" | "convert.website_to_jpg" | "convert.website_to_png" | "convert.html_to_jpg" | "convert.html_to_png" | "convert.jpg_to_pdf" | "convert.png_to_pdf" | "convert.pdf_to_svg" | "convert.png_to_svg" | "convert.png_to_webp" | "convert.jpg_to_avif" | "convert.png_to_avif" | "convert.avif_to_png" | "convert.avif_to_jpg" | "convert.mp4_to_mp3" | "convert.wav_to_mp3" | "convert.flac_to_mp3" | "convert.mp3_to_wav" | "convert.mov_to_mp4" | "convert.mkv_to_mp4" | "convert.avi_to_mp4" | "convert.ocr_pdf_to_text" | "convert.ocr_jpg_to_text" | "convert.ocr_png_to_text" | "convert.excel_to_ods" | "convert.ods_to_excel" | "convert.ods_to_csv" | "convert.ods_to_pdf" | "convert.fix_xml_escaping" | "convert.excel_xml_to_excel_xlsx")
required
Conversion type identifier in format convert.{source}to{target}. Choose from 59 supported conversion types including XML, JSON, Excel, PDF, CSV, images, audio/video, and more.
string
File ID returned by POST /files endpoint. Required when converting an uploaded file. Mutually exclusive with url.
boolean
Enable sandbox mode for unlimited testing without counting against quota. Returns mock data in 2-5 seconds. Useful for testing workflows before production use.
string
Webhook URL to receive task completion notification. The API will POST to this URL when conversion finishes.
object
Additional conversion-specific options. Examples: filename (output name), pages (page ranges like ‘1-5,7’), delimiter (CSV separator), quality (image quality), etc. Varies by conversion type.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CONVERSION_TOOLS_DOWNLOAD_FILEDownload a converted file from the Conversion Tools API using its file ID. Use this action after a conversion task completes successfully. The file_id is obtained from the task status response when status is ‘SUCCESS’. Converted files are automatically deleted after 24 hours. Workflow: 1. Run a conversion task (e.g., convert_website_to_pdf) 2. Check task status until status is ‘SUCCESS’ 3. Use the file_id from the task response to download the result

Input Parameters

string
required
Unique identifier (32-character hex string) of the converted file to download. Obtain this ID from a completed conversion task’s response.
string
Optional filename for the downloaded file. If not provided, the filename will be extracted from the API response headers or derived from the file_id.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CONVERSION_TOOLS_GET_AUTH_INFOTool to get information about the authenticated user including email address. Use when you need to verify API credentials or retrieve the user’s email.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CONVERSION_TOOLS_GET_CONFIGTool to get available conversion types and their configuration. Returns the list of all supported conversions with their options. Use this to discover what conversions are available and what parameters they accept.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CONVERSION_TOOLS_GET_FILE_INFOTool to get metadata about a file including size, name, and preview (for text files). Use when you need to retrieve information about a previously uploaded file. This does NOT count against your quota.

Input Parameters

string
required
Unique identifier (32-character hex string) of the file to retrieve information about.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CONVERSION_TOOLS_GET_TASK_STATUSTool to get the status of a conversion task. Poll this endpoint until status is SUCCESS or ERROR. On SUCCESS, the response includes file_id which can be used to download the result file.

Input Parameters

string
required
The task ID returned from task creation. A 32-character hexadecimal string uniquely identifying the conversion task.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CONVERSION_TOOLS_LIST_TASKSGet all tasks for the authenticated user (up to 50 most recent tasks). Use this action to retrieve conversion task history, check task statuses, or find completed tasks for downloading results. This does NOT count against your API quota. Filter by status to retrieve only tasks in a specific state (PENDING, RUNNING, SUCCESS, or ERROR).

Input Parameters

string ("PENDING" | "RUNNING" | "SUCCESS" | "ERROR")
Task status enumeration for filtering tasks.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CONVERSION_TOOLS_UPDATE_TASK_RETENTIONTool to update the retention mode for a task. Use when you need to change how long task files are kept before automatic deletion. Standard mode (standard_24h) retains files for 24 hours. TTL mode (ttl_15m) is for paid users only and deletes files after 15 minutes.

Input Parameters

string
required
Unique identifier (32-character hex string) of the task to update. Obtain this ID from a conversion task response.
string ("standard_24h" | "ttl_15m")
required
Retention mode for task files. ‘standard_24h’ (default) retains files for 24 hours. ‘ttl_15m’ (paid users only) retains files for 15 minutes and automatically deletes them afterward.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: CONVERSION_TOOLS_UPLOAD_FILEUpload a file to the ConversionTools API for subsequent conversion operations. This action uploads a file and returns a file_id that can be used with other conversion actions such as convert_word_to_text, convert_excel_to_csv, convert_oxps_to_pdf, etc. Supported formats include: documents (DOC, DOCX, PDF, TXT, RTF), spreadsheets (XLS, XLSX, CSV), images (PNG, JPG, GIF, BMP), and various other file types.

Input Parameters

string
required
Binary content of the file to upload. Can be provided as base64-encoded string or raw bytes.
string
required
Name of the file including extension (e.g., ‘document.docx’, ‘spreadsheet.xlsx’, ‘image.png’). The extension determines how the file will be processed.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not