A REST endpoint for every document operation.
One consistent HTTP API for every document operation. Authenticate with an API key and call it from any language or runtime.
Send a document, get one back.
- Consistent shape. Every action takes a base64 document and JSON options, and returns the processed file.
- Any language. Plain HTTPS with an API key header. No SDK required, though libraries exist.
- Async ready. Long jobs return a status URL you can poll until the result is ready.
curl -X POST https://api.pdf4me.com/api/v2/ConvertToPdf \
-H "Authorization: Basic YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"docContent": "<base64 file>",
"docName": "input.docx"
}'15 categories, 100+ endpoints.
Open a category to see its endpoints, each with a description and a link to the docs.
Convert
Move between formats
Turn Word, Excel, PowerPoint, HTML, Markdown, images and 50+ formats into PDF, and PDFs back into editable documents. Create archival PDF/A, flatten or linearize for the web.
Edit
Change a finished PDF
Change a finished PDF without the source file: add headers, footers and page numbers, apply signatures, stamps and watermarks, adjust margins or embed attachments.
Merge & Split
Combine and separate
Combine documents into one file or overlay them, then split by page range, page count, text pattern, barcode or Swiss QR marker.
Optimize
Shrink and speed up
Reduce PDF file size with configurable compression while keeping the document readable and print-ready.
Organize
Reorder and clean up pages
Reorder and clean up pages: remove blank or specific pages, extract a subset into a new document, and rotate whole documents or single pages.
Barcode
Barcodes, QR and Swiss QR
Add, read and create barcodes and QR codes: embed 50+ barcode types into PDFs, decode them back out, generate standalone codes, and handle Swiss QR payment bills end to end.
Forms
Fill and build PDF forms
Populate AcroForm fields from JSON and add interactive text boxes, checkboxes, radio buttons and dropdowns to any PDF.
Extract
Pull data out of documents
Pull structured content out of documents without AI: form data, text by expression, tables, embedded resources and attachments.
Find & Search
OCR, find and replace
Make scanned PDFs searchable with OCR and find and replace text patterns across a document.
Generate
Documents from templates
Merge Word or HTML templates with your data to produce PDFs or Word files, one at a time or in bulk, with full track-changes support.
Security
Protect and unlock
Add password protection and permission restrictions, or remove protection with the owner password.
PDF Operations
Inspect and repair PDFs
Read a PDF's metadata and structure, and repair corrupted or malformed documents.
Image Operations
Work with image files
Compress, convert, OCR, watermark, crop, resize and rotate images, and read or strip EXIF and metadata.
Excel Operations
Automate spreadsheets
Automate spreadsheets: merge files, add, update and delete rows, manage worksheets, watermark, secure and parse CSV.
Word Operations
Automate Word documents
Automate Word documents: merge, split, compare, replace text, watermark, secure, delete pages and refresh the table of contents.
Get your documents done.
Build it into your product with the API, automate it with no code, or use the free tools in your browser. No credit card to begin.
curl -X POST https://api.pdf4me.com/v1/ConvertToPdfFree tier · No credit card required