PDF Form Text Replace
Find and replace text inside fillable PDF form fields with a single command.
Docs & OfficeBeginner★ 883⑂ 41AI score 9/10Last updated: Aug 13, 2026
What it does
- Scans every form field in a fillable PDF, finds the search string, and writes the replacement value.
- Saves a new PDF that keeps the form fields intact (not flattened) and reports how many fields changed.
- Surfaces clear errors for missing input files, PDFs without form fields, missing search text, or unwritable output paths.
Who it's for
- Office and admin staff who repeatedly update names, addresses, or dates in PDF forms
- Back-office teams doing batch updates of form values
- Developers building pypdf-based document automation
Examples
- Change "MANISH KUMAR" to "MANNU KUMAR" in tax form f5472.pdf
- Swap an old address for a new one across a set of application PDFs after a move
- Refresh dates and reference numbers in a quotation template
Caveat: scanned/image PDFs, flattened PDFs, and static page text outside form fields are not supported.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/instavm/coderunner/HEAD/skills/public/pdf-text-replace/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/public/pdf-text-replace folder from the GitHub repo instavm/coderunner into my ~/.claude/skills/pdf-text-replace/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/instavm/coderunner.git /tmp/coderunner && mkdir -p ~/.claude/skills && cp -r /tmp/coderunner/skills/public/pdf-text-replace ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repo:
git clone https://github.com/instavm/coderunner.git /tmp/coderunner - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r /tmp/coderunner/skills/public/pdf-text-replace ~/.claude/skills/ - Install the dependency:
pip install pypdf(Python 3.7+). - Restart Claude Code and ask something like "replace the name in this PDF form".
- The SKILL.md examples use container paths (
/app/uploads/...); locally use~/.claude/skills/pdf-text-replace/scripts/replace_text_in_pdf.pyplus your real PDF paths.
View source on GitHub ↗License: Apache-2.0