360 Secure SkillHub
360 安全技能中心

PDF to Excel

通过外部 PDF 转换 API,将 PDF 中的表格和文本提取并转换为 XLSX 工作簿,每个页面生成一个独立工作表;支持 URL、base64 或 multipart 上传输入,需在请求头提供 API 密钥。

rishabhdugar
rishabhdugar
热度 50.84
最近更新 2026-05-11 17:44:03
分类:效率依赖:第三方 API应用场景:文件转换 / 数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add pdf-to-xlsx
Metadata
name
pdf-to-xlsx
description
Extract tables and text from a PDF into an Excel workbook (XLSX). Each page becomes a separate sheet.

PDF to Excel

What It Does

Extracts tables and text from a PDF into an Excel workbook. Each page becomes a separate sheet. Uses PyMuPDF table detection with fallback to line-by-line text extraction.

When to Use

  • Extract tabular data from PDF invoices or reports
  • Convert PDF financial statements to Excel
  • Pull structured data from PDF tables

Required Inputs

Provide one of:

  • url — public URL to a PDF
  • file — base64-encoded PDF
  • Multipart upload with file field

Authentication

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.

Use Cases

  • Invoice Data Extraction — Pull line items and totals from PDF invoices into Excel for accounting
  • Financial Statement Analysis — Convert PDF bank statements to Excel for analysis and reconciliation
  • Report Data Mining — Extract tabular data from PDF reports for further processing
  • Procurement — Convert PDF purchase orders into spreadsheets for tracking
  • Tax Preparation — Extract financial data from PDF tax documents into Excel

Aliases

  • /v1/convert/pdf/excel is an alias

Example Usage

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