PDF beta

PDF Unlock API

Removes the password from a PDF you have the password for.

Send the PDF and its password, get back the same document with no encryption. A wrong password is a clear 422 error and costs nothing. This is not a cracker: without the password, nothing is unlocked.

What it does

  • Opens with the user or owner password
  • Also clears print and copy restrictions
  • A wrong password is refused and free
  • Never guesses or cracks passwords

Endpoints

MethodPathDescriptionModes
POST /v1/pdf/unlock Remove the password sync (sync: 58 s per call)

Base URL: https://api.justapi.tech

Pricing

OperationPrice
Per call, any size$0.005first 1,000 calls a month
Per call, 1,001 to 10,000$0.004per call that month
Per call, over 10,000$0.003per call that month

You are not charged for a failed request, an unreadable or encrypted input, or a bad option. A charge happens only when you get a result.

Limits

Max File SizeYour plan's file limit, 200 MB in total per call
Result RetentionDeleted automatically within 24 hours, or at once when you acknowledge the download

Send an encrypted PDF and its password, and get back the same document without encryption, printing or copying restrictions. A wrong password returns a clear encrypted_pdf error and costs nothing. Nothing is guessed or cracked.

Questions

Can it open a PDF without the password?

No. You need the open password, or the owner password. Without it the call fails and you are not charged.

What about PDFs that open fine but block printing?

Send them with an empty password. If the file has only an owner password, the restrictions are removed.

Use cases and what they cost

Use case What it does Calls a month Estimated cost a month
Expense tool Unlocks bank and card statements users upload, with the password they type. 2,000 $9.00
Lending platform Opens protected payslips applicants submit. 7,000 $29.00
Archive Removes owner-only restrictions from old internal PDFs before indexing. 400 $2.00
  • Expense tool: Then hands the PDF to the parser.
  • Lending platform: Wrong passwords are free.
  • Archive: No open password needed.

Costs use the published volume tiers: the first 1,000 calls of the month at tier 1, calls 1,001 to 10,000 at tier 2, and every call after that at tier 3. Failed calls cost nothing, so they are not in these figures.

Recommendations

  • You need the password. We do not crack PDFs and no honest API does.
  • A wrong password returns an error and costs nothing, so let users retry.
  • Unlock first, then parse, merge or compress; most PDF tools refuse encrypted input.
  • The password is not stored and does not appear in logs or the jobs table.

How it compares

Unlock calls fail a lot in real life, because users mistype passwords. Whether a failed attempt costs money matters more here than the headline price.

Provider How they bill Cost of one job (a 10-page PDF)
JustAPI Flat $0.005 per call at tier 1, any size; failures free $0.005
PDF.co Security remove: 3 credits per page $0.02
iLoveAPI 10 credits per file n/a
ConvertAPI Developer plan: 35 USD a month for 1,000 conversions $0.04
Adobe PDF Services 0.05 USD per document transaction $0.05

Prices checked on 12 November 2026 on each provider's public pricing page. PDF.co figures use their Basic plan (8.99 USD a month on annual billing for 16,500 credits). iLoveAPI does not publish dollar prices for paid credits on its pricing page, so only its credit cost is shown. Plans change; check before you decide.

Pick another provider if they bundle unlock with extraction you already pay for and you never see wrong passwords. The full working is in Remove PDF password API pricing: wrong tries free, and the step-by-step setup is in the PDF Unlock integration guide.

Try it free first

The free pdf unlock tool runs the same job in your browser, five times a day, with no account. Use the API for workflows and bigger files. The full parameter list is in the PDF Unlock API reference.