Syncthing: Free Open Source Cloud Sync Alternative
In this article
Yes, the app you're referring to is almost certainly Syncthing, a free, open-source, peer-to-peer file synchronization tool that replaces cloud services like Google Drive and OneDrive. Instead of storing your files on a third-party server, Syncthing connects your own devices directly, keeping folders in sync with end-to-end encryption and no file size limits or storage quotas. This article explains what Syncthing is, how it works, how to set it up, and where it excels and falls short compared to traditional cloud storage.
Background: Why People Leave Google Drive and OneDrive
Cloud storage services are convenient, but they come with trade-offs that push some users to self-hosted alternatives:
- Storage costs: Free tiers are limited (typically 5–15 GB), and paid plans add up, especially for families or creators with large media libraries.
- Privacy concerns: Files are stored on company servers, subject to their terms, data retention policies, and potential government requests.
- Speed bottlenecks: Uploading and downloading through a central server can be slow, especially for large files or when both devices are on the same local network.
- File size limits: Some services cap individual file uploads (e.g., 250 GB on some paid plans), which is restrictive for video editors or researchers.
Syncthing emerged in 2013 as a project that directly addresses these pain points. It's not a new idea—rsync and BitTorrent Sync (now Resilio) came before—but Syncthing is fully open source (MPL 2.0) and has no commercial tie-in, which appeals to privacy advocates and tinkerers.
How Syncthing Works
Syncthing uses a peer-to-peer (P2P) architecture. Every device runs the Syncthing client, and devices are connected directly to each other, either over LAN or the internet. Here's the core process:
- Install and launch: Syncthing runs as a background service on Windows, macOS, Linux, Android, and even NAS devices like FreeNAS or Raspberry Pi.
- Add folders: You designate a folder on one device to sync, then share it with other devices by adding their unique Device IDs.
- Connection: Devices find each other using a global discovery server (which only knows your IP address, not your files) and then connect directly, often via NAT traversal (UPnP or hole punching).
- Sync: Files are transferred in blocks, with only changed parts sent (delta sync). Each device verifies file integrity using SHA-256 hashes.
- Conflict resolution: If two devices edit the same file simultaneously, Syncthing keeps both versions, appending a conflict marker (e.g.,
file (conflicted copy 2025-01-15 103000).txt) to one.
All traffic is encrypted with TLS, and you can add an optional password to each device's key store. The web-based GUI (usually at localhost:8384) shows a live graph of connected devices and transfer speeds.
Setting Up Syncthing: A Step-by-Step Guide
Getting started is straightforward, but the initial configuration is more manual than signing into a cloud service. Here's a typical setup for two devices (e.g., a desktop and a laptop):
- Install Syncthing on both devices from the official website or your package manager (e.g.,
apt install syncthingon Debian/Ubuntu, or the installer for Windows). - Open the web GUI on each device. You'll see a Device ID (a long string of letters and numbers) in the top right corner.
- Add each other: On Device A, click “Add Remote Device” and paste Device B's ID. Do the same on Device B.
- Share a folder: On Device A, click “Add Folder,” give it a label and path (e.g.,
C:\Users\you\Documents), then check the box for Device B in the “Sharing” tab. Accept the folder on Device B when prompted. - Adjust settings: For first-time use, leave defaults. You may want to enable “Sync Ownership” or “Watch for Changes” (which uses filesystem events to trigger faster syncs).
- Test: Create a file in the folder on Device A. Within seconds, it should appear on Device B.
For syncing over the internet, ensure your router allows UPnP or manually forward port 22000. If that's not possible, you can configure a relay server, but that reduces speed and privacy (the relay sees encrypted data).
Syncthing vs. Google Drive and OneDrive: A Comparison
Here's a practical breakdown of where each shines:
- Cost: Syncthing is free forever, with no storage limits. Google Drive gives 15 GB free, then $1.99/month for 100 GB; OneDrive gives 5 GB free, then $1.99/month for 100 GB.
- Privacy: Syncthing is end-to-end encrypted; the provider (you) controls all data. Cloud services can scan files (e.g., Google's AI features) and are subject to subpoenas.
- Access from anywhere: Cloud services win here—you can open a browser on any computer and access files. With Syncthing, you need the client installed and the device online.
- Collaboration: Google Drive and OneDrive support real-time co-editing (Google Docs, Office Online). Syncthing is for file sync, not collaborative editing—it's a drop-in replacement for a folder, not for Google Docs.
- Versioning: Cloud services keep file history for 30 days (free) or 120 days (paid). Syncthing has built-in versioning (e.g., “Staggered” keeps versions at intervals), but it's less polished and you must configure it per folder.
- Speed: On a LAN, Syncthing is often faster than cloud upload/download because it's direct. Over the internet, it depends on your connection and whether both devices are online.
Common Problems and Solutions
New users often hit these issues:
- Devices don't connect: Check that both are online, firewalls allow port 22000, and the Device IDs are correct. Use the “Test” button in the GUI to see the connection status.
- Files not syncing: Ensure the folder is shared with the remote device and that the remote device accepted it. Look for red exclamation marks in the GUI—they usually indicate a path error or permission issue.
- Conflicts: If you see “conflicted copy” files, it means both devices edited a file before syncing. You'll need to manually merge them. To reduce this, enable “Watch for Changes” and avoid editing the same file on multiple devices simultaneously.
- High CPU usage: Syncthing indexes large folders, which can be CPU-intensive. Limit the number of folders or use “File Versioning” to reduce overhead.
- Mobile battery drain: On Android, Syncthing can run in the background, but you can set “Run conditions” (e.g., only when charging and on Wi-Fi) to save battery.
Is Syncthing Safe? Security and Encryption
Syncthing is generally considered safe, but it's important to understand its security model:
- Encryption in transit: All data is encrypted with TLS 1.3 by default. No one can intercept your files in transit.
- No cloud storage: Files are only on devices you control, so there's no server to breach (unless you run your own relay).
- Device authentication: Each device has a unique key pair. You must explicitly add a device's ID to trust it—this prevents unauthorized connections.
- Potential risks: If a device is compromised (e.g., malware), that device can read all synced files. Also, if you use a relay server (when direct connection fails), the relay operator can see metadata (timing, size) but not content due to encryption.
- Backup caution: Syncthing is not a backup solution—if you delete a file on one device, it deletes everywhere. Use versioning or a separate backup tool to protect against accidental deletion.
For most users, Syncthing is as safe as any cloud service, with the added benefit of not trusting a third party.
Alternatives to Syncthing
If Syncthing doesn't fit your needs, consider these alternatives:
- Nextcloud: A self-hosted cloud suite that gives you a web interface, file sharing, calendar, and contacts. It's more like a private Dropbox but requires a server (or a cheap VPS).
- Resilio Sync: A commercial P2P sync tool (free for personal use) with a more polished GUI and better performance on some platforms, but not open source.
- Seafile: An open-source file sync and share platform with client-side encryption. It's more complex to set up than Syncthing but offers team features.
- rsync + cron: For Linux users, a simple script that runs rsync over SSH can sync folders manually, but it lacks real-time watching and conflict resolution.
Each has trade-offs in ease, features, and cost. Syncthing is the best choice if you want a free, simple, and private folder sync without running a server.
Frequently Asked Questions
Is Syncthing truly free?
Yes, Syncthing is open source (MPL 2.0) and free forever. There are no premium tiers, no ads, and no paid features. You only pay for the hardware you run it on.
Can Syncthing replace Google Drive for collaboration?
No, not for real-time collaboration. Syncthing syncs files, but it doesn't offer web-based document editing or simultaneous co-authoring. For that, you'd need to pair Syncthing with a tool like OnlyOffice or just use Google Docs for editing and Syncthing for storage.
Does Syncthing work on mobile phones?
Yes, there's an official Android app (Syncthing Android) and third-party clients for iOS (e.g., Möbius Sync). The Android app supports background syncing, but iOS is more restricted due to system limitations—you must keep the app open or use a workaround.
What happens if I edit a file on two devices at once?
Syncthing will keep both versions and rename one with a “conflicted copy” suffix. You need to manually decide which version to keep and delete the other. This is a common source of confusion, so it's best to avoid simultaneous edits.
Can I sync a folder with someone else over the internet?
Yes, as long as both of you have Syncthing installed and your devices can connect (directly or via relay). You share the folder with their Device ID, and they accept it. This is a secure way to share files without a cloud service.
Is Syncthing a good backup solution?
No, Syncthing is not a backup. It mirrors deletions and changes, so if you accidentally delete a file, it disappears from all devices. Use Syncthing's “File Versioning” feature to keep old versions, or pair it with a dedicated backup tool like Vorta or a simple external drive copy.