Edit PDFs programmatically. Text, fonts, images, pages — all preserved.
A REST API for editing existing PDFs. Find and replace text, swap images, manipulate pages, and generate documents — without destroying formatting or fonts.
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");
Everything you need to work with PDFs at scale.
Find and replace text while preserving fonts, sizes, and positioning. Supports regex patterns.
Split, merge, rotate, reorder, and extract pages. Combine multiple PDFs into one.
Replace images, add watermarks, and manipulate embedded objects without re-rendering.
Use PDF templates to generate personalized documents at scale with variable data.
Extract text from scanned PDFs and images. Make documents searchable and editable.
Automatically detect and redact sensitive information like PII, SSNs, and financial data.
Enterprise-grade security for your documents.
Authenticate using Bearer tokens. Get your API key from the dashboard.
# Include in every request Authorization: Bearer YOUR_API_KEY
Everything you need to integrate PDFDancer.
Start free. Scale when you're ready.