Google Colab VS Code Extension

April 7, 2026 ยท View on GitHub

Colab is a hosted Jupyter Notebook service that requires no setup to use and provides free access to computing resources, including GPUs and TPUs. Built atop the Jupyter extension, this extension exposes Colab servers directly in VS Code!

Quick Start

  1. Install VS Code.
  2. Install the Colab extension from either the Visual Studio Marketplace or Open VSX.
  3. Open or create a notebook file.
  4. When prompted, sign in.
  5. Click Select Kernel > Colab > Auto Connect.
  6. ๐Ÿ˜Ž Enjoy!

Connecting to a new Colab server and executing a code
cell

See our user guide for more things you can do!

Commands

Activate the command palette with Ctrl+Shift+P or Cmd+Shift+P on Mac.

CommandDescription
Colab: Remove ServerSelect an assigned Colab server to remove.
Colab: Sign OutSign out of Colab.
Colab: Mount Google Drive to Server...Append a code snippet to the active notebook to mount Google Drive.

Contributing

Contributions are welcome and appreciated! See the contributing guide for more info.

Data and Telemetry

This extension collects identifiable usage data and error reports to improve your experience. Telemetry collection respects VS Code's built-in telemetry setting. To opt out, set telemetry.telemetryLevel to "off" in your VS Code settings.

See Colab's Terms of Service and the Google Privacy Policy, which apply to usage of this extension.

Security Disclosures

Please see our security disclosure process. All security advisories are managed on GitHub.