← All articles

Tools11 min read

How to sync folders between two computers with Syncthing, without a cloud drive

Set up Syncthing on Windows, Mac or Linux, choose a folder type, and recover a deleted file. We tested file versions and conflicting offline edits with Syncthing 2.1.7.

Igor Karmazin · AI Technical Product Operations

Folders in sync

Syncthing is useful when you edit the same collection of documents on two computers. Choose a folder on each machine, introduce the devices and give them permission to share that folder. You can then save a document on your laptop and open the updated copy at your desk. The program has no compulsory cloud drive, file-storage account or charge per gigabyte transferred.

One question is worth answering before you connect real work: what happens if you delete a file on the laptop? In our Syncthing 2.1.7 test, the file disappeared from the second working folder too. We recovered it because we had turned on file versioning at the receiving end before deleting it. Later, when we edited the same text independently on two disconnected peers, Syncthing kept both edits under different names. This guide walks through the setup and a small exercise you can repeat with disposable files. Syncthing's official site.

When to sync a folder and when to send a file

Suppose you prepare a newsletter on a Mac at home and continue on a Windows PC the next morning. If you send copies by hand, it's easy to open yesterday's draft, write three paragraphs and end up with two different documents called “final”. Syncthing keeps a local working copy of the chosen folder on each machine. Your editor opens ordinary files from disk, so you can work while travelling. The other copy catches up when the devices can communicate and Syncthing is running at both ends.

Sending a finished video to a colleague is a different job. A one-off transfer with LocalSend makes sense if the recipient has no need for later edits in your production folder. A cloud drive is convenient when a customer needs a link they can open a week from now. Folder sync is a good fit when you control the devices and want continuing, local access to the same materials. Our guide to downloading LocalSend from GitHub · Syncthing FAQ.

Download Syncthing for Windows, Mac, Linux or a phone

The official downloads page offers the core program with a browser-based interface and links to operating-system integrations. For Windows it lists Syncthing Windows Setup and the SyncTrayzor v2 tray utility. For Mac there is syncthing-macos. Linux users can choose a project build or a distribution package. A desktop wrapper is useful if you want a menu or tray icon that shows whether a transfer is still running. You can choose different wrappers on the two devices. Downloads and desktop integrations.

Install a suitable build and start the application on each computer. On first launch it creates a device identity and a local configuration. The standard web interface is normally available at http://127.0.0.1:8384. This is a management page on the machine where you open it. Typing the same address on the other computer opens that computer's own settings. To pair the machines, you will need their device IDs rather than a link to either dashboard. Official getting-started guide.

For Android and iOS, check the client separately. The project's community directory lists Syncthing-Fork for Android and options including Synctrain for iOS and iPadOS. Mobile clients have their own permissions, directory access and background limitations. If you want to sync a phone folder, first confirm the client can read the exact location, then repeat a small transfer after locking the screen. Our experiment used two instances of the desktop core. It did not measure phone battery consumption or background transfers. Community clients and integrations.

Set up two folders step by step

  1. Start with two empty directories. For example, make an Editorial-test folder on the laptop and C:\Sync\Editorial-test on the Windows desktop. The paths can differ. Starting with two populated Documents folders makes it much harder to distinguish expected merging from an unintended change.
  2. Introduce the devices. On one machine open Actions → Show ID. On the other choose Add Remote Device, enter the first ID and give the device a descriptive name. Accept the corresponding request on the first machine or add the second ID there yourself. Compare the identifiers on your two screens. A display name such as “Laptop” is simply a label you chose.
  3. Offer one folder. On the first computer choose Add Folder, give it a recognizable label and point it at the first test directory. In the sharing settings select the other device. For this exercise keep the folder type set to Send & Receive, which permits changes in both directions.
  4. Accept the folder on the second computer. Choose the path to its empty directory. The Folder ID associates a shared folder across devices. The label helps a human recognize it. Two independently created folders with the same label do not automatically form a pair. Accepting the offered folder carries over the correct ID.
  5. Check both directions. Create hello.txt on the first computer with the line “draft one”. Wait for it to appear on the second, open it there and add “checked on desktop”. Read the result back on the first computer. This verifies the pairing, the actual paths and the direction of editing you intend to use. Sharing devices and folders.

Look separately at connection and folder status. Connected establishes that the programs can communicate. Up to Date describes synchronization. Two connected devices can have no folder in common. A green status next to a different folder says little about the file you are looking for. Expand the specific folder and read its path, ID and participants before changing network settings.

What happened in our Syncthing 2.1.7 test

We ran two independent processes on one Mac. Each had its own configuration, database, device identity and empty directory. They connected over local loopback TCP with discovery and relays disabled. We explicitly requested a rescan after edits. This exercised real file transfer, versioning and conflict handling. It was not a throughput measurement for a home network or a benchmark of the filesystem watcher's delay. The tested 2.1.7 release.

