Skip to content

How-ToOS

How to Sync Files Between Two PCs with Syncthing (No Cloud Needed)

How to keep folders in sync between two PCs with Syncthing, the free open-source app that syncs device to device with no cloud: installing it on Windows, pairing device IDs, sharing folders, folder types, .stignore rules, versioning and firewall ports.

By , Systems & Technical Editor

6 min read

How to Sync Files Between Two PCs with Syncthing (No Cloud Needed)

It's based on the Syncthing project's website, downloads page and official documentation (written for Syncthing v2.1), all read on 24 November 2026. We haven't measured sync speeds.

If you've got a gaming desktop and a laptop, or a main PC and a little home server, you've probably emailed yourself a file, dragged it onto a USB stick or paid for more cloud storage just to move things between them. Syncthing is a better answer for a lot of people. It's a free, open-source "continuous file synchronisation" program that keeps chosen folders identical across two or more devices in near real time, talking directly from device to device.

Why use Syncthing instead of OneDrive or Google Drive?

According to the Syncthing project:

  • Your files stay on your devices. There's no central server storing your data, so there's no cloud storage quota to pay for.

  • Connections are encrypted and authenticated. All communication uses TLS with perfect forward secrecy, and every device has a cryptographic certificate. Only devices you've explicitly allowed can connect.

  • It's open source under a documented protocol, with the source on GitHub.

  • It's cross-platform: Windows, macOS, Linux, FreeBSD and others, so a Windows PC can sync with a Linux box or a Mac.

  • It works over your home network and the internet without you needing to know IP addresses.

