Local file sharing in your browser. Inspired by Apple's Airdrop.
open sourceGPL-3.0-onlyself-hostablefree
Snapdrop is a browser app for sending files between nearby devices, inspired by Apple's AirDrop: open the page on two devices on the same network and they see each other, and files go directly between the browsers over WebRTC, encrypted in transit, with a small server only introducing the devices. The classic version is a progressive web app with a vanilla JavaScript front end and a Node.js signaling server, GPL-3.0, which you can host yourself with Docker. Snapdrop was acquired by LimeWire, which runs snapdrop.net: it adds pairing devices on different networks with a 6-digit code or QR code and LimeWire share links for people who aren't nearby, with paid LimeWire plans for more link storage. The GitHub repository has stayed as it was since the acquisition (its last code change was in August 2024), and PairDrop is a fork that continued the classic app.
Ways to install
On your own server
Problems it solves
- send a photo from my Android phone to my Mac without installing an app
- an AirDrop alternative that works between iPhone and Windows
- move a file from my phone to my laptop on the same Wi-Fi without email or a cable
- share files between devices on my home network without uploading them to a cloud service
- a self-hosted web page for sending files between computers on our office LAN
- transfer files peer to peer in the browser so no server stores them
- send a file from my work PC to my personal phone without logging into anything
- pair my phone and my computer once so they find each other next time even on different networks
- share a file with someone who isn't nearby using a link that expires on its own
- a free browser tool to send a document between Linux and Android
- run my own instance of a drag-and-drop local file sharing site on a Raspberry Pi
Features
- devices on the same network discover each other in the browser
- direct peer-to-peer transfers over WebRTC, encrypted in transit; the server only handles signaling
- no account and no app needed: works in Safari, Chrome, Edge and Firefox on phones, tablets and computers
- installable progressive web app
- no database: files are never stored on the server in direct transfers
- self-hosting of the classic version with Docker Compose and an nginx configuration
- snapdrop.net: link devices on different networks with a 6-digit code or QR code; linked devices stay linked
- snapdrop.net: LimeWire share links for people who aren't nearby, up to 4 GB without an account, removed after three days
Limitations
- Large files to phones: a direct transfer reaches about 500 MB to a phone and a few GB to a computer, because the receiving browser holds the file in memory2
Ways to run it
Snapdrop (snapdrop.net)
free; paid LimeWire plans raise share link storage and daily traffic23
Only in this edition
- linking devices on different networks with a 6-digit code or QR code
- LimeWire share links for people who aren't nearby (up to 4 GB without an account, kept three days)
Classic Snapdrop
You arrange
- a server with Docker and Docker Compose, or Node.js behind nginx
- a reverse proxy that sets X-Forwarded-For, or every client behind it sees every other
- TLS with a trusted certificate for the PWA features
Forks
- PairDrop Transfer Files Cross-Platform. No Setup, No Signup. Its own project since 2023.
Alternatives
The same job
These do what Snapdrop does.
- LocalSend An open-source cross-platform alternative to AirDrop
- PairDrop Transfer Files Cross-Platform. No Setup, No Signup.
- ShareDrop Easy P2P file transfer powered by WebRTC - inspired by Apple AirDrop
- croc Easily and securely send things from one computer to another
- DashBeam Share files nearby and beyond
- KDE Connect Enabling communication between all your devices
