Catégories

PDF Text Extractor

Extract text content from PDF documents with support for page selection, formatting options, and multi-language processing

Click to upload file or drag and drop file here

Maximum file size: 100MB Supported formats: application/pdf

Supports PDF files up to 100MB

Specify pages to extract (1-5 for range, 3 for single page, 1,3,5 for multiple). Leave empty for all pages.

Keep original layout, spacing, and formatting as much as possible

Clean up excessive spaces and line breaks

Add line numbers to the extracted text

Documentation de l'API

Point de terminaison de la requête

POST /fr/api/tools/pdf-text-extractor

Paramètres de la requête

Nom du paramètre Type Requis Description
pdfFile file (Téléchargement requis) Oui Supports PDF files up to 100MB
pageRange text Non Specify pages to extract (1-5 for range, 3 for single page, 1,3,5 for multiple). Leave empty for all pages.
outputFormat select Non -
preserveFormatting checkbox Non Keep original layout, spacing, and formatting as much as possible
removeExtraWhitespace checkbox Non Clean up excessive spaces and line breaks
includeLineNumbers checkbox Non Add line numbers to the extracted text
encoding select Non -

Les paramètres de type fichier doivent être téléchargés d'abord via POST /upload/pdf-text-extractor pour obtenir filePath, puis filePath doit être passé au champ de fichier correspondant.

Format de réponse

{
  "result": "Processed text content",
  "error": "Error message (optional)",
  "message": "Notification message (optional)",
  "metadata": {
    "key": "value"
  }
}
Texte: Texte

Documentation de MCP

Ajoutez cet outil à votre configuration de serveur MCP:

{
  "mcpServers": {
    "elysiatools-pdf-text-extractor": {
      "name": "pdf-text-extractor",
      "description": "Extract text content from PDF documents with support for page selection, formatting options, and multi-language processing",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=pdf-text-extractor",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

Vous pouvez chaîner plusieurs outils, par ex.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 outils.

Prend en charge les liens de fichiers URL ou la codification Base64 pour les paramètres de fichier.

Si vous rencontrez des problèmes, veuillez nous contacter à [email protected]