CopyPaster logo
Copy Paste Room

Share text, files, and chat with devices on the same public IP.

Public-IP room · real-time sync

How to Copy Paste Between a Virtual Machine and Your Host Computer

August 6, 2026
3 min read
CopyPaster Team

Running a virtual machine puts an entire second operating system inside a window on your screen — and by default, that window is more isolated than it looks. Copy-paste between your host computer and the VM running inside it doesn't work out of the box in most setups, which surprises people the first time they try it.

Why VMs don't share a clipboard with the host by default

A virtual machine is deliberately sandboxed from the host system for security and stability reasons. Clipboard sharing is a convenience feature that has to be explicitly enabled, since allowing a VM unrestricted access to the host's clipboard is exactly the kind of boundary-crossing that sandboxing is meant to prevent by default.

Enabling clipboard sharing in common VM software

VirtualBox

  1. With the VM running, go to Devices → Shared Clipboard.
  2. Select "Bidirectional" to allow copy-paste in both directions, or a one-way option if that is all you need.
  3. If this option is greyed out, Guest Additions may not be installed — install them from Devices → Insert Guest Additions CD image, following the prompts inside the VM.

VMware (Workstation / Fusion)

  1. Go to VM → Settings → Options → Guest Isolation.
  2. Enable "Enable copy and paste" (and "Enable drag and drop" if you want that too).
  3. Ensure VMware Tools is installed inside the guest OS — clipboard sharing depends on it.

If clipboard sharing still isn't working after enabling it

  • Restart the VM after installing Guest Additions or VMware Tools — the setting frequently doesn't take effect until the guest OS restarts.
  • Confirm the guest OS itself has clipboard access enabled, particularly on Linux guests, where a clipboard manager or compositor setting can occasionally interfere.
  • Check for host-level security software that might be blocking clipboard access between the VM and host as a security measure.

A network-based alternative if VM clipboard sharing is unreliable

If your specific VM setup keeps having clipboard issues, or you are using a cloud-based VM without direct clipboard integration at all, a browser-based tool like CopyPaster works regardless of virtualization software — as long as both the host and the VM (through its own browser) can reach the same network, text and files sync the same way they would between any two separate devices.

Tip: for a cloud VM accessed remotely, clipboard sharing depends on your remote desktop protocol's own settings (RDP, VNC, etc.) rather than the VM software itself — check that layer specifically if you are connecting to a remote rather than local VM.

The bottom line

VM clipboard sharing is off by default for good reason, but turning it on is usually a two-minute settings change plus a guest tools installation. When it stays unreliable, a browser-based tool sidesteps the VM software's clipboard bridge entirely.

Frequently Asked Questions

QHow do I enable clipboard sharing in VirtualBox?

Go to Devices, Shared Clipboard, and select Bidirectional. If the option is greyed out, install Guest Additions first from the Devices menu.

QHow do I enable clipboard sharing in VMware?

Go to VM, Settings, Options, Guest Isolation, and enable Enable copy and paste. VMware Tools must be installed inside the guest OS for this to work.

QWhat if VM clipboard sharing still does not work after enabling it?

Restart the VM after enabling the setting, confirm the guest OS itself allows clipboard access, and check for host security software that might be blocking it.

Related articles

Explore more