Move from LastPass to KeePass

KeePass has an importer made just for LastPass's export.

Carries over 7
Logins and passwords
Secure notes
Payment cards
Identities and addresses
Other item types
Folders and groups
Favourites
Lost 7
Passkeys
One-time codes
Custom fields
Attachments and files
Password history
Created and updated dates
App settings
Not sure 1
Shared vaults and collections

How to move from LastPass to KeePass

Export from LastPass

Export your vault as CSV
How
File
  1. In the web vault or LastPass for Desktop, select Advanced options, thenExport, then Continue export in the Verify export email.
  2. Go back to Advanced options, thenExport within 10 minutes, enter your master password and select Submit.
  3. In the browser extension, select the Account tab, then Fix a problem yourself, thenExport vault items, thenExport data for use anywhere.
  4. Save the .csv it downloads. If it only shows on the page, copy it into a text editor and save it as a .csv.

Import into KeePass

Import a LastPass export
How
File
  1. Export your vault from LastPass as a .csv.
  2. In KeePass, open or create a database, select File, thenImport... and pick LastPass CSV under Format.
  3. Choose the file under Source and select OK.

What to watch out for

Exporting from LastPass

One-time codes saved on your logins, attachments, custom fields and custom item types are all left behind.

  • Download each attachment from the browser extension, desktop app or phone app before you go. The website can't open them.
  • The phone apps can't export.
  • Passkeys can't be exported at all, so add a password or a new passkey on each site before you go.
  • Every password's in plain text, so delete the file once you've imported it.
  • The copy shown on the page can turn &, < and > in passwords into HTML codes like &amp;, so use the downloaded file or check those.
  • With vault identities set up, pick All in the account menu first, or you only get the identity you're in.
  • A Teams or Business admin can switch exports off with the Prohibit export policy.
  • On the free plan, you can still export from a computer even if Mobile is your active device type.
  • The extension's Export encrypted data for backup only goes back into LastPass, with a key you make up.

Importing into KeePass

Secure notes, cards, addresses and LastPass's other note types come in as entries with their details as fields.

  • Folders become groups, and favourites get a Favorite tag.
  • It isn't encrypted, so delete the file once it's in.

Where this comes from

Checked against the official docs on .

We work this route out from the LastPass and KeePass entries, so if something's wrong, the fix goes in one of those.

Edit the LastPass entry Edit the KeePass entry

Move from KeePass back to LastPass

There's no way back from KeePass to LastPass that we know of, so hang on to your LastPass data until you're happy with the move.

Other places LastPass can go

  • Built-in importer
  • Same file format
  • Convert it first
  • Carries over
  • Lost
  • Not sure

Other ways into KeePass