How-to · Privacy
Send a large file from your phone to a laptop without uploading it
Open P2P File Share on both devices, type the code and the file streams between the two browsers. No account, no cloud copy, no size limit set by the site.
HarshFounder, DoYourPDF7 min read
To send a large file from your phone to a laptop without uploading it, open P2P File Share on the phone, add the file and press "Start sharing", then scan the QR code with the laptop (or type the 6-character code there) and press "Receive". The file goes from one browser to the other over an encrypted connection, directly when the networks allow it. There is no account, no cloud copy to delete later, and the site sets no size limit.
I built P2P File Share for the jobs where email says the file is too big: a scanned home loan file, a folder of photos for a visa application, a screen recording for a colleague, a PDF your laptop needs for printing. It works between any two devices with a browser: phone to laptop, laptop to phone, Android to iPhone.
What you need
- Both devices online. They can be on different networks, such as phone data on one and office Wi-Fi on the other. The internet is used to introduce the two browsers; the file itself never sits on a server.
- A browser on each. Chrome, Safari, Edge or Firefox. Nothing to install and no sign-up.
- Both pages open until it finishes. Nothing is kept anywhere in between, so if the sending page closes, the transfer stops.
Step 1: start sharing on your phone
Open P2P File Share on the phone and choose the files. You can pick several, of any type, and Add more before you start. The page shows how many files and their total size.
If the files are private, type a password (optional). Then press Start sharing. You get a 6-character share code, a QR code and a link to copy. Leave this page open on the screen; it says "Waiting for the other device… keep this page open."
Step 2: receive on the laptop
Use whichever is easiest:
- Type the code (usually quickest on a laptop). Open doyourpdf.com/p2p-share on the laptop, choose Receive files, type the code and press Connect. The code leaves out letters and digits that look alike, such as
oand0, so it is easy to read across a desk. - Open the link. Copy it on the phone, send it to yourself in a chat you can open on the laptop, and open it there; it connects by itself.
- Scan the QR code. Handy when the receiver is another phone or a tablet: point its camera at the code and open the link.
The laptop first shows the incoming file names and sizes. Nothing arrives until you press Receive (or, with a password, type it and press Unlock and receive).
Step 3: save the files
A progress bar shows how much has arrived. When it says Received, download each file with its download button, or press Download all when there are several; your browser may ask once whether the site can download multiple files. They land in the laptop's usual Downloads folder.
Each file is checked against the size the phone announced. If one didn't arrive whole, it is left out and the page names it, so you never save a broken copy; share again to resend it.
The phone then says "Sent! You can share again with the same code." Another device can use the same code while the phone's page stays open, which helps when two people need the same file. Press Stop sharing when you're done.
How private is it?
Here is exactly what touches the network, as the code does it:
- A public connection service (PeerJS) and Google's STUN server help the two browsers find each other. They see that two browsers are connecting, not your files.
- Your files travel through an encrypted WebRTC channel, directly between the devices when the networks allow it. If a network blocks that, the encrypted stream is passed on through a relay server that only passes the encrypted data on and can't read it.
- With a password, each file is also encrypted with AES-256 on the phone before it leaves, and only a device where the same password is typed can decrypt it. Tell the person the password by phone or in person, not in the same message as the link.
Anyone with the code can receive while your page is open, so use a password for anything personal, such as ID proofs, bank statements or medical reports. The privacy page lists every request the site makes.
How big can the file be?
The site sets no limit. The receiving browser keeps the files in memory until you close that page, so the real limit is the receiving device's free memory. That is one more reason phone to laptop is the easy direction: a laptop usually has far more room than a phone. For very large videos, close other tabs on the receiving side first.
Speed depends on the slower of the two connections, and on whether the files can go directly or have to pass through the relay.
When email or WhatsApp is the easier route
For a small file, use what you already have. These are the limits each service states on its own pages:
| Route | Limit | What happens above it |
|---|---|---|
| Gmail (personal account) | 25 MB of attachments | Gmail removes the attachment and adds it as a Google Drive link (Gmail Help) |
| Outlook.com | 25 MB for the whole email, text included | Files linked from OneDrive don't count, up to 2 GB per linked file (Microsoft Support) |
| Files up to 2 GB, as announced in 2022 (WhatsApp blog) | The post doesn't say |
The Drive and OneDrive routes work well, but they put a copy of the file in your cloud storage, which you then have to remember to delete. P2P File Share is for when you'd rather the file only ever exists on your two devices, or you don't want to sign in to anything on a borrowed or office laptop.
If the file is a PDF and the person needs it under an email limit, Compress PDF can aim for a size such as 1 MB, and how to compress a PDF for online forms explains what to expect.
Android's Quick Share
Android phones have Quick Share built in. Google says it works with Android 6 and later, Chromebooks and select Windows PCs through its Quick Share for Windows app. When an Android phone without Quick Share support for AirDrop sends to an iPhone, iPad or Mac, it shows a QR code instead, and Google's page says the files are end-to-end encrypted and uploaded to Google's servers, both devices need internet access, and the files stay available to download for 24 hours (Google Android Help). If both of your devices support Quick Share, it is a good choice; P2P File Share works the same on any device with a browser.
If it doesn't connect
- "No one is sharing with that code right now." Check the code, and that the sharing page is still open on the phone. If the phone's page was closed, start sharing again for a new code.
- "The other device didn't answer." Same checks; also make sure both devices are online.
- "Couldn't reach the connection service." One of the devices is offline, or its network blocks the service. Try phone data instead of the office Wi-Fi.
- The transfer stopped part way. The connection dropped or the sending page closed. Connect again with the code, or start sharing again if the page was closed; the whole transfer starts over, so save what you need once it says Received.
Once the file is on the laptop, you can work on it there: Merge PDF joins scans you sent one by one, and every other tool runs in the laptop's browser the same way, without uploading anything.
Questions people ask
How do I send a large file from my phone to my laptop without a cable?
Open P2P File Share on the phone, add the file and press "Start sharing". On the laptop, choose "Receive files", type the 6-character code and press "Connect", or open the share link there. Press "Receive" on the laptop and keep both pages open until it finishes.
Is the file uploaded to a server?
It isn't stored anywhere. A public connection service introduces the two browsers, then the file goes from one device to the other over an encrypted WebRTC connection. If the networks block a direct link, the encrypted stream is passed on through a relay server that only passes the encrypted data on and can't read it.
Is there a size limit?
The site sets none. The receiving browser holds the files in memory until you close that page, so a very large transfer depends on the receiving device's free memory. A laptop usually has more room than a phone.
Do both devices need to be on the same Wi-Fi?
No. Both need an internet connection, because the two browsers find each other through the connection service, but they can be on different networks, such as phone data and home Wi-Fi.
What is the password for?
It's optional. With a password, every file is encrypted with AES-256 on your phone before it is sent, and only someone who types the same password can receive it. The file names and sizes still show before the password is typed.
What are the Gmail, Outlook and WhatsApp limits?
Gmail's limit for attachments on a personal account is 25 MB; bigger files are added as a Google Drive link instead. Outlook.com's limit is 25 MB for the whole email. WhatsApp said in 2022 that you can send files up to 2 GB.