Remove the password from a PDF you already know
Six statements that open without the password, the locked originals kept.
A real run on 13 November 2026, on a Linux computer, using Claude Code with Opus, on a Claude plan. The waiting is sped up; it took 1 min 04 s in real time.
The short answer.
You need the password; removing it just saves an unlocked copy. On a Mac, open the PDF in Preview, type the password and use File, Export (not Export as PDF, which is greyed out for protected files on macOS 15). On Windows, print it to Microsoft Print to PDF from Edge, or use Acrobat's No Security. Stella (stella.sh) unlocks a whole batch with the password you give it, keeps the text exactly and leaves the originals alone.
Stella does this on Windows, Mac and Linux.
What happened.
Six unlocked copies (May to October 2026) in about a minute. Checked afterwards against an answer key written before the run: each copy opens without a password and has the same page and exactly the same text as its original, each keeps the month in its name, and all six locked originals were still there, unchanged.
The statements are sample PDFs from a fictitious bank, each locked with AES-256 encryption and the password in the prompt, made for this run. The work is sped up 3×.
How Stella does it.
- Finds the protected statements in Downloads, six months of them in the recording
- Opens each with the password from your message and saves a copy without it, next to the original
- Names each copy after its original with “(unlocked)” added, so Statement_2026-05 becomes Statement_2026-05 (unlocked)
- Opens every copy afterwards to check it needs no password, and confirms the originals are unchanged
- Points out that anyone using the computer can now open the copies, and offers to delete the locked originals (it didn't, without being told to)
The prompt.
My bank statements in Downloads ask for a password every time I open them. The password is Maple2026. Can you make copies that open without it?
This is the exact prompt from the recording. If your files are somewhere else, say where.
Do it yourself.
On a Mac: Preview's Export
Open the statement in Preview and type the password. Choose File, Export (the plain Export…, because Export as PDF… is greyed out for protected files on macOS 15), keep Format set to PDF, give it a new name and save. On macOS 15.6 the exported copy opens without a password. Repeat for each file.
On Windows: print to PDF
Open the PDF in Microsoft Edge or Chrome and enter the password. Press Ctrl+P, choose Microsoft Print to PDF (Save as PDF in Chrome) and save. The new file has no password, but this only works if the PDF allows printing, and links or bookmarks may be lost in the re-print.
With Adobe Acrobat
In Acrobat (paid), open the file with its password, then choose File, Properties, Security and set Security Method to No Security. If the file also has a permissions password, Acrobat asks for that too. This keeps everything in the file exactly as it was.
From the command line, on any system
The free qpdf removes it in one line and keeps everything else:
qpdf --password=YOURPASSWORD --decrypt locked.pdf unlocked.pdf. Run it once per file, or loop over the folder to do a year of statements at once.Or skip the PDF next time
If your bank locks every statement, look in its online banking for a transaction download as CSV or Excel. The same numbers arrive without a password and are easier to work with than the PDF anyway.
Where it stops.
- Stella needs the password. It won't guess, crack or get around one, and it's only for files you're entitled to open.
- The password is part of your message, so it reaches the AI model you use in Stella along with the rest of the chat. Change it afterwards if you use it anywhere else.
- Unlocked copies open for anyone with access to the computer or the folder. Stella said so and offered to delete the locked ones; keep the originals if the copies are for a one-off job.
- Recorded on Linux, where the PDF tools Stella used were already installed. On a Mac or Windows PC it may install a small PDF tool first, which wasn't recorded.
Questions.
Why is “Export as PDF” greyed out in Preview?
On macOS 15, Preview disables Export as PDF for password-protected files. File, Export with the format set to PDF still works and, on macOS 15.6, saves a copy without the password.
Can I remove a password I don't know?
Not with any of these methods: every one starts by opening the file with its password. If it's your own statement, download it again from your bank or ask the bank what the password is built from.
Is it OK to remove a PDF password?
Saving an unlocked copy of your own document with the password you were given is an everyday thing to do. Breaking into a file you weren't given access to is not, and Stella won't try.
What can I do with the unlocked statements?
Anything that needs the text: search them, or turn bank statements into one Excel sheet. Before sharing one, you can black out account numbers properly.
Is Stella free for this?
Yes. Free with the ChatGPT or Claude plan you already have. Sign in with your ChatGPT plan, or use your Claude plan through Claude Code, and this task costs nothing extra. New accounts also get a small free trial of Stella’s own models.
Can I control what Stella changes on my computer?
Yes. Stella works on Windows, Mac and Linux with your own files and shows each step in the chat, so you can watch it and stop it at any point. Tell it what it may not do, as the prompts on these pages do (“don't delete anything without asking”). In the Downloads recording it deleted nothing until it was told to go ahead. It also refuses commands that would wipe a whole disk, your home folder or system folders.
Checked against these sources on 13 November 2026.