DocsPDF-tools

PDF-tools API

Endpoints voor het samenvoegen, splitsen, comprimeren, converteren, beveiligen en bewerken van PDF-bestanden. Alle endpoints accepteren multipart/form-data en retourneren het verwerkte bestand als binaire download.

PDF samenvoegen

POST/api/pdf-merge

Voeg meerdere PDF-bestanden samen tot een enkel PDF-document. Bestanden worden samengevoegd in de volgorde van uploaden.

Parameters

NameTypeRequiredDescription
filesFile[]RequiredMeerdere PDF-bestanden om samen te voegen
Response:Samengevoegd PDF-bestand
bash
curl -X POST https://freefiletools.io/api/pdf-merge \
  -H "x-api-key: fft_your_api_key" \
  -F "[email protected]" \
  -F "[email protected]" \
  -F "[email protected]" \
  -o merged.pdf

PDF splitsen

POST/api/pdf-split

Splits een PDF-bestand in meerdere delen op basis van paginabereiken. Retourneert een ZIP-bestand met de gesplitste PDF's.

Parameters

NameTypeRequiredDescription
fileFileRequiredPDF-bestand om te splitsen
rangesstringRequiredPaginabereiken, bijv. "1-3,5,7-9". Elk bereik wordt een apart PDF-bestand.
Response:ZIP-bestand met gesplitste PDF's
bash
curl -X POST https://freefiletools.io/api/pdf-split \
  -H "x-api-key: fft_your_api_key" \
  -F "[email protected]" \
  -F "ranges=1-3,5,7-9" \
  -o split-pages.zip

PDF comprimeren

POST/api/pdf-compress

Comprimeer een PDF-bestand om de grootte te verkleinen. Gebruikt Ghostscript voor hoogwaardige compressie.

Parameters

NameTypeRequiredDescription
fileFileRequiredPDF-bestand om te comprimeren
levelstringOptionalCompressieniveau: "low", "medium" of "high". Standaard: "medium"
Response:Gecomprimeerd PDF-bestand
bash
curl -X POST https://freefiletools.io/api/pdf-compress \
  -H "x-api-key: fft_your_api_key" \
  -F "[email protected]" \
  -F "level=high" \
  -o compressed.pdf

PDF naar Word

POST/api/pdf-to-word

Converteer een PDF-bestand naar een Microsoft Word (.docx)-document.

Parameters

NameTypeRequiredDescription
fileFileRequiredPDF-bestand om te converteren
Response:DOCX-bestand
bash
curl -X POST https://freefiletools.io/api/pdf-to-word \
  -H "x-api-key: fft_your_api_key" \
  -F "[email protected]" \
  -o document.docx

PDF naar afbeelding

POST/api/pdf-to-image

Converteer PDF-pagina's naar afbeeldingen. Retourneert een ZIP-bestand met een afbeelding per pagina.

Parameters

NameTypeRequiredDescription
fileFileRequiredPDF-bestand om te converteren
formatstringOptionalAfbeeldingsformaat: "png", "jpg" of "webp". Standaard: "png"
dpinumberOptionalResolutie in DPI. Standaard: 150
Response:ZIP-bestand met afbeeldingen
bash
curl -X POST https://freefiletools.io/api/pdf-to-image \
  -H "x-api-key: fft_your_api_key" \
  -F "[email protected]" \
  -F "format=png" \
  -F "dpi=300" \
  -o pages.zip

PDF naar Excel

POST/api/pdf-to-excel

Converteer een PDF-bestand naar een Microsoft Excel (.xlsx)-spreadsheet. Werkt het beste met PDF's die tabelgegevens bevatten.

Parameters

NameTypeRequiredDescription
fileFileRequiredPDF-bestand om te converteren
Response:XLSX-bestand
bash
curl -X POST https://freefiletools.io/api/pdf-to-excel \
  -H "x-api-key: fft_your_api_key" \
  -F "[email protected]" \
  -o document.xlsx

PDF naar PowerPoint

POST/api/pdf-to-ppt

Converteer een PDF-bestand naar een Microsoft PowerPoint (.pptx)-presentatie.

Parameters

NameTypeRequiredDescription
fileFileRequiredPDF-bestand om te converteren
Response:PPTX-bestand
bash
curl -X POST https://freefiletools.io/api/pdf-to-ppt \
  -H "x-api-key: fft_your_api_key" \
  -F "[email protected]" \
  -o presentation.pptx

Word naar PDF

POST/api/word-to-pdf

Converteer een Microsoft Word (.docx)-document naar PDF.

Parameters

NameTypeRequiredDescription
fileFileRequired.docx-bestand om te converteren
Response:PDF-bestand
bash
curl -X POST https://freefiletools.io/api/word-to-pdf \
  -H "x-api-key: fft_your_api_key" \
  -F "[email protected]" \
  -o document.pdf

PowerPoint naar PDF

POST/api/ppt-to-pdf

Converteer een Microsoft PowerPoint (.pptx)-presentatie naar PDF.

Parameters

NameTypeRequiredDescription
fileFileRequired.pptx-bestand om te converteren
Response:PDF-bestand
bash
curl -X POST https://freefiletools.io/api/ppt-to-pdf \
  -H "x-api-key: fft_your_api_key" \
  -F "[email protected]" \
  -o presentation.pdf

Excel naar PDF

POST/api/excel-to-pdf

Converteer een Microsoft Excel (.xlsx)-spreadsheet naar PDF.

Parameters

NameTypeRequiredDescription
fileFileRequired.xlsx-bestand om te converteren
Response:PDF-bestand
bash
curl -X POST https://freefiletools.io/api/excel-to-pdf \
  -H "x-api-key: fft_your_api_key" \
  -F "[email protected]" \
  -o spreadsheet.pdf

