Convert ICQ 6.x/7.x chat history databases (.mdb) into browsable HTML archives with a WhatsApp-style interface.
Chat list - overview of all conversations, sorted by message count:
Chat view - WhatsApp-style message bubbles with contact profile, date separators, and emoji conversion:
Full-text search - search across all messages with highlighting:
- Reads ICQ
Messages.mdbandOwner.mdbdatabases viamdb-export - Generates responsive HTML chat logs with WhatsApp-style bubbles
- Full-text search across all messages (client-side, no server needed)
- Calendar timeline view with activity heatmap
- Multi-account support with master index page
- Contact profiles (name, location, gender, status message)
- Avatar extraction from ICQ BART cache
- ICQ emoji codes (
*HAPPY*,:-{}, etc.) converted to Unicode emojis - Automatic URL detection and linking
- Works offline - just open the HTML files in any browser
- Python 3.6+
- mdbtools (provides the
mdb-exportcommand)
# Debian/Ubuntu
sudo apt install mdbtools
# macOS (Homebrew)
brew install mdbtools
# Arch Linux
sudo pacman -S mdbtoolsPlace your Messages.mdb file in the project directory, then run:
python3 export_chats.pyThis reads Messages.mdb from the current directory and generates HTML files in chats/.
If you have a full ICQ roaming data directory (typically C:\Users\<user>\AppData\Roaming\ICQ\ on Windows), place it as Roaming_ICQ/ in the project directory:
icq-history-viewer/
Roaming_ICQ/
<account_name_1>/
Messages.mdb
Owner.mdb
<account_name_2>/
Messages.mdb
Owner.mdb
BART/
...
Then run:
python3 export_all_accounts.pyThis exports all accounts and creates:
chats/accounts.html- master index of all accountschats/<uid>/index.html- per-account chat listchats/<uid>/search.html- full-text search for that accountchats/<uid>/timeline.html- calendar timeline viewchats/<uid>/<contact>.html- individual chat logs
Open the generated HTML files directly in your browser:
# Single account
xdg-open chats/index.html
# Multi-account
xdg-open chats/accounts.htmlNo web server required - everything works with file:// URLs.
ICQ 6.x/7.x stored chat history in Microsoft Access databases:
| OS | Typical Path |
|---|---|
| Windows XP | C:\Documents and Settings\<user>\Application Data\ICQ\ |
| Windows Vista/7/8/10 | C:\Users\<user>\AppData\Roaming\ICQ\ |
Each account folder contains Messages.mdb (chat history) and Owner.mdb (contact details, avatars).
MIT


