Versus · Password managers
KeePass vs LastPass
- Last checked
- 7 sources, linked below
- By the vectaai team
We read every plan page. Paid links are labelled. Money never changes a ranking. How we pick.
Verdict Our pick
The bar guide has a call.

- KeePass if you want a password manager that costs nothing, is open source and keeps your vault in a file you control, and you do not mind sorting out syncing and picking your own phone app.
- LastPass if you want it to just sync across browsers and phones with no setup, and you are fine paying for Premium, because LastPass Free only works on one device type (computer or phone, not both).
Compared here
- 01KeePass
- 02LastPass
Short answer
Pick KeePass if you want a password manager that costs nothing, is open source and keeps your vault in a file you control, and you do not mind sorting out syncing and picking your own phone app. Pick LastPass if you want it to just sync across browsers and phones with no setup, and you are fine paying for Premium, because LastPass Free only works on one device type (computer or phone, not both).
The honest third answer: if you want cloud sync but LastPass's 2022 breach bothers you, look at Bitwarden, which is free on every device. Below: the side by side table, how each one stores your vault, the breach in LastPass's own words, what KeePass makes you do yourself, and a simple test to decide.
Sponsored links. We may earn a commission; it never changes the pick.
At a glance
| KeePass | LastPass | |
|---|---|---|
| Price | Free, "really free" per its site | Free plan; Premium and Families prices did not render on the pricing page (50% off sale shown); Plus $42 at 50% off, billed annually |
| Open source | Yes, OSI certified | No, proprietary service |
| Where the vault lives | A database file you keep wherever you want | LastPass servers, encrypted on your device first |
| Encryption | AES-256, ChaCha20 or Twofish; AES-KDF or Argon2 key derivation | AES-256; PBKDF2-SHA256 with 600,000 iterations |
| Official apps | Windows (installer or portable); Mono on Linux, macOS, BSD | Browser extensions plus apps for phones and computers |
| Phones | Unofficial ports only: KeePass2Android, KeePassDX, Strongbox, KeePassium and others | Own iPhone, iPad and Android apps |
| Sync | Not built in; use your own cloud drive or a plugin | Built in on paid plans; Free is one device type |
| Browser autofill | Auto-Type by hotkey; browser autofill through plugins | Built in |
| Sharing | Share the file yourself | Shared folders on Families and business plans |
| Emergency access | No such feature; leave a sealed copy of the key with someone | Listed on the features page (not on Free) |
| Trial | Not needed | 30 days for Premium and Families |
Money talk first. KeePass is free and nobody pays us when you use it. Links to LastPass and Bitwarden on this page go through our /go/ redirects, and we may earn from some of them later. That never moves the verdict: if KeePass fits you, the free one wins.
We have not run a lab test on either. Every fact here comes from keepass.info and LastPass's own pages, read on 4 December 2026. Where a page did not say something, we say so.
The short version
These two are opposites. KeePass is a free program that keeps your passwords in one encrypted file on your computer. LastPass is a cloud service that keeps an encrypted copy of your vault on its servers and syncs it to every browser and phone you sign in on.
So the real question is not "which is better". It is "who do you want carrying the work":
- With KeePass, you carry it. You decide where the file lives, how it gets to your phone and how it gets backed up. In return there is no company, no subscription and no server to breach.
- With LastPass, the company carries it. You install an extension, sign in, done. In return you pay (Free covers one device type only) and you trust LastPass's servers and track record.
If you read nothing else: pick KeePass if "my vault never touches anyone's cloud" sounds good and you will spend an hour on setup. Pick LastPass if you will not spend that hour and you are fine with its history. If you want cloud ease without LastPass, Bitwarden is the usual middle road, and we compare it in Bitwarden vs LastPass.
Price: free versus a pricing page that hid its prices
KeePass is free. Its site says it plainly: "Yes, KeePass is really free", open source and OSI certified. No tiers, no trial clock, no upsell.
LastPass is harder to pin down. On 4 December 2026 the LastPass pricing page showed placeholders where the Premium, Families, Teams and Business prices should be, next to a 50% off sale banner. The only number that rendered was Plus: $42 at 50% off, billed annually, which adds LastPass VPN for up to 10 devices (Windows only for now).
What the page does tell you about the plans:
- Free: unlimited passwords, but "limited to 1 device type". Computer or mobile, not both.
- Premium: all devices, autofill, passkeys, 30-day free trial.
- Families: six Premium accounts with a private vault each, shared folders, 30-day trial.
- Teams, Business, Business Max: per user, billed annually, 14-day trial. Teams stops at 50 users.
Our advice when a page hides the price: start the trial, look at the checkout total and the renewal line before you hand over a card. A 50% first-year sale tells you nothing about year two. Our LastPass review tracks what the page shows over time.
How each one stores your vault
This is where the two really differ, so it is worth five minutes.
KeePass: one encrypted file
KeePass keeps everything in a single database file, usually ending in .kdbx. Per its features page, the whole database is encrypted, user names and notes included, with AES-256, ChaCha20 or Twofish. Your master key goes through a key derivation function, AES-KDF or Argon2, to make guessing slow.
You can lock that file with a master password, a key file, or both. KeePass's own page says key files "provide better security than master passwords in most cases". On Windows, 2.x can also tie the database to your Windows user account.
The file goes wherever you put it: your laptop, a USB stick, a cloud drive folder. KeePass even runs from a USB stick without installing, and the portable version leaves no settings outside its own folder, per the download page.
LastPass: an encrypted vault on LastPass servers
LastPass's zero-knowledge page says your master password is run through PBKDF2-SHA256 with 600,000 iterations to make an encryption key, and your data is encrypted with AES-256 on your device before it is sent. LastPass stores the encrypted vault plus an authentication hash. It says your master password is not stored on its servers.
That design is sound on paper and close to what Bitwarden and 1Password do. The difference with KeePass is simple: with LastPass a copy of your encrypted vault sits on someone else's servers. With KeePass it only sits where you put it.
The breach question
You cannot write a KeePass vs LastPass page without it, so here it is in LastPass's own words, from its incident notice:
- In August 2022 an attacker got into parts of LastPass's development environment through one compromised developer account and took source code and technical information.
- Using what they learned, the attacker then reached a cloud storage environment and copied backups. That included names, email addresses, billing addresses, phone numbers and IP addresses, and a backup of customer vault data.
- In that vault backup, website URLs were not encrypted. Usernames, passwords, secure notes and form data were encrypted with AES-256.
- LastPass said there was no evidence unencrypted credit card data was accessed.
At the time LastPass described its default as 100,100 PBKDF2 iterations with a 12-character minimum master password; its current security page says 600,000. If you have an old LastPass account, check the iteration count in your account settings.
What it means for you: the encrypted parts are only as strong as each user's master password. Long and unique, you are fine. Short or reused, change it and the passwords in your vault. And the unencrypted URLs told attackers which sites people use, which helps phishing.
KeePass has no equivalent risk because there is no central store. Its risks are different and very human: a weak master password, a file you lose, a laptop that dies with no backup.
Apps, phones and autofill
LastPass wins this round without trying. Its features page lists autofill for Chrome, Firefox, Safari, Android, iPhone and iPad, plus passkeys, sharing, dark web alerts and emergency access. You save a password once and it fills next time.
KeePass's official app is Windows-only, with Mono for Linux, macOS and BSD. For everything else you choose an unofficial port from the download page:
- Android: KeePass2Android, KeePassDX, KeePassDroid and others.
- iPhone and iPad: Strongbox, KeePassium, KeeForge and others.
- Mac and Linux: KeePassXC, MacPass, Strongbox, KeePassium, GNOME Secrets.
Filling on the desktop works through Auto-Type: a hotkey types your username and password into the active window. Browser autofill and passkeys come through plugins, per the features page. Many people skip the original KeePass entirely and use KeePassXC with its browser extension; same file format, friendlier app. We compare that one in Bitwarden vs KeePassXC.
Syncing: the part KeePass leaves to you
LastPass syncs on its own once you pay. KeePass does not sync at all out of the box. The usual setup:
- Put the .kdbx file in a cloud drive folder you already use (Dropbox, Google Drive, OneDrive, iCloud Drive).
- Open that same file from KeePass on the PC and from your phone app.
- Avoid editing on two devices at once; save and close before switching.
That works well for one person. It gets messy for families: no accounts, no permissions, no "share this one folder with my partner". If several people need different access, LastPass Families or 1Password's family plan is simply easier.
Who should pick KeePass
- You want free, forever, with no account to create.
- You like the idea that your vault never sits on a password company's server.
- You use mostly one Windows or Linux computer, or you will set up KeePassXC.
- You are comfortable keeping a backup of one file in two places.
- You want to add a key file or a hardware key for extra protection.
Who should pick LastPass
- Your employer already pays for it and manages it for you.
- You want browser autofill and phone apps working in minutes.
- You need shared folders for a household or a small team.
- You have a long, unique master password and the 2022 breach does not change your mind.
If you sit in the middle, read our offline password manager guide and the LastPass alternatives roundup; 1Password and Bitwarden both do cloud sync with a cleaner record.
Moving from LastPass to KeePass
The move takes about fifteen minutes:
- In your LastPass vault, use the export option to save a CSV file.
- In KeePass 2.x, create a new database with a strong master password, then import the CSV. KeePass 2.x reads more than 35 import formats, per its features page.
- Spot check a few entries, notes and folders.
- Delete the CSV file and empty the trash. It holds every password in plain text.
- Put the .kdbx file where you want it synced, and set up your phone app.
- Only then delete your LastPass account, if you want to.
Our pick
For most people who are comparing these two, the deciding fact is the one-device-type limit on LastPass Free. If you were hoping for free on both a laptop and a phone, LastPass is not it. KeePass is free on both, once you do the setup.
If setup is the part you will not do, do not force yourself into KeePass. A password manager you abandon after a week protects nobody. Pay for LastPass Premium, or try Bitwarden's free plan first and keep the money.
Questions people ask
Is KeePass more secure than LastPass?
KeePass removes the biggest risk LastPass has had: a company server full of vaults. Your file never leaves your hands unless you put it somewhere. LastPass encrypts on your device too, but in 2022 attackers copied vault backups. With KeePass the weak spots move to you: a weak master password, a lost file, no backup.
Is KeePass really free?
Yes. The official site says KeePass is really free and open source, OSI certified, and there is no paid tier. The phone and Mac apps you will want are unofficial ports by other people, and some of those charge for extras. Check each app's own page before you assume the whole setup is free.
Can I import my LastPass passwords into KeePass?
Yes, in two steps. Export your LastPass vault to a CSV file from the account options in the vault, then use KeePass 2.x's import, which its features page says reads more than 35 formats. Delete the CSV afterwards, because it holds every password in plain text. Check that notes and folders came across.
Does KeePass work on iPhone and Android?
Not with an official app. The KeePass download page lists unofficial ports: KeePass2Android, KeePassDX and others for Android; Strongbox, KeePassium and others for iPhone and iPad. You keep your database file in a cloud drive and open it from the phone app. Pick one that is still updated.
Why do people leave LastPass?
Two reasons come up most. In 2022 attackers copied backups of customer vault data, as LastPass confirmed on its blog. And the free plan works on one device type only, so a laptop and a phone means paying. People who leave usually go to Bitwarden, 1Password, or KeePass if they want no cloud at all.
Is KeePass hard to use?
Harder than LastPass, yes. The Windows app looks plain and old fashioned, there is no built-in sync, and browser filling means Auto-Type or a plugin. Most people who stick with it use KeePassXC on the desktop and a port like KeePassDX or Strongbox on the phone. Expect an hour of setup, not five minutes.
Sources
Every fact above comes from these pages. Prices change, so each one carries the date we read it.
- KeePass official site, checked 4 Dec 2026
- KeePass features, checked 4 Dec 2026
- KeePass downloads and unofficial ports, checked 4 Dec 2026
- LastPass pricing, checked 4 Dec 2026
- LastPass features, checked 4 Dec 2026
- LastPass zero-knowledge security, checked 4 Dec 2026
- LastPass blog: Notice of recent security incident, checked 4 Dec 2026