Action Observed result
Put a 1 MiB sample file in A B received 1,048,576 bytes. The two SHA-256 digests matched
Changed the issue date in brief.txt from Monday to Wednesday on A B received Wednesday. Its previous contents entered B's version history
Deleted brief.txt on A The file disappeared from both working directories. B had two archived versions and A had none
Restored the Wednesday version on B The file returned under its original name on both devices
Disconnected the peers, edited plan.txt at each end and reconnected them Both directories ended up with the main text and a conflict copy containing the other edit

The order matters. We enabled Simple File Versioning on B first and set it to keep up to five versions. B subsequently received a replacement from A and then a deletion. That left two archived entries even though the document had disappeared from both working folders. It is an easy exercise to reproduce with a small text file. Turning on versioning only after an accident cannot reconstruct the earlier contents. How file versioning works.

Recover a deletion and resolve competing edits

Versioning is configured per folder, per device. Open the folder's settings and find File Versioning. For simple versioning, choose how many earlier copies you need. The default archive directory is the hidden .stversions folder. A change arriving from A can make B archive the file it is about to replace or delete. Saving over a file in B's own editor has different semantics. Syncthing does not keep a central log of every Save operation on every machine.

To recover a document, open the folder's versions on the device that archived it. Compare the filename, archive time and size. The Monday revision of our brief.txt was 19 bytes. The Wednesday revision was 22. We restored the second entry, then checked for Issue date: Wednesday in both working copies. File size can help identify a candidate, but open the restored document and confirm the actual date, amount or paragraph you needed. What the version list records.

A conflict needs a different response. Both machines first received the same plan.txt. We paused the connection, wrote “Monday morning” on A and “Thursday evening” on B, and let each process index its own edit before reconnecting. B's edit had the later modification time. On both machines plan.txt contained Draft: Thursday evening, while a neighbouring file with sync-conflict in its name contained Draft: Monday morning.

The program can preserve competing texts. It has no way to know which date the team actually agreed. Compare both documents, merge the intended changes into the main file and check that the agreed text reaches the other participant. A conflict copy also travels as an ordinary file, so clear it up after confirming the result. Manually combining competing versions of a spreadsheet, database or video-editing project can be much harder. For these formats, take turns editing or use software that supports collaborative editing directly. Conflict handling rules.

One publisher, two editors or an independent archive?

Use Send & Receive for the two-computer authoring workflow. Send Only suits a publishing machine that sends approved material and should not apply someone else's edits to its local contents. Receive Only can suit a presentation machine: it accepts changes from the cluster and does not distribute its ordinary local modifications to the other devices. A deletion coming from the publisher can still remove the presentation from the receiving machine. Folder types explained.

Important material deserves another copy with an independent retention period and a tested recovery procedure. Otherwise a mistaken deletion, damage to the disk holding the version archive or the loss of both computers can leave very little to recover. Count storage at each end too. A fully synchronized set of 100 GB of material takes roughly 100 GB on each device, plus room for older versions and temporary work. Free software does not create additional SSD capacity.

Cost, cloud storage and internet connections

Core Syncthing has no storage subscription. You supply your disks, connection and, if needed, an always-on server. A cloud storage provider instead keeps a remotely available copy even when your source computer is switched off. For scale, on November 29, 2026 Apple lists 5 GB free, and its US iCloud+ table lists 50 GB at $0.99 per month. Pricing and availability depend on the account region. About Syncthing · Apple's regional iCloud+ pricing.

At home the devices can communicate over the local network. Over the internet, Syncthing can use a relay when a direct connection is unavailable. A relay forwards encrypted traffic between connected participants. If you need to drop off a document from your laptop tonight and collect it on a desktop tomorrow, after the laptop shuts down, give an always-on third device a copy of the folder or use a cloud drive. How Syncthing relaying works.

FAQ

Why are the devices connected but my folder is not syncing?

Check the shared folder ID, whether the invitation was accepted, the actual local path and free space on the receiving side. Make sure the application can access that path and the folder is active. If only one file is missing, inspect the errors for that folder and try a small text file.

How do I turn folder sync off temporarily?

Expand the relevant folder in the dashboard and pause it. To suspend all exchange with a particular peer, pause that device. Local edits made while paused may propagate after you resume. Use a separate destination with its own retention policy if you are setting aside a long-term archive.

Is Syncthing a good fit for two folders on one disk?

Its normal purpose is synchronization between devices. We used two separate instances on one Mac to represent two computers in a controlled test. For a one-off mirror to another disk on the same computer, a local copy utility is simpler. Recovery from disk failure requires a copy on another storage device.

Read on Telegram