Stop filling out the same PDF over and over again.
Sick of the PDF Edit PITA? Me too.
PDF Mapper turns your static, flat PDF documents into dynamic, data-driven templates.
- Map Once: Draw fields on your PDF visually.
- Generate Infinitely: Feed it JSON data to create perfect, filled PDFs instantly.
- Save Your Work: Export your mapping as a lightweight JSON template.
Unlike other "AI PDF" tools, no AI is used to process your documents.
- Deterministic Processing: All data injection and PDF creation is done purely with code (
pdf-lib) in your browser. - Your Data Stays Local: Your PDFs and data never touch a server or an LLM. Data is processed in your machine's RAM and disappears when you close the tab.
- Zero AI Hallucinations: Because there is no AI in the core generation engine, the data goes exactly where you map it—every time.
Unlike standard PDF editors where you just "type text," PDF Mapper assigns a unique JSON key (e.g., patient_diagnosis, billing_id) to every box you draw.
This means your PDF is no longer a document—it's an API Endpoint.
Because every field relies on structured JSON data, PDF Mapper becomes a powerful endpoint for your automation tools.
- Trigger: A typeform submission, Google Sheet row, or CRM update.
- Process: n8n formats the data into your template's JSON schema.
- Action: Generate standardized invoices, contracts, or applications instantly.
- Input: Unstructured emails or meeting transcripts.
- Analysis: LLM (ChatGPT/Claude) extracts key entities (names, dates, clauses).
- Output: JSON that fills strict government or corporate PDF forms automatically.
- Scenario: Listen to a patient visit -> Extract discrete clinical data -> Generate reliable insurance authorization forms.
This tool bridges the gap between unstructured AI intelligence and rigid document requirements.
- Framework: Next.js 14 (App Router)
- Styling: Tailwind CSS
- PDF Engine: pdf-lib (Client-side generation)
- State Management: Zustand
- Client-Side Visual Mapping
- Live Preview & Generation
- Form & JSON Input Modes
- Python API Service: A dedicated backend service to allow AI Agents (like ChatGPT/Gemini) to "call" this tool as an API function to generate PDFs programmatically without a UI.
We've included test files in the test_files/ directory so you can experience the full workflow immediately:
- Upload PDF: Use
test_files/CO-NHP-psychological-nuero-testing-auth-request-form.pdf. - Import Template: Click Import Template and select
test_files/greyrock-layout-updated.json.- You will see dozens of fields instantly mapped onto the document.
- Generate: Click Generate PDF, switch to JSON View, and paste the content of
test_files/mockdata.json. - Result: Watch the PDF fill automatically with complex, real-world data.
-
Upload: Select your blank PDF.
-
Map: Draw boxes. Each box represents a discrete data field in your future JSON.
-
Generate: Provide the data.
-
Form View: Use the auto-generated form for quick, granular edits.
-
JSON View: Switch to JSON mode to paste entire datasets or API payloads.
The PDF preview updates automatically in real-time.
-
-
Download: Get your flattened, production-ready PDF.