The trade-off is that you have to set it up yourself, and both devices need to be on for files to sync between them (there's no cloud copy waiting in between).

Step 1: Install Syncthing on both PCs

On the official downloads page (syncthing.net/downloads), you have two routes on Windows:

  • An integration (recommended for most people). The Syncthing site lists Syncthing Windows Setup, "a lightweight yet full-featured Windows installer", and SyncTrayzor v2, a Windows tray utility, filesystem watcher and launcher. These are community projects with their own issue trackers, but they run the same Syncthing core.

  • Base Syncthing, a command-line/daemon executable with a web interface. At the time of writing the downloads page lists Syncthing v2.1.7; for a normal Windows PC, choose the Intel/AMD (64-bit) build, or ARM (64-bit) for a Windows on Arm laptop.

If you use base Syncthing, unpack it and run syncthing.exe. The documentation says that on first start Syncthing generates its configuration and encryption keys, creates a Default Folder in a folder called Sync in your user directory, and opens the admin interface in your browser.

Step 2: Open the web interface

Syncthing is configured through a web page served by the app on your own PC at http://127.0.0.1:8384/ (or http://localhost:8384/). Your browser needs to accept cookies for it to work. Folders are listed on the left and devices on the right.

Security tip: by default the interface listens only on your own PC (127.0.0.1). If you ever make it reachable from other devices, the Syncthing FAQ says you should set a password and enable HTTPS, both of which you can do from inside the GUI.

Step 3: Pair the two PCs with device IDs

Each Syncthing installation has a unique device ID, generated the first time it runs. To see it, select Actions (top right) > Show ID.

  1. On PC 1, select Add Remote Device (bottom right) and paste in PC 2's device ID. Give it a friendly name if you like.

  2. Tick any folders you want to share with it, then select Save.

  3. Repeat on PC 2, adding PC 1's device ID.

Syncthing only connects two devices when both have each other's ID, so the docs say device IDs don't need to be kept secret; they're essentially part of the public key. After saving, the new device appears in the list and should connect within a minute or so.

Step 4: Share a folder

The quickest test is the Default Folder: share it with the other PC and drop a file in. The docs say adding files to a shared folder on either device will sync them to the other side.

To sync something more useful, select Add Folder. The GUI documentation lists three key fields: a descriptive Folder Label; a Folder ID, which must be the same on every device (the docs advise keeping the auto-generated one); and the Folder Path on your drive, for example a Documents subfolder, a photo folder or a folder of mod files. Then select which devices to share it with and add it, and syncing starts.

Step 5: Pick the right folder type

Syncthing has three folder types, and choosing the right one prevents nasty surprises:

Folder type

What it does

Good for

Send & Receive (default)

Sends changes to, and receives changes from, the other devices

Working files you edit on both PCs

Send Only

Changes from other devices are ignored on this PC; this device is the "reference copy"

The PC that holds the master copy of a photo or music library

Receive Only

Applies changes from other devices but doesn't send local changes out

Mirror copies, such as on a home server

On a Send Only folder that has gone out of sync, Syncthing shows an Override Changes button, and the docs warn that it forces this device's state onto the others: changed files are overwritten and files that don't exist on this device are deleted. Read the button before you press it.

Step 6: Ignore junk files with .stignore

You probably don't want temporary files, caches or huge build folders syncing. Create a file called .stignore in the root of the shared folder; the documentation says ignore files anywhere else aren't applied. Key rules from the documentation:

  • Each line is a pattern. A plain name such as Thumbs.db matches that file anywhere in the folder.

  • * matches any characters within a name; ** also matches across folders.

  • On Windows and macOS, patterns are always case-insensitive.

  • A line starting with // is a comment.

  • The (?d) prefix lets Syncthing delete ignored files if they'd otherwise stop an empty folder being removed, which is handy for OS-generated files such as (?d)Thumbs.db.

  • The .stignore file itself never syncs to other devices, so set it up on each one.

Step 7: Turn on file versioning

By default Syncthing keeps no old copies. That's risky: if you delete or overwrite something on one PC, the change syncs everywhere. Versioning is set per folder, on each device, and the documentation describes these strategies:

  • Trash Can: deleted or replaced files go into a .stversions folder, with an optional clean-out after a set number of days.

  • Simple: keeps a set number of old versions of each file.

  • Staggered: keeps more versions of recent changes and thins out older ones automatically.

One subtlety from the docs: versioning protects you against changes received from other devices. If you change a file on PC 1, the old copy is archived on PC 2 (if PC 2 has versioning on), not on PC 1. So turn versioning on for each device that needs protecting.

Syncthing isn't a backup

Syncthing's own FAQ is blunt: it isn't a great backup application, because all changes, including deletions, are copied to every device. Versioning helps, but the project encourages you to use other tools to keep your data safe. Keep a proper backup as well; our Windows Backup vs File History comparison explains Windows' built-in options.

If the PCs won't connect

  • Check your firewall. Syncthing's firewall documentation lists port 22000 over TCP and UDP for syncing and 21027/UDP for local discovery, and says your router must allow broadcasts and multicasts on the home network for local discovery to work.

  • For syncing over the internet, the docs say enabling UPnP on both Syncthing and your router is the easiest route; otherwise forward 22000/TCP and 22000/UDP. Without a port forward, Syncthing can fall back to relays, which work but are slower than a direct connection.

  • Give it time. The documentation notes that configuration changes aren't reflected instantly, especially after a restart.

Our verdict

Syncthing is the best free way to keep folders identical between your own PCs without paying for cloud storage or handing your files to a third party. Install it on both machines (the Syncthing Windows Setup installer is the easiest start), exchange device IDs, share a folder and choose the right folder type. Then add a .stignore file for junk and switch on versioning on every device. Just don't mistake it for a backup: deletions sync too, so keep a separate backup of anything important.

The bottom line

Syncthing is the best free way to keep folders identical between your own PCs without paying for cloud storage or handing your files to a third party. Install it on both machines (the Syncthing Windows Setup installer is the easiest start), exchange device IDs, share a folder and choose the right folder type. Then add a .stignore file for junk and switch on versioning on every device. Just don't mistake it for a backup: deletions sync too, so keep a separate backup of anything important.

Sources

  1. 01Syncthing: Syncthing (project homepage)
  2. 02Syncthing: Downloads
  3. 03Syncthing documentation: Getting Started
  4. 04Syncthing documentation: Folder Types
  5. 05Syncthing documentation: Ignoring Files
  6. 06Syncthing documentation: File Versioning
  7. 07Syncthing documentation: Firewall Setup
  8. 08Syncthing documentation: FAQ

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

How to Set Up a UPS to Shut Down Your PC Automatically

How-To

How to Set Up a UPS to Shut Down Your PC Automatically

How to make a UPS shut your PC down automatically in a power cut: connect the UPS's USB data cable, install the maker's software (CyberPower PowerPanel Personal as the example), choose Keep Computer Running or Preserve Battery Power, pick shutdown or hibernation, then test it.

Marcus Thorne7 min

Clonezilla vs Rescuezilla: Which Free Disk Imaging Tool Should You Use?

Versus

Clonezilla vs Rescuezilla: Which Free Disk Imaging Tool Should You Use?

Clonezilla vs Rescuezilla: both are free bootable disk imaging and cloning tools that share an image format. Clonezilla adds network destinations, encryption, scripting and mass deployment; Rescuezilla offers a point-and-click desktop, image browsing and extra rescue tools.

Callum Reid6 min

ShareX vs Snipping Tool: Which Free Screenshot Tool Should You Use?

Versus

ShareX vs Snipping Tool: Which Free Screenshot Tool Should You Use?

ShareX vs Snipping Tool: Windows' built-in Snipping Tool is quick and now does local OCR and video snips, while free, open-source ShareX adds scrolling captures, richer annotation, automated after-capture tasks, uploads and many extra tools. Here's which suits you.

Callum Reid7 min

How to Set Up SillyTavern with a Local LLM Using KoboldCpp

How-To

How to Set Up SillyTavern with a Local LLM Using KoboldCpp

How to set up SillyTavern with a local LLM: installing it on Windows or Linux, loading a GGUF model in KoboldCpp, connecting the two, tuning GPU layers to fit your graphics card's VRAM, adjusting context settings and fixing common problems.

Marcus Thorne8 min