Chrome2KeePass Converter

A PowerShell tool to convert Chrome-exported passwords into KeePass-compatible CSV files.

Published on: May 8, 2025

About This Project

The Chrome2KeePass Converter is a lightweight PowerShell-based utility that converts password exports from Google Chrome into a format that can be directly imported into KeePass 2.x.

Chrome allows users to export saved passwords in a generic CSV format, but KeePass requires a specific field layout. This tool bridges that gap — ensuring all credentials are transformed, sanitized, and ready for secure import into KeePass with minimal effort.

Built with PowerShell, it supports automated testing using Pester and includes a GitHub Actions CI workflow for continuous validation. The converter runs cross-platform on both Windows PowerShell and PowerShell Core.

Technologies Used

PowerShell Pester CI / GitHub Actions CSV Parsing Automation

Example Command

.\src\Convert-ChromePasswords.ps1 `
  -InputFile "example/chrome_export.csv" `
  -OutputFile "output/keepass_ready.csv"