Skip to content

Migrate Line Chat History from old to new PC

Honestly I think LINE is a terrible messaging app, but it's the dominate app in some countries.

On PC there's no sync/export-n-import function for chat histories, it'll only sync the past 2 weeks of history from LINE servers.

So if you want to keep your chat history, you'll have to manually migrate some files to ensure the history is kept.

Be aware that there's 2 types of LINE desktop client, one from the MS store, and one standalone installer. Depending on which version you have installed, your chat history will be

On Old PC

Exit out of LINE and do NOT log into any other new account on that PC.

navigate to of of the following locations (note that the xxxx is just a placeholder, not actual path)

%localappdata%/LINE
%localappdata%/Packages/LINE_xxxx

you might have both folder, but only one should hold actual data, the other one should be mostly empty.

The simplest is to copy the whole folder to the new computer, but the LINE folder includes a lot of non-user data.

For %localappdata%/LINE the following needs to be copied:

---
config:
    themeVariables:
        treeView:
            labelColor: '#888888'
            lineColor: '#888888'
---
treeView-beta
LINE
├── Data
│   ├── db// :::highlight ## the important stuff
│   ├── bgChat// ## Not sure but small enough, copy anyways
│   ├── LINE.ini ## state information, probably needed
│   └── qci_3.ini ## Not sure but small enough, copy anyways
└── Cache
    ├── (########################################)// :::highlight ## likely caches for images/files
    ├── dinfo.bin ## Not sure but small enough, copy anyways
    └── uinfo.bin ## Not sure but small enough, copy anyways

For %localappdata%/Packages/LINE_xxxx, i've never installed from MS store, but i'm guessing:

---
config:
    themeVariables:
        treeView:
            labelColor: '#888888'
            lineColor: '#888888'
---
treeView-beta
LINE_xxxx
├── AppData
├── LocalCache
├── LocalState
└── Settings

On New PC

Exit out of LINE, or even better yet, don't login at all before the migration.

Simply paste in the files and overwrite in the exact same locations you copied them from

%localappdata%/LINE
%localappdata%/Packages/LINE_xxxx

If it's been more than 2 weeks since you've switched to the new PC, there's a chance that some history would be missing. Since LINE would read in the old info, then merge in the latest 2 weeks of chat history.