PDFDancer API

Edit PDFs programmatically. Text, fonts, images, pages — all preserved.

API Status: Operational

What is PDFDancer?

A REST API for editing existing PDFs. Find and replace text, swap images, manipulate pages, and generate documents — without destroying formatting or fonts.

<300ms
Median response time
99.9%
Uptime SLA
1M+
Operations processed

Start in 30 Seconds

Select text by content, edit it, and save. Fonts, spacing, layout — all preserved.

import { PDFDancer } from 'pdfdancer-client-typescript';

const pdf = await PDFDancer.open('input.pdf');
const page = pdf.page(1);
const heading = await page.selectParagraphStartingWith('Executive Summary');

await heading.edit().replace('Overview').apply();

await pdf.save('output.pdf');
from pdfdancer import PDFDancer

with PDFDancer.open("input.pdf") as pdf:
    heading = pdf.page(1).select_paragraph_starting_with("Executive Summary")

    heading.edit().replace("Overview").apply()

    pdf.save("output.pdf")
import com.pdfdancer.client.rest.PDFDancer;

PDFDancer pdf = PDFDancer.createSession(new File("input.pdf"));
TextParagraphReference heading = pdf.page(1)
    .selectParagraphStartingWith("Executive Summary");

heading.edit().replace("Overview").apply();

pdf.save("output.pdf");

API Capabilities

Everything you need to work with PDFs at scale.

Text Editing

Find and replace text while preserving fonts, sizes, and positioning. Supports regex patterns.

Page Operations

Split, merge, rotate, reorder, and extract pages. Combine multiple PDFs into one.

Images & Objects

Replace images, add watermarks, and manipulate embedded objects without re-rendering.

Document Generation

Use PDF templates to generate personalized documents at scale with variable data.

🔍

OCR

Extract text from scanned PDFs and images. Make documents searchable and editable.

🔒

ML Redaction

Automatically detect and redact sensitive information like PII, SSNs, and financial data.

Authentication & Security

Enterprise-grade security for your documents.

Authentication

Authenticate using Bearer tokens. Get your API key from the dashboard.

# Include in every request
Authorization: Bearer YOUR_API_KEY

Security Features

  • AES-256 encryption at rest
  • HTTPS/TLS for all connections
  • EU data storage (Helsinki)
  • Automatic file deletion after processing

Resources

Everything you need to integrate PDFDancer.

Pricing

Start free. Scale when you're ready.

Free

$0
forever
200 pages / month
All API endpoints
Community support
Get Started

Enterprise

Custom
contact us
Unlimited pages
Dedicated infrastructure
SLA & onboarding
Contact Sales