API Documentation
Build the future of Private PDF apps.
PDFexy provides a powerful, 100% client-side API for document processing. Integrate industrial-grade merging, splitting, and encryption into your own apps without ever touching a server.
Zero Server
Files never leave your users' devices. Perfect for HIPAA/GDPR compliance.
WASM Speed
Heavy processing is handled by optimized WebAssembly binaries.
Infinite Scale
The API scale is limited only by your users' browser power.
The Embed API
v1.2.0The fastest way to add PDF tools to your site. Use our hosted components via a single script tag and listen for completion events.
<!-- Add to your <head> -->
<script src="https://pdfexy.com/sdk/v1/embed.js"></script>
<!-- Initialize the tool -->
<div id="pdfexy-container"></div>
<script>
const pdfexy = new PDFexy.Embed({
container: '#pdfexy-container',
tool: 'merge',
theme: 'dark',
onComplete: (blob) => {
console.log('PDF Processed Locally:', blob);
}
});
</script>Tool Reference
| Slug | Description | Output |
|---|---|---|
| merge | Combines multiple PDFs | Blob (application/pdf) |
| protect | Adds AES-256 encryption | Blob (application/pdf) |
| ocr | Runs Tesseract.js on images | Searchable PDF |
Ready to scale your document stack?
Join 500+ developers building with PDFexy. Get access to our private beta for the Post-Quantum encryption API.