Sync
What Sync is and what it costs are on the Sync page, and how its encryption works on its own page. This one is about using it.
Setting up
Open the folder you want to sync, then in Settings › Sync, choose Connect…. Your browser opens to sign in or create an account; a new account confirms its email address first. Once you’ve signed in, the browser offers a plan if the account has none, then asks whether to connect this device, and Deft takes over again.
Back in Settings, Set Up… beside Remote Vault makes the account’s synced copy and shows your Recovery Key: twelve words. Write them down before you go on. You can see them again under Recovery Key in Settings › Sync on any device that syncs. If you lose them and every device that holds the key, delete the remote vault on your account page and set up again from the files on your disk.
Adding a device
On the new device, choose Connect… in Settings › Sync and sign in, then Connect… beside Remote Vault. It shows a six-digit code. On a device that already syncs, Settings › Sync shows that a device wants to connect: type the code there and choose Approve. The code lasts ten minutes.
With no other device at hand, choose Use Recovery Key instead and type the twelve words. Phones connect the same way, and sync while Deft is open on them.
One folder
An account syncs one folder, and each device keeps one folder connected to it. With another folder open, Settings › Sync says it isn’t synced, and Sync This Folder makes it the connected one; the old folder keeps its files and stops syncing.
Connecting a folder that already has files in it merges the two. Nothing is deleted on either side, and where both have a file by the same name with different contents, both are kept.
What syncs
Files and folders whose names start with a dot, such as .git and .obsidian, aren’t synced, nor are shortcuts (symbolic links). A Windows device also skips names Windows can’t store, which still sync between the others. Settings and themes stay on each device.
Deft syncs a few seconds after you save, when you come back to the window, every minute while it’s open, and as soon as another device sends a change. Offline, it tries again by itself.
When two edits meet
Edits on two devices are merged where they don’t overlap, in text files up to 2 MB. Otherwise one version keeps the name and the other is saved beside it as Name (conflict 2026-11-27 14.05).md, to compare and delete. The newer save keeps the name, except that a note open with unsaved changes always keeps it. Nothing else tells you it happened.
Deleted files and history
A file deleted on another device goes to this computer’s trash, or a .trash folder on a phone. Recover… beside Deleted Files in Settings › Sync brings back a deleted file, and Version History…, in a note’s menu or the file list’s right-click menu, shows a synced file’s earlier versions.
Deleting a large part of the folder at once is held back until you confirm it (Delete Everywhere, or Delete Here when the deletes came from another device) or undo it (Restore Them). Not Now leaves it for later, under Review… in Settings › Sync.
The sync icon
The icon at the foot of the file list, or at the top of it on a phone or tablet, shows how sync stands. On a computer, pointing at it says more: syncing, synced and when, offline, or paused with the reason. When sync fails, Settings › Sync says why.
Devices and the account
Disconnect in Settings › Sync makes a device forget the key; its files stay, and connecting it again needs approval or the words. The account page lists your devices to remove any of them, changes your email address or password, signs out every device, and deletes the remote vault or the whole account.