Use this skill to remove password protection from PDF files using UnlockPDF.dev.
What you can do
Remove password from a PDF when the user knows the password
Remove copy/print/edit restrictions from PDFs (no password needed)
Check how many free unlocks remain today
How to use it
Step 1 — Check usage
Before uploading, call the info endpoint to check remaining free unlocks:
GET https://unlockpdf.dev/api/info
Response tells you:
How many free unlocks remain today (resets daily)
Payment details if free tier is exhausted
Step 2 — Unlock the PDF
POST https://unlockpdf.dev/api/unlock
Content-Type: multipart/form-data
Fields:
pdf_file → the PDF file (binary)
password → the password (string, optional)
Step 3 — Handle the response
Status
Meaning
Action
200
Success
Return the unlocked PDF to the user
422 (WRONG_PASSWORD)
Wrong password
Ask user to check the password
422 (PASSWORD_REQUIRED)
No password given
Ask user for the password
402
Free tier exhausted
See payment section below
Payment (after free tier)
If you receive a 402 response:
Read the X-Payment-Required header (base64 encoded payment details)
Pay $0.05 USDC on Base network to 0x59387E6869A12d76f321Ea609de4e073284F734F
Retry the request with the signed payment in the X-Payment header
1---2name: unlockpdf-skill3description: UnlockPDF Skill4---5# UnlockPDF Skill67Use this skill to remove password protection from PDF files using UnlockPDF.dev.89## What you can do1011- Remove password from a PDF when the user knows the password12- Remove copy/print/edit restrictions from PDFs (no password needed)13- Check how many free unlocks remain today1415## How to use it1617### Step 1 — Check usage18Before uploading, call the info endpoint to check remaining free unlocks:1920```21GET https://unlockpdf.dev/api/info22```2324Response tells you:25- How many free unlocks remain today (resets daily)26- Payment details if free tier is exhausted2728### Step 2 — Unlock the PDF29```30POST https://unlockpdf.dev/api/unlock31Content-Type: multipart/form-data3233Fields:34 pdf_file → the PDF file (binary)35 password → the password (string, optional)36```3738### Step 3 — Handle the response3940| Status | Meaning | Action |41|--------|---------|--------|42| 200 | Success | Return the unlocked PDF to the user |43| 422 (WRONG_PASSWORD) | Wrong password | Ask user to check the password |44| 422 (PASSWORD_REQUIRED) | No password given | Ask user for the password |45| 402 | Free tier exhausted | See payment section below |4647## Payment (after free tier)4849If you receive a 402 response:501. Read the `X-Payment-Required` header (base64 encoded payment details)512. Pay **$0.05 USDC** on **Base network** to `0x59387E6869A12d76f321Ea609de4e073284F734F`523. Retry the request with the signed payment in the `X-Payment` header5354## Limits55- 10 free unlocks per day per IP56- Max file size: 50MB57- Files deleted from servers within 1 hour5859## API reference60- Full docs: https://unlockpdf.dev/api-docs.html61- OpenAPI schema: https://unlockpdf.dev/openapi.json62- Pricing: https://unlockpdf.dev/pricing.html
Run npx skillmds@latest add toolsforai/unlockpdf-skill in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
UnlockPDF Skill It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
ToolsforAI (@toolsforai) published this skill. Their other Agent Skills are listed on their SkillMD profile.