API strumenti PDF
Endpoint per unire, dividere, comprimere, convertire, proteggere e manipolare file PDF. Tutti gli endpoint accettano multipart/form-data e restituiscono il file elaborato come download binario.
Unisci PDF
/api/pdf-mergeUnisci piu file PDF in un singolo documento PDF. I file vengono uniti nell'ordine in cui vengono caricati.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
files | File[] | Required | Piu file PDF da unire |
File PDF unitocurl -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.pdfDividi PDF
/api/pdf-splitDividi un file PDF in piu parti basandoti sugli intervalli di pagine. Restituisce un file ZIP contenente i PDF divisi.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
file | File | Required | File PDF da dividere |
ranges | string | Required | Intervalli di pagine, es. "1-3,5,7-9". Ogni intervallo diventa un PDF separato. |
File ZIP contenente i PDF divisicurl -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.zipComprimi PDF
/api/pdf-compressComprimi un file PDF per ridurne la dimensione. Usa Ghostscript per una compressione di alta qualita.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
file | File | Required | File PDF da comprimere |
level | string | Optional | Livello di compressione: "low", "medium" o "high". Predefinito: "medium" |
File PDF compressocurl -X POST https://freefiletools.io/api/pdf-compress \
-H "x-api-key: fft_your_api_key" \
-F "[email protected]" \
-F "level=high" \
-o compressed.pdfPDF a Word
/api/pdf-to-wordConverti un file PDF in un documento Microsoft Word (.docx).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
file | File | Required | File PDF da convertire |
File DOCXcurl -X POST https://freefiletools.io/api/pdf-to-word \
-H "x-api-key: fft_your_api_key" \
-F "[email protected]" \
-o document.docxPDF a immagine
/api/pdf-to-imageConverti le pagine PDF in immagini. Restituisce un file ZIP contenente un'immagine per pagina.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
file | File | Required | File PDF da convertire |
format | string | Optional | Formato immagine: "png", "jpg" o "webp". Predefinito: "png" |
dpi | number | Optional | Risoluzione in DPI. Predefinito: 150 |
File ZIP contenente immaginicurl -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.zipPDF a Excel
/api/pdf-to-excelConverti un file PDF in un foglio di calcolo Microsoft Excel (.xlsx). Funziona meglio con PDF contenenti dati tabulari.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
file | File | Required | File PDF da convertire |
File XLSXcurl -X POST https://freefiletools.io/api/pdf-to-excel \
-H "x-api-key: fft_your_api_key" \
-F "[email protected]" \
-o document.xlsxPDF a PowerPoint
/api/pdf-to-pptConverti un file PDF in una presentazione Microsoft PowerPoint (.pptx).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
file | File | Required | File PDF da convertire |
File PPTXcurl -X POST https://freefiletools.io/api/pdf-to-ppt \
-H "x-api-key: fft_your_api_key" \
-F "[email protected]" \
-o presentation.pptxWord a PDF
/api/word-to-pdfConverti un documento Microsoft Word (.docx) in PDF.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
file | File | Required | File .docx da convertire |
File PDFcurl -X POST https://freefiletools.io/api/word-to-pdf \
-H "x-api-key: fft_your_api_key" \
-F "[email protected]" \
-o document.pdfPowerPoint a PDF
/api/ppt-to-pdfConverti una presentazione Microsoft PowerPoint (.pptx) in PDF.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
file | File | Required | File .pptx da convertire |
File PDFcurl -X POST https://freefiletools.io/api/ppt-to-pdf \
-H "x-api-key: fft_your_api_key" \
-F "[email protected]" \
-o presentation.pdfExcel a PDF
/api/excel-to-pdfConverti un foglio di calcolo Microsoft Excel (.xlsx) in PDF.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
file | File | Required | File .xlsx da convertire |
File PDFcurl -X POST https://freefiletools.io/api/excel-to-pdf \
-H "x-api-key: fft_your_api_key" \
-F "[email protected]" \
-o spreadsheet.pdfProteggi PDF
/api/protect-pdfProteggi un file PDF con password. Il PDF risultante richiedera una password per essere aperto.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
file | File | Required | File PDF da proteggere |
password | string | Required | Password da impostare sul PDF |
File PDF protetto da passwordcurl -X POST https://freefiletools.io/api/protect-pdf \
-H "x-api-key: fft_your_api_key" \
-F "[email protected]" \
-F "password=mysecretpassword" \
-o protected.pdfSblocca PDF
/api/unlock-pdfRimuovi la protezione con password da un file PDF. Richiede la password attuale.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
file | File | Required | File PDF protetto da password |
password | string | Required | Password attuale del PDF |
File PDF sbloccatocurl -X POST https://freefiletools.io/api/unlock-pdf \
-H "x-api-key: fft_your_api_key" \
-F "[email protected]" \
-F "password=mysecretpassword" \
-o unlocked.pdfRuota PDF
/api/rotate-pdfRuota tutte le pagine di un file PDF di un angolo specificato.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
file | File | Required | File PDF da ruotare |
angle | number | Required | Angolo di rotazione: 90, 180 o 270 gradi |
File PDF ruotatocurl -X POST https://freefiletools.io/api/rotate-pdf \
-H "x-api-key: fft_your_api_key" \
-F "[email protected]" \
-F "angle=90" \
-o rotated.pdfFiligrana su PDF
/api/watermark-pdfAggiungi una filigrana testuale a tutte le pagine di un file PDF.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
file | File | Required | File PDF per la filigrana |
text | string | Required | Testo della filigrana da aggiungere |
File PDF con filigranacurl -X POST https://freefiletools.io/api/watermark-pdf \
-H "x-api-key: fft_your_api_key" \
-F "[email protected]" \
-F "text=CONFIDENTIAL" \
-o watermarked.pdfOCR PDF
/api/ocr-pdfApplica il Riconoscimento Ottico dei Caratteri (OCR) a un PDF scansionato, rendendo il testo selezionabile e ricercabile. Utilizza il motore OCR Tesseract.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
file | File | Required | File PDF scansionato |
language | string | Optional | Lingua OCR: "eng" (inglese), "tur" (turco), "deu" (tedesco), ecc. Predefinito: "eng" |
File PDF ricercabilecurl -X POST https://freefiletools.io/api/ocr-pdf \
-H "x-api-key: fft_your_api_key" \
-F "[email protected]" \
-F "language=eng" \
-o searchable.pdfRipara PDF
/api/repair-pdfTenta di riparare un file PDF corrotto o danneggiato.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
file | File | Required | File PDF corrotto |
File PDF riparatocurl -X POST https://freefiletools.io/api/repair-pdf \
-H "x-api-key: fft_your_api_key" \
-F "[email protected]" \
-o repaired.pdfRitaglia PDF
/api/crop-pdfRitaglia tutte le pagine di un file PDF, rimuovendo gli spazi bianchi o tagliando a un'area specifica.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
file | File | Required | File PDF da ritagliare |
File PDF ritagliatocurl -X POST https://freefiletools.io/api/crop-pdf \
-H "x-api-key: fft_your_api_key" \
-F "[email protected]" \
-o cropped.pdfAggiungi numeri di pagina
/api/page-numbersAggiungi numeri di pagina a tutte le pagine di un file PDF.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
file | File | Required | File PDF |
File PDF con numeri di paginacurl -X POST https://freefiletools.io/api/page-numbers \
-H "x-api-key: fft_your_api_key" \
-F "[email protected]" \
-o numbered.pdfImmagine a PDF
/api/img-to-pdfConverti una o piu immagini in un file PDF. Ogni immagine diventa una pagina.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
files | File[] | Required | File immagine (JPG, PNG, WebP) |
File PDFcurl -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.pdfPDF a PDF/A
/api/pdf-to-pdfaConverti un file PDF nel formato PDF/A per l'archiviazione a lungo termine. Usa Ghostscript per la conversione.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
file | File | Required | File PDF da convertire |
File PDF/Acurl -X POST https://freefiletools.io/api/pdf-to-pdfa \
-H "x-api-key: fft_your_api_key" \
-F "[email protected]" \
-o document-pdfa.pdf