# Protéger un PDF par mot de passe

> Seuls ceux qui ont le mot de passe peuvent l’ouvrir.

Human page: https://unmakelabs.com/fr-fr/proteger-pdf-mot-de-passe/. This is the version for AI agents.

## What it does

Protéger un PDF par mot de passe. Seuls ceux qui ont le mot de passe peuvent l’ouvrir.

## Un chiffrement fort et standard

Le PDF est chiffré en AES-256, la méthode de la norme PDF 2.0 qu’ouvrent Acrobat, Aperçu, Chrome et les applis mobiles. Le chiffrement vient d’une bibliothèque PDF open source très utilisée, pas de notre propre code.

## Vérifié avant de vous être donné

Le fichier protégé est ouvert deux fois : sans mot de passe il doit refuser, avec il doit montrer toutes les pages. Votre mot de passe reste dans le navigateur et n’est pas gardé.

## Facts

- **Chiffrement:** AES-256 (PDF 2.0, révision 6)
- **Options:** Bloquer aussi impression, copie et modifications
- **Vérification:** Fermé sans mot de passe, ouvert avec
- **Confidentialité:** Fait dans votre navigateur ; rien n’est envoyé

## How a person does it

1. **Choisissez le PDF.** Sa première page s’affiche aussitôt.
2. **Tapez un mot de passe.** Il reste visible pour que vous le vérifiiez ; notez-le.
3. **Téléchargez.** Le PDF protégé est vérifié avec et sans le mot de passe avant.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/fr-fr/proteger-pdf-mot-de-passe/?src=https://unmakelabs.com/apps/pdfkit/samples/sample.pdf`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `?tool=watermark|fill|sign|unlock|merge|organize|addtext|redact|images|toimages|batch|split|pagenum|flatten|protect|compress` and `?src=<public file URL>` (the file must allow CORS); nothing else goes in the link and the file never leaves the browser.

