PDF Autofiller

Fill AcroForm PDFs from JSON. Common field names match by alias. The model stays off unless an API key is set. MIT licensed.

pdf · acroform · fastapi · python · automation · docker · w9 · govtech

PDF Autofiller banner
Try free in Codespaces View on GitHub Star on GitHub

No install, no credit card. Codespaces opens the playground at /playground automatically. Local: docker compose up --build → http://localhost:8000/playground.

Docker Compose

docker compose up --build
# playground + /inspect + sample PDF

Docker (one command)

docker run -p 8000:8000 \
  -e API_AUTH_ENABLED=false \
  ghcr.io/lindseystead/ai-pdf-autofiller:latest

Python SDK

from pdf_autofiller import fill
fill("form.pdf", {"firstname": "Jane"}, "filled.pdf")

Inspect → fill

curl -X POST localhost:8000/inspect \
  -F pdf_file=@form.pdf
curl -X POST localhost:8000/fill \
  -F pdf_file=@form.pdf \
  -F 'user_data={"firstname":"Jane"}' \
  -o filled.pdf