The fast, secure, PHP-only solution for AirDrop-style file sharing, hosted on your own server.
Download FREE Now (Single File)PairDrop is a **self-contained, open-source PHP script** designed to replicate the "ad hoc" file sharing experience like AirDrop, but accessible via a web browser and ensuring maximum **privacy** through your own hosting. It requires no database, complex dependencies, or elaborate configuration. It is a single `index.php` file that handles everything, from creating *private rooms* to managing uploads and downloads.
You host the script on your server. Your files never touch third-party servers. You have complete control over your data.
No frameworks, no database. It uses pure PHP for minimal execution speed and low server load.
Features a modern, clean, and professional design, completely **mobile-friendly**, with the option to set Dark Mode (default) or Light Mode.
Sharing occurs in unique, private rooms. Only those with the unique room code can access and view the files.
The PairDrop Rooms script is released for free under an open-source license. It consists of a single PHP file that you can upload directly to your server.
Click the button below to download the latest version:
Download PHP Pairdrop (Single File)(Save and Extract on your web server.)
Installing PairDrop Rooms is incredibly simple and takes just a few minutes:
You only need a web server (Apache/Nginx) with **PHP 7.4+** enabled, and write permissions to create folders and files.
Upload the **`index.php`** file (downloaded above) to a subdirectory of your domain, for example: /public_html/drop/
Configuration: Modify the `CONFIGURATION` section at the top of the file to customize the maximum file size or the default theme (`'dark'` or `'light'`):
// ═══════════════════════════════════════════════════════════
// CONFIGURATION
// ═══════════════════════════════════════════════════════════
define('BASE_DIR', __DIR__ . '/rooms/');
define('MAX_FILE_SIZE', 50 * 1024 * 1024); // Max 50MB
define('DEFAULT_THEME', 'dark'); // Set 'dark' or 'light'
// ...
Open your browser to the URL where you uploaded the file (e.g., https://yourdomain.com/drop/). Enter a room code and start sharing files!
*Important: Ensure PHP has write permissions in the folder where `index.php` is located to create the `rooms/` folder.
PairDrop Rooms is a free project created for the community. If you find the script useful, please consider a small donation. Your support helps maintain and improve the code.
Support with a Paypal DonationThank you for your support!