Back to services

Pairdrop

Local file sharing in your browser, inspired by Apple's AirDrop (fork of Snapdrop).

View alternatives to Pairdrop
Suggest edit
Open source
Self-hostable
GPL-3.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Introduction

PairDrop's tagline is "Transfer Files Cross-Platform. No Setup, No Signup." It is an open-source web app that can be seen as a multi-platform alternative to AirDrop. It works on any device with a modern browser, and lets you send images, documents or text peer-to-peer between devices on the same local network, as well as over the internet. The official public instance is pairdrop.net, and the project is released under the GPL-3.0 license.

Key Features

Peer-to-peer transfer on the local network

  • Devices on the same local network automatically discover each other and send files and text peer-to-peer via WebRTC.
  • Transfers only start after the recipient accepts the request. Once a transfer finishes, the file is downloaded automatically where possible, and multiple files are bundled into a ZIP for download.
  • You can send several files at once, with overall progress displayed.

Device pairing and public rooms (transfer over the internet)

  • Persistent pairing: Pair devices using a 6-digit code or a QR code. Paired devices find each other through a shared secret regardless of which network they are on; pairings persist after you reopen PairDrop, and you can also edit or unpair them.
  • Temporary public rooms: Join a room by entering a 5-letter code or scanning a QR code, and all devices in the same room can see each other. When you close PairDrop, you automatically leave all rooms.
  • Supports complex network environments such as public Wi-Fi, corporate networks, iCloud Private Relay, VPNs and mobile hotspots. When a device is behind NAT, the connection is relayed through a TURN server.

Multiple ways to send

  • Send directly from the Share menu on Android and iOS.
  • Send from the Windows context menu and the Ubuntu (Nautilus) context menu.
  • Send from the command line (CLI).

Other features

  • You can set a custom display name to make it easier to tell devices apart.
  • You can paste files or text first, then choose the recipient.
  • Prevents the device from going to sleep during a transfer, and warns you before you close the page.
  • Supports video and audio previews, as well as HEIC/HEIF image conversion.
  • Supports dark, light and system-following themes, and can be open in multiple tabs at the same time.
  • Can be installed as a PWA, and the interface has been translated into many languages by the community via Weblate.

Target Users and Use Cases

Suitable for individuals who often transfer files between devices running different systems, such as phones and computers. For example, sending files from a phone to a laptop, sharing original-quality photos between Android and iOS users, or sending private files peer-to-peer between Linux systems. It is also suited to users who want to self-host a transfer service on a home or company local network (for example, on a Raspberry Pi).

Core Strengths

  • No client to install and no signup; just open a browser and use it.
  • Covers platforms including Windows, macOS, Linux, Android and iOS.
  • Peer-to-peer transfer, so files don't pass through third-party storage.
  • Free and open source, and can be self-hosted.

Tech Stack

  • The frontend uses vanilla HTML5 / JS ES6 / CSS3.
  • Communicates via WebRTC / WebSockets, with a Node.js backend.
  • Uses IndexedDB to store data and zip.js to bundle files.

Self-Hosting

Docker (easiest):

docker run -d --restart=unless-stopped --name=pairdrop -p 127.0.0.1:3000:3000 lscr.io/linuxserver/pairdrop

You can also use the GitHub image ghcr.io/schlagmichdoch/pairdrop, or build the image yourself. The project also provides a Docker Compose example.

Node.js:

git clone https://github.com/schlagmichdoch/PairDrop.git && cd PairDrop
npm install
npm start

It listens on port 3000 by default, which can be changed with the PORT environment variable. In production, you can run npm run start:prod (automatic restarts and rate limiting enabled).

Deployment notes:

  • You need to set the X-Forwarded-For header through a reverse proxy, otherwise all clients will be visible to each other.
  • To transfer between different networks, you need to set up your own TURN server (for example coturn; the repository provides docker-compose-coturn.yml), or you can use a public TURN service, and the STUN/TURN configuration can be customized.
  • It is recommended to serve it over HTTPS. On some browsers, features such as PWA installation, persistent pairing, changing the display name and notifications require TLS to work properly.
  • Optional environment variables include WebSocket fallback (WS_FALLBACK), rate limiting (RATE_LIMIT), debug mode (DEBUG_MODE) and others.