Embed: `<iframe src="https://unmakelabs.com/embed/pdfkit/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Good to know

Un mot de passe oublié ne se récupère pas, ni par nous ni par personne : il n’en existe aucune copie.

## Not done by this tool

- Ne récupère pas un mot de passe oublié
- N’envoie ni le fichier ni le mot de passe
- Le blocage de l’impression dépend du lecteur qui le respecte

## Value

Three everyday PDF jobs done in the browser on one shared kit (pdf-lib writes, pdf.js shows pages), nothing uploaded: add a watermark (any sentence; middle, repeated, top or bottom; size relative to each page, angle as seen, strength, colour, page range; real searchable text; right on rotated and mixed-size pages); fill a form (AcroForm fields become a web form with HTML autocomplete tokens guessed from the field's name, tooltip and printed label in English, German, French and Dutch, so browser autofill works; check boxes, radio buttons, choice lists, dates in the form's own date format; values written back into the PDF's fields, optional flatten, optional remembered answers on the device; PDFs without fields: tap to place text, check marks or the date, snapped to the printed line); sign (draw, type in one of four handwriting fonts, or a photo of a signature with the paper made see-through; placed on the signature line of the last page when one is found; date option; several pages). PDFs protected against changes (owner password only, RC4 or AES-128) are opened as a plain copy and the page says so.

## When it fits

- Someone has to return a PDF form (tax, school, rental, job, government) and wants their browser to fill name and address.
- A team sends drafts or confidential copies and wants DRAFT, CONFIDENTIAL or the recipient's name on every page.
- Someone needs to sign a PDF and send it back, on a phone or a laptop, without an account.

### When not

- A qualified or advanced electronic signature with identity checks (eIDAS QES/AdES), or a signing workflow with several people.
- PDFs that need a password to open (until the unlock tool), or XFA-only dynamic forms.

## Why use it instead of the alternatives

- Nothing to install: ?tool=watermark|fill|sign&src=<public PDF> opens a file in the page; embeddable at /embed/pdfkit/.
- A server copy for agents (send a PDF + options, get the finished PDF) can follow on the shared browser_engine runner: the kit's lib.js, decrypt.js, fields.js and the tools' apply() have no DOM.
- iLovePDF, Smallpdf, Sejda and pdfFiller upload the file to their servers and cap free use; Acrobat Reader fills and signs but needs an install and has no browser autofill for PDF fields; browser PDF viewers fill fields but without autofill or flat-form typing.

### What rebuilding it would take

- Open the PDF with pdf-lib, read its AcroForm fields, map each to an autocomplete token from its name and label, render an HTML form, write values back and update appearances (Unicode font when needed).
- For watermarks and signatures, convert positions seen on the page into the page's own coordinates for every /Rotate and crop box.
- Decrypt owner-password PDFs (RC4/AES-128 standard handler) before writing.
- Plus program checks on real public forms: values read back equal, text present on the chosen pages, signature pixels inside the placed box.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- The signature is a simple electronic signature (a picture), stated on the page.

_Status: watermark, fill a form (AcroForm and flat PDFs) and sign work in the browser; agents send their own file to POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/<tool>/jobs (tools: GET https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/tools)._

## Privacy

- PDFs are opened, changed and saved on the user's device and never uploaded.
- Remembered form answers are opt-in and stay in the browser's local storage.

## Data

Fonctionne dans votre navigateur ; votre PDF reste sur votre appareil. Rien n’est envoyé.

## FAQ

- **Comment protéger un PDF par mot de passe gratuitement ?** Choisissez le PDF ici, tapez un mot de passe et touchez Télécharger le PDF protégé. Pour l’ouvrir, il faudra ce mot de passe.
- **Est-ce sûr ?** L’AES-256 est le chiffrement PDF le plus fort. Le point faible est le mot de passe : prenez-en un long, par exemple quelques mots avec des chiffres.
- **S’ouvre-t-il sur téléphone et Mac ?** Oui. Acrobat Reader, Aperçu, Chrome, Edge et les applis PDF mobiles demandent le mot de passe et l’ouvrent.
- **Quand est-ce le bon outil, et quand non ?** Adapté pour: Renvoyer un formulaire PDF (impôts, école, location, candidature, administration) en laissant le navigateur remplir nom et adresse. Mettre BROUILLON, CONFIDENTIEL ou le nom du destinataire sur chaque page. Signer un PDF sur téléphone ou ordinateur, sans compte. Pas adapté pour: Une signature électronique qualifiée avec vérification d’identité, ou un circuit à plusieurs signataires. Les PDF qui demandent un mot de passe à l’ouverture, ou les formulaires XFA purs.
- **Est-ce vraiment gratuit ?** Oui : pas de pub, pas d’inscription, pas de limite.
- **Mon PDF est-il envoyé ?** Non. Tout se passe dans cette page, sur votre appareil.
- **Un agent IA peut-il l’utiliser ?** Un agent peut ouvrir la page avec ?src= et un PDF public dès aujourd’hui. Une version serveur pour les fichiers des agents est prévue.
- **Qui fait cela ?** unmake est fait par Unmake Labs. Questions : hello@unmakelabs.com.

## Related pages

- [Filigrane PDF](https://unmakelabs.com/fr-fr/filigrane-pdf/)
- [Signer un PDF](https://unmakelabs.com/fr-fr/signer-pdf/)
- [Déverrouiller un PDF](https://unmakelabs.com/fr-fr/deverrouiller-pdf/)
- [Compresser un PDF](https://unmakelabs.com/fr-fr/compresser-pdf/)
- [Remplir un PDF](https://unmakelabs.com/fr-fr/remplir-pdf/)
- [Fusionner des PDF](https://unmakelabs.com/fr-fr/fusionner-pdf/)
- [Organiser les pages d’un PDF](https://unmakelabs.com/fr-fr/organiser-pages-pdf/)
- [Ajouter du texte à un PDF](https://unmakelabs.com/fr-fr/ajouter-texte-pdf/)
- [Caviarder un PDF](https://unmakelabs.com/fr-fr/caviarder-pdf/)
- [PDF en JPG](https://unmakelabs.com/fr-fr/pdf-en-jpg/)
- [Remplir un PDF depuis Excel](https://unmakelabs.com/fr-fr/remplir-pdf-depuis-excel/)
- [Diviser un PDF](https://unmakelabs.com/fr-fr/diviser-pdf/)
- [Numéroter les pages d’un PDF](https://unmakelabs.com/fr-fr/numeroter-pages-pdf/)
- [Aplatir un PDF](https://unmakelabs.com/fr-fr/aplatir-pdf/)
