Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

LocalSend Share Files Linux Windows: How To

· 6 min read · Home Tech

In this article
  1. What Is LocalSend?
  2. How LocalSend Works
  3. Installing LocalSend on Linux and Windows
  4. How to Send Files from Linux to Windows (and Vice Versa)
  5. Common Problems and Troubleshooting
  6. LocalSend vs. Other Methods
  7. Is LocalSend Safe and Private?
  8. Frequently Asked Questions

Yes, LocalSend works seamlessly between Linux and Windows, letting you share files, folders, and text over your local network without an internet connection. It is a free, open-source, cross-platform app that uses a peer-to-peer connection, so your files never pass through a third-party server.

What Is LocalSend?

LocalSend is a cross-platform file-sharing application that works on Windows, macOS, Linux, Android, iOS, and even Fire TV. It was created as a privacy-focused alternative to apps like Snapdrop or ShareIt, which often rely on cloud relays or require an internet connection. LocalSend communicates directly between devices on the same local network using a REST API and HTTPS encryption, so no data leaves your LAN unless you configure it otherwise.

How LocalSend Works

When you open LocalSend on a device, it broadcasts its presence on the local network using a discovery protocol. Other devices running LocalSend on the same network automatically see it in the device list. When you send a file, the app establishes a direct HTTP connection between the sender and receiver, encrypts the transfer with a TLS certificate, and then pushes the data. The receiver gets a notification and must accept the transfer before any data is saved. This design means transfers are fast (limited only by your Wi-Fi or Ethernet speed) and secure against eavesdropping on the same network.

Installing LocalSend on Linux and Windows

Getting LocalSend on both platforms is straightforward, but the installation method differs.

Windows Installation

  • Download the installer from the official LocalSend website (or the Microsoft Store, which has the same version).
  • Run the .exe file and follow the prompts. No special configuration is needed for basic use.
  • After installation, launch LocalSend from the Start menu. It will appear in the system tray.

Linux Installation

Linux users have several options, depending on their distribution:

  • Flatpak (recommended for most distros): flatpak install flathub org.localsend.localsend_app
  • Snap: sudo snap install localsend
  • AppImage: Download the .AppImage from the releases page, make it executable (chmod +x LocalSend-*.AppImage), and run it.
  • Debian/Ubuntu .deb: Download and install with sudo apt install ./localsend_*.deb
  • Arch Linux: yay -S localsend (from AUR)

After installation, launch LocalSend from your application menu. On some distros, you may need to allow the app through your firewall to receive transfers.

How to Send Files from Linux to Windows (and Vice Versa)

Once both devices have LocalSend running and are on the same network, the process is identical on both platforms:

  1. Open LocalSend on both the Linux and Windows machines.
  2. Wait a few seconds for the devices to discover each other. They should appear in the "Nearby devices" list.
  3. On the sending device, click the "Send" button (or drag and drop files onto the window).
  4. Select the files or folders you want to send.
  5. Click on the name of the receiving device (e.g., the Windows PC).
  6. On the receiving device, a pop-up will appear. Click "Accept" to save the file to the default download folder, or choose a different location.

That's it. The transfer will proceed, and you'll see a progress bar. Once complete, the file is saved on the receiving device.

Common Problems and Troubleshooting

While LocalSend is reliable, you might run into a few issues, especially on Linux.

Devices Not Discovering Each Other

  • Check the network: Both devices must be on the same subnet (e.g., both on the same Wi-Fi SSID or the same wired LAN). If you have a guest network or VLAN isolation, discovery will fail.
  • Firewall: On Linux, your firewall may block LocalSend. You can allow it with sudo ufw allow 53317/tcp and sudo ufw allow 53317/udp (if using UFW). On Windows, you may see a prompt to allow access; click "Allow".
  • VPN or proxy: If you're using a VPN, it can interfere with local discovery. Disable it temporarily.

Transfers Fail or Are Slow

  • Wi-Fi vs. Ethernet: Wired connections are faster and more stable. If you're on Wi-Fi, try moving closer to the router.
  • Large files: While LocalSend can handle large files, extremely large transfers (10+ GB) may take a while. Make sure both devices are not in sleep mode.
  • Antivirus: On Windows, some antivirus software may interfere with the connection. Temporarily disabling it can help diagnose the issue.

LocalSend vs. Other Methods

LocalSend isn't the only way to transfer files between Linux and Windows. Here's how it compares to alternatives:

  • USB drive / external HDD: Reliable but requires physical access and is slow for frequent transfers.
  • Cloud storage (Dropbox, Google Drive, etc.): Works anywhere but requires internet, has size limits, and your data passes through third-party servers.
  • Email: Simple for small files but has attachment limits and is not suitable for large folders.
  • Bluetooth: Slow and often not available on desktop Linux.
  • Python HTTP server: You can run python3 -m http.server on Linux and access files via browser on Windows, but it's not encrypted and requires manual setup for sending files both ways.
  • Shared network folder (SMB): Works well but requires configuration (Samba on Linux) and can be tricky to set up securely.

LocalSend's advantage is its simplicity, speed, and built-in encryption. It's the easiest option for occasional peer-to-peer transfers without any cloud involvement.

Is LocalSend Safe and Private?

Yes, LocalSend is designed with privacy in mind. The app is open-source, meaning anyone can audit the code. Transfers are encrypted with TLS, and the connection is direct between devices—no intermediary server. The only data shared is the device name and IP address on your local network. There's no telemetry, no ads, and no account required. However, as with any local network tool, it's important to only accept transfers from devices you trust, since anyone on the same network could send you a file.

Frequently Asked Questions

Does LocalSend work without internet?

Yes, LocalSend works entirely on your local network. As long as both devices are connected to the same router (via Wi-Fi or Ethernet), it will work even if your internet connection is down. The only exception is if you use the "Internet" mode, which requires a public IP or a relay server—but that's optional and not needed for typical LAN transfers.

Can I send folders with LocalSend?

Yes, LocalSend supports sending entire folders. On both Linux and Windows, you can drag and drop a folder into the LocalSend window, or use the "Send" button and select a folder. The folder will be compressed into a zip file on the receiving end (or sent as a folder, depending on the OS and settings).

Is LocalSend free?

Yes, LocalSend is completely free and open-source. There are no paid tiers, no premium features, and no ads. The project is maintained by volunteers and donations.

How do I change the default download location on Windows?

In LocalSend on Windows, go to Settings (the gear icon), then under "Receive", you can set a custom "Save to" directory. The default is your Downloads folder. On Linux, the setting is in the same place, but you may need to grant permission for the app to write to certain folders.

Why is my Linux device not showing up on Windows?

This is usually a firewall issue. On Linux, check if your firewall is blocking LocalSend. You can temporarily disable it (e.g., sudo ufw disable) to test. Also, ensure that both devices are on the same network segment—if you have a router with guest Wi-Fi, devices on the guest network may be isolated from the main network.

Can I send files between Linux and Android using LocalSend?

Yes, LocalSend is cross-platform, so you can send files between Linux, Windows, Android, iOS, and macOS. The process is the same: install the app on both devices, ensure they're on the same network, and send. This makes it a great tool for mixed-device households.