← 返回
未分类 Key 中文

Document to PDF

Convert office documents (DOCX, DOC, PPT, PPTX, XLS, XLSX, CSV, TXT, ODT, RTF) to PDF via the PDFAPIHub cloud API. Documents are uploaded to pdfapihub.com fo...
通过PDFAPIHub云API将office文档(DOCX、DOC、PPT、PPTX、XLS、XLSX、CSV、TXT、ODT、RTF)转换为PDF,文档上传至pdfapihub.com完成转换。
rishabhdugar rishabhdugar 来源
未分类 clawhub v1.0.1 1 版本 100000 Key: 需要
★ 0
Stars
📥 764
下载
💾 1
安装
1
版本
#latest

概述

Document to PDF

What It Does

Converts office documents to PDF via the PDFAPIHub hosted API. Your document is uploaded to PDFAPIHub servers for processing and the converted PDF is returned. Supports a wide range of input formats including Word, PowerPoint, Excel, and text files.

When to Use

  • Convert DOCX/DOC files to PDF
  • Convert spreadsheets (XLS/XLSX/CSV) to PDF
  • Convert presentations (PPT/PPTX) to PDF
  • Convert plain text or RTF to PDF

Supported Input Formats

doc, docx, odt, rtf, txt, ppt, pptx, odp, xls, xlsx, ods, csv

Required Inputs

Provide one of:

  • url — public URL to the document
  • file — base64-encoded document (set input_format too)
  • Multipart upload with file field

Authentication

This skill calls the PDFAPIHub hosted API at https://pdfapihub.com/api. Your document is sent to PDFAPIHub servers for conversion.

Send your API key in the CLIENT-API-KEY header.

Get your free API key at https://pdfapihub.com. Full API documentation is available at https://pdfapihub.com/docs.

Privacy note: Documents you convert are uploaded to PDFAPIHub's cloud service. Do not send confidential documents unless you trust the service. Files are auto-deleted after 30 days.

Use Cases

  • Document Standardization — Convert uploaded DOCX/PPTX/XLSX files to PDF for consistent viewing
  • E-Signature Workflows — Convert Word contracts to PDF before sending for signature
  • Archival — Convert office documents to PDF/A for long-term storage
  • Email Attachments — Convert spreadsheets or presentations to PDF before emailing
  • Publishing Pipelines — Convert authored DOCX content to PDF for distribution
  • LMS Content — Convert course materials (PPTX, DOCX) to PDF for student downloads

Aliases

  • /v1/convert/document/pdf is an alias for this endpoint

Example Usage

curl -X POST https://pdfapihub.com/api/v1/convert/docx/pdf \
  -H "CLIENT-API-KEY: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://pdfapihub.com/sample.docx",
    "output": "url"
  }'

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-03 07:24 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

PDF Parse

rishabhdugar
将 PDF 解析为结构化 JSON:包含文本、带有边界框的布局感知块、表格和图片元数据。
★ 0 📥 481

Generate PDF from HTML

rishabhdugar
根据HTML内容或公开URL生成PDF文档,支持自定义页面尺寸、字体、页边距、视口尺寸、动态参数替换等功能。
★ 0 📥 728

Image OCR Parse

rishabhdugar
使用 PDFAPIHub 云 OCR API 将图像文字提取并上传至 pdfapihub.com 进行 Tesseract OCR 处理,支持灰度等预处理。
★ 1 📥 499