PDF beveiligen

POST/api/protect-pdf

Beveilig een PDF-bestand met een wachtwoord. Het resulterende PDF-bestand vereist een wachtwoord om te openen.

Parameters

NameTypeRequiredDescription
fileFileRequiredPDF-bestand om te beveiligen
passwordstringRequiredWachtwoord om in te stellen op het PDF-bestand
Response:Met wachtwoord beveiligd PDF-bestand
bash
curl -X POST https://freefiletools.io/api/protect-pdf \
  -H "x-api-key: fft_your_api_key" \
  -F "[email protected]" \
  -F "password=mysecretpassword" \
  -o protected.pdf

PDF ontgrendelen

POST/api/unlock-pdf

Verwijder wachtwoordbeveiliging van een PDF-bestand. Vereist het huidige wachtwoord.

Parameters

NameTypeRequiredDescription
fileFileRequiredMet wachtwoord beveiligd PDF-bestand
passwordstringRequiredHuidig wachtwoord van het PDF-bestand
Response:Ontgrendeld PDF-bestand
bash
curl -X POST https://freefiletools.io/api/unlock-pdf \
  -H "x-api-key: fft_your_api_key" \
  -F "[email protected]" \
  -F "password=mysecretpassword" \
  -o unlocked.pdf

PDF roteren

POST/api/rotate-pdf

Roteer alle pagina's van een PDF-bestand met een opgegeven hoek.

Parameters

NameTypeRequiredDescription
fileFileRequiredPDF-bestand om te roteren
anglenumberRequiredRotatiehoek: 90, 180 of 270 graden
Response:Geroteerd PDF-bestand
bash
curl -X POST https://freefiletools.io/api/rotate-pdf \
  -H "x-api-key: fft_your_api_key" \
  -F "[email protected]" \
  -F "angle=90" \
  -o rotated.pdf

PDF-watermerk

POST/api/watermark-pdf

Voeg een tekstwatermerk toe aan alle pagina's van een PDF-bestand.

Parameters

NameTypeRequiredDescription
fileFileRequiredPDF-bestand om een watermerk aan toe te voegen
textstringRequiredToe te voegen watermerktekst
Response:PDF-bestand met watermerk
bash
curl -X POST https://freefiletools.io/api/watermark-pdf \
  -H "x-api-key: fft_your_api_key" \
  -F "[email protected]" \
  -F "text=CONFIDENTIAL" \
  -o watermarked.pdf

OCR PDF

POST/api/ocr-pdf

Pas optische tekenherkenning (OCR) toe op een gescand PDF-bestand, waardoor de tekst selecteerbaar en doorzoekbaar wordt. Gebruikt de Tesseract OCR-engine.

Parameters

NameTypeRequiredDescription
fileFileRequiredGescand PDF-bestand
languagestringOptionalOCR-taal: "eng" (Engels), "tur" (Turks), "deu" (Duits), enz. Standaard: "eng"
Response:Doorzoekbaar PDF-bestand
bash
curl -X POST https://freefiletools.io/api/ocr-pdf \
  -H "x-api-key: fft_your_api_key" \
  -F "[email protected]" \
  -F "language=eng" \
  -o searchable.pdf

PDF repareren

POST/api/repair-pdf

Probeer een beschadigd PDF-bestand te repareren.

Parameters

NameTypeRequiredDescription
fileFileRequiredBeschadigd PDF-bestand
Response:Gerepareerd PDF-bestand
bash
curl -X POST https://freefiletools.io/api/repair-pdf \
  -H "x-api-key: fft_your_api_key" \
  -F "[email protected]" \
  -o repaired.pdf

PDF bijsnijden

POST/api/crop-pdf

Snijd alle pagina's van een PDF-bestand bij, verwijder witruimte of trim naar een specifiek gebied.

Parameters

NameTypeRequiredDescription
fileFileRequiredPDF-bestand om bij te snijden
Response:Bijgesneden PDF-bestand
bash
curl -X POST https://freefiletools.io/api/crop-pdf \
  -H "x-api-key: fft_your_api_key" \
  -F "[email protected]" \
  -o cropped.pdf

Paginanummers toevoegen

POST/api/page-numbers

Voeg paginanummers toe aan alle pagina's van een PDF-bestand.

Parameters

NameTypeRequiredDescription
fileFileRequiredPDF-bestand
Response:PDF-bestand met paginanummers
bash
curl -X POST https://freefiletools.io/api/page-numbers \
  -H "x-api-key: fft_your_api_key" \
  -F "[email protected]" \
  -o numbered.pdf

Afbeelding naar PDF

POST/api/img-to-pdf

Converteer een of meer afbeeldingen naar een PDF-bestand. Elke afbeelding wordt een pagina.

Parameters

NameTypeRequiredDescription
filesFile[]RequiredAfbeeldingsbestanden (JPG, PNG, WebP)
Response:PDF-bestand
bash
curl -X POST https://freefiletools.io/api/img-to-pdf \
  -H "x-api-key: fft_your_api_key" \
  -F "[email protected]" \
  -F "[email protected]" \
  -F "[email protected]" \
  -o images.pdf

PDF naar PDF/A

POST/api/pdf-to-pdfa

Converteer een PDF-bestand naar PDF/A-formaat voor langetermijnarchivering. Gebruikt Ghostscript voor conversie.

Parameters

NameTypeRequiredDescription
fileFileRequiredPDF-bestand om te converteren
Response:PDF/A-bestand
bash
curl -X POST https://freefiletools.io/api/pdf-to-pdfa \
  -H "x-api-key: fft_your_api_key" \
  -F "[email protected]" \
  -o document-pdfa.pdf