Tools API Blog
Sign in Create account

Remove a PDF's password

Remove password is an API that strips the password from a protected PDF, as long as you know it. Great for unlocking your own documents inside an automated flow in n8n, Make or Zapier, with no servers to maintain.

How it works

You send a protected PDF and its current password, and get back the same PDF without it: it will open directly, no prompt. Nothing is stored: it's generated on the fly.

Important: this tool needs you to already know the password. It's not an "unlocker" that guesses or cracks forgotten passwords.

All you need

  • Your API key. Create it in your dashboard with "+ Create key". It's shown only once, so copy and save it.
  • In your automation platform, an "HTTP Request" step (n8n, Make, Zapier, Pipedream… all have one).
  • The PDF's current password.

How to use it in n8n (step by step)

You send your PDF as is (as binary data) and the current password as a parameter. In the HTTP Request node:

  • Method: POST
  • URL: https://api.cofferdock.com/pdf-unprotect
  • Send Query Parameters: on, and add password = the PDF's current password.
  • Send Headers: on → add two: x-api-key = your key, and Content-Type = application/pdf
  • Send Body: on → choose the binary file option (in n8n: "n8n Binary File", with your PDF's binary property, usually data)
  • Under Options → Response → Response Format: choose File

In Make (HTTP → Make a request module): same method and URL, password in Query String, the two headers, and the PDF as binary data in the body.

Options

OptionDefaultWhat it does
password-Required. The PDF's CURRENT password (not a new one, there's no "set a new one" here).

What you get back

The PDF without a password, directly, ready to save or send. (In JSON mode, the PDF comes in base64.)