PDF REST API
Automate the document work your team does by hand: turn incoming files into clean, searchable, standard PDFs inside your own product.
Merge, split, compress, convert, OCR, protect and summarize PDFs with 24 production-ready tools.
Convert, optimize, organize and sign documents with a few lines of code. PDF, image and eSignature APIs built on the same technology that powers iLovePDF and iLoveIMG.
2,500 free credits every month. No credit card required.
Pick the API you need today and add the others with the same account, keys and credit balance.
Automate the document work your team does by hand: turn incoming files into clean, searchable, standard PDFs inside your own product.
Merge, split, compress, convert, OCR, protect and summarize PDFs with 24 production-ready tools.
Prepare product and content images at scale: consistent sizes, clean backgrounds and lighter pages, with no manual editing.
Compress, resize, convert, upscale and remove backgrounds, including AI models, with 11 image tools.
Close contracts faster: send, sign and archive legally binding documents from your own app, with a full audit trail.
Legally binding, eIDAS-compliant e-signatures with audit trails, signing order and SMS verification.
Documents are converted, compressed, signed and filed automatically, not by your team.
Work that took hours of opening, converting and sending files is done in seconds.
Nothing to install, host or maintain. We run and scale the servers; you just call the API.
Built into your own app, ERP or CRM, or connected without code through Zapier, Make or Power Automate.
Made in Europe, ISO 27001 certified and GDPR compliant. Files are deleted automatically after processing.
Chain tools across the PDF, Image and Signature APIs without re-uploading files, and get notified by webhook when each step is done.
officepdfPDF REST APImergePDF REST APIpdfaPDF REST APIsignatureSignature REST APIpdfocrPDF REST APIsplitsmartPDF REST APIcompressPDF REST APIimagepdfPDF REST APIpagenumberPDF REST APIremovebackgroundimageImage REST APIresizeimageImage REST APIpdfocrPDF REST APIpdfmarkdownPDF REST APIsummarizePDF REST APIGive AI agents the same document tools your code uses. Connect any MCP-compatible client to the iLoveAPI MCP server, or call the REST API directly.
Add https://mcp.ilovepdf.com/mcp to your AI client and sign in. Agents can compress, merge, split, convert, OCR and watermark documents.
Convert PDFs to structured Markdown for RAG and agent workflows, from the API or the MCP server.
The full API reference as Markdown and llms.txt for coding assistants.
Deterministic by design. Every tool returns the same output for the same input, so agents get predictable, repeatable results. The only exceptions are the tools that rely on specific AI models: Translate PDF, AI Summarize and Smart Split.
Start, upload, process, download. Same pattern for PDF, image and signature.
$ilovepdf = new Ilovepdf('project_public_id', 'project_secret_key');
// 1. Start a task
$task = $ilovepdf->newTask('officepdf');
// 2. Upload from disk or URL
$task->addFile('contract.docx');
// 3. Process, 4. Download
$task->execute();
$task->download();
const ILovePDFApi = require('@ilovepdf/ilovepdf-nodejs');
const instance = new ILovePDFApi('project_public_id', 'project_secret_key');
const task = instance.newTask('officepdf');
await task.start();
await task.addFile('https://example.com/contract.docx');
await task.process();
const data = await task.download();
var api = new iLovePdfApi("project_public_id", "project_secret_key");
var task = api.CreateTask<OfficeToPdfTask>();
task.AddFile("contract.docx");
task.Process();
task.DownloadFile("output");
api = Ilovepdf::Ilovepdf.new('project_public_id', 'project_secret_key')
task = api.new_task :officepdf
task.add_file 'contract.docx'
task.execute
task.download
from ilovepdf import OfficePdfTask
task = OfficePdfTask(public_key="project_public_id", secret_key="project_secret_key")
task.add_file("contract.docx")
task.execute()
task.download("output")
# 1. Start
curl -H "Authorization: Bearer $TOKEN" https://api.ilovepdf.com/v1/start/officepdf
# 2. Upload
curl -H "Authorization: Bearer $TOKEN" -F task=$TASK -F file=@contract.docx https://$SERVER/v1/upload
# 3. Process
curl -H "Authorization: Bearer $TOKEN" -d '{"task":"'$TASK'","tool":"officepdf","files":[...]}' https://$SERVER/v1/process
# 4. Download
curl -H "Authorization: Bearer $TOKEN" -o result.pdf https://$SERVER/v1/download/$TASK
Pick one of 8 regions for PDF tools to cut latency and meet data residency rules.
Connect iLoveAPI to the automation platforms and CMS your team already uses.
Prepare, sign and archive contracts with an audit trail.
OCR and compress invoices, statements and receipts.
Generate, merge and sign offer letters and onboarding packs.
Convert, number and protect coursework at scale.
Optimize product images and generate PDF catalogs.
Add document features to your product or feed your models with clean data.
20 million images and PDFs processed every day.
An active member of the PDF Association.
Direct help from the team that builds the API.
A document API platform with PDF, image and eSignature REST APIs. Developers use it to convert, optimize, organize and sign documents inside their own applications, using the technology behind iLovePDF and iLoveIMG.
The PDF REST API (24 tools), the Image REST API (11 tools) and the Signature REST API for legally binding e-signatures.
Yes. Every account gets 2,500 free credits per month, with no credit card required. Free credits cover every PDF and image tool except the AI PDF tools, and they cannot be used for signature requests, which need a plan or package with signatures.
All APIs use one credit system. Choose a subscription, prepaid packages that never expire, or custom volumes. Only successfully processed files are charged.
Official SDKs are available for PHP, Node.js, .NET, Ruby and Python, and the REST API works with any language.
Yes. Chain tasks into one workflow without uploading files again, and get a webhook when each step is done.
iLoveAPI is ISO/IEC 27001:2022 certified and GDPR compliant, encrypts files in transit and deletes them automatically after processing.
PDF tools can run in the EU, US, Canada, France, Germany, Poland, India or Singapore.
Yes. PDF to Markdown, AI Summarize, Smart Split and OCR turn documents into structured content for language models and RAG pipelines.
Yes, through Zapier, Make, Power Automate, WordPress, Odoo and n8n.