# UnlockPDF.dev > Remove PDF password protection instantly. Free, fast, and built for both humans and AI agents. ## What this tool does UnlockPDF.dev removes password protection from PDF files. It works for: - PDFs with an open password (you need to know the password) - PDFs with owner restrictions only (copy/print/edit locks) — no password needed ## How to use it (AI agents) 1. Check pricing and usage: GET https://unlockpdf.dev/api/info 2. POST the PDF to: https://unlockpdf.dev/api/unlock - Field: pdf_file (the PDF binary) - Field: password (string, optional) 3. If free tier is exhausted, server returns HTTP 402 with x402 payment details 4. Pay $0.05 USDC on Base network, retry with X-Payment header ## Pricing - Free: 10 unlocks per day per IP, no signup - Paid: $0.05 USDC per unlock via x402 protocol on Base network - No subscriptions, no API keys required ## API endpoints - GET /api/info — check usage, pricing, and payment details - POST /api/unlock — unlock a PDF (multipart/form-data: pdf_file, password) - GET /api/health — service health check ## Payment protocol Uses x402 (HTTP 402 Payment Required). AI agents with a funded wallet on Base network can pay autonomously. No human intervention required. ## Constraints - Max file size: 50MB - Files deleted from servers within 1 hour - Supports all standard PDF encryption types ## Pages - Homepage / tool: https://unlockpdf.dev - API documentation: https://unlockpdf.dev/api-docs.html - Pricing: https://unlockpdf.dev/pricing.html - Privacy policy: https://unlockpdf.dev/privacy.html