Is it legal to unlock your own password-protected files?

Password recovery tools have a legitimate, everyday use: getting back into your own files when you’ve forgotten the password. They can also be misused — so the line matters.

This is general guidance, not legal advice. The short version: it’s about ownership and authorisation.

Unlock a file you own