Connect your devices
How an Android phone shares storage, and how Android, Windows, macOS and Linux connect to each other. Pick your situation, then follow the pictures.
Which connection do I use?
| Host → Guest | Nearby (no Wi-Fi needed) | Same Wi-Fi or hotspot |
|---|---|---|
| Android → Android | Yes | Yes |
| Android → Windows / macOS / Linux | No | Yes |
| Windows / macOS / Linux → Android | No | Yes |
| Computer → Computer | No | Yes |
Computers cannot use Google's Nearby Connections, so they always connect over a shared network. A phone's own hotspot counts: switch it on, join it from the computer, and you are on the same network.
Share storage from an Android phone
The phone that has the spare space is the host. Do this once; afterwards it is one switch.
- Open SettingsPick Shared storage limit (5 GB, 10 GB or custom) and Storage location. A visible folder is recommended.
- Choose the folderThe first time you share, Android asks you to pick a folder. Guest files will appear there with real names.
- Choose who can connectAsk each time, only devices you approved, or anyone nearby with limits. Set default permissions.
- Switch on Share my storageOn Home. The phone is now visible and shows its address, for example
192.168.1.20:45820. - Allow new devicesWhen someone connects, a request with a 6-digit code appears. Press Allow if the code matches their screen.
Tap the bell icon on Home to see connected devices. Open a device to set what it may do (view, upload, replace, delete, create folders), its own storage limit and how long it has access, or to revoke or block it.
Android to Android with Nearby
No router and no internet needed. Both phones should be within a few metres, with Bluetooth and Location switched on.
- Host: shareSwitch on Share my storage (steps above).
- Guest: Nearby tabOpen Nearby and tap Scan for devices. Allow Nearby devices, Bluetooth and Location if asked.
- Guest: pick the hostThe host's name appears in the list. Tap Connect.
- Compare the codeBoth phones show the same 6 digits. Guest: Yes, the codes match. Host: Allow.
- Use the filesThe Files tab opens with the host's storage. Next time it reconnects without a code.
Android to Android over Wi-Fi or a hotspot
Use this when Nearby is unreliable, when the phones are farther apart, or when the guest is not an Android phone. Both devices join the same Wi-Fi, or one phone turns on its hotspot and the other joins it.
- Same networkPut both devices on the same Wi-Fi, or turn on one phone's hotspot and join it.
- Host: shareSwitch on Share my storage. Note the address under the status chip.
- Guest: Nearby tabScan. Hosts on the network appear with a network icon. If not, tap Connect by address and type the address.
- PairCompare the 6-digit code and allow, exactly as above.
Android and a computer (Windows, macOS, Linux)
Install the desktop app on the computer. Both devices must be on the same network. The easiest setup is the phone's hotspot: turn it on, join it from the computer.
A phone shares, a computer uses it
- Phone: shareSwitch on Share my storage. Note the address, for example
192.168.1.20:45820. - Computer: open the appOn the Use nearby storage tab the phone appears under Hosts on your network. Click Connect. If it is missing, type the address under Connect by address.
- Compare the codeThe computer shows a 6-digit code. Click Yes, the codes match, then press Allow on the phone.
- Work with the filesBrowse, upload, save to the computer, open, rename and delete. Next time the paired host connects without a code.
A computer shares, a phone or computer uses it
- Computer: shareOpen the Share my storage tab and switch sharing on. Allow the firewall prompt for private networks the first time. The addresses are shown.
- Phone: Nearby tabScan, or use Connect by address with the address the computer shows.
- PairThe computer asks you to allow the new device with a code. Compare the code on both screens and press Allow.
- ManageOn the computer, tap a device to set permissions and limits. Received files lists everything it sent; Show in folder opens the file in File Explorer, Finder or your file manager.
What happens when two devices pair
If it does not connect
- Both devices on the same network? Try the phone's hotspot.
- Host not listed? Use Connect by address.
- Computer firewall: allow the app on private networks (Windows), allow incoming connections (macOS), or open TCP 45820 and UDP 45821 (Linux).
- Android: allow Nearby devices, Bluetooth and Location, and switch Location on.
More fixes are on the Help page.