Google Colab

Google Colab Keyboard Shortcuts

Complete Google Colab keyboard shortcuts. Code execution, cell editing, and runtime management shortcuts.

15
Shortcuts
3
Categories
Free
100% Free

Cell Execution 4

Ctrl+Enter
Run Cell
Execute current cell
Shift+Enter
Run & Select Next
Execute cell and move to next
Alt+Enter
Run & Insert Below
Execute cell and create new cell below
Ctrl+Shift+Enter
Run All
Execute all cells

Cell Management 6

Ctrl+M+B
Add Code Cell Below
Insert code cell below current
Ctrl+M+A
Add Code Cell Above
Insert code cell above current
Ctrl+M+D
Delete Cell
Delete current cell
Ctrl+M+Y
Convert to Code
Convert cell to code cell
Ctrl+M+M
Convert to Text
Convert cell to text cell
Ctrl+M+Up/Down
Move Cell
Move cell up or down

Editing 5

Ctrl+/
Toggle Comment
Comment or uncomment lines
Tab
Indent
Indent code
Shift+Tab
Dedent
Dedent code
Ctrl+]
Indent Selection
Indent selected lines
Ctrl+[
Dedent Selection
Dedent selected lines
📄 View Printable Cheat Sheet — Download as PDF or print

→ Related guide: Keyboard shortcuts every data scientist should know

No shortcuts found

Frequently Asked Questions

What Cell Management shortcuts does Google Colab have?

Google Colab includes 6 Cell Management shortcuts, including Ctrl + M + B (Add Code Cell Below) and Ctrl + M + A (Add Code Cell Above). See the full list in the Cell Management section above.

What Editing shortcuts does Google Colab have?

Google Colab includes 5 Editing shortcuts, including Ctrl + / (Toggle Comment) and Tab (Indent). See the full list in the Editing section above.

Can I combine Google Colab shortcuts with other tools?

Yes — use My Stack to combine Google Colab shortcuts with any other platform on this site into one printable reference, which is useful if your daily workflow spans several tools.

Copied!
🔧 Spotted an error or a missing shortcut? Suggest an edit on GitHub — every accepted fix goes live on this page, the API and the CLI.

🤖 Ask AI about Google Colab shortcuts

Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"

ChatGPT Claude Perplexity Gemini Grok