✔︎ Last updated on November 25th, 2023
Using vector programs like Excalidraw can be a bit of a hassle without keyboard shortcuts. Clicking and dragging the mouse to select and draw things can get tiring after a while. What takes the mouse a few seconds to do can be done instantly with a keyboard shortcut.
So, it’s a good idea to learn the keyboard shortcuts for the program you use regularly. To make things easier, here’s a list of all the keyboard shortcuts for Excalidraw for both Windows as well as Mac.
Excalidraw Keyboard Shortcuts for Windows
Excalidraw comes with all the built-in hotkeys you’d expect from a whiteboarding program.
You can use the Hand (panning tool) by pressing H, which allows you to move around the canvas effortlessly. The Selection tool, triggered by V or 1, enables you to select objects quickly. Creating various shapes is also a breeze with Excalidraw shortcuts; press R for a Rectangle, O for an Ellipse, and A for an Arrow. The Text tool is accessible with T, perfect for adding annotations or labels. If you need to insert an image, simply press 9. For erasing mistakes, the Eraser is available with E.
Also read: The Ultimate Excalidraw Tutorial for Beginners
Excalidraw also includes hotkeys for essential editing and viewing commands. To edit line or arrow points, use Ctrl + Enter, and to finish editing text, Esc or Ctrl + Enter will do the trick.
You can zoom in and out of your canvas with Ctrl + + and Ctrl + –, respectively. To align objects perfectly, use Ctrl + Shift + followed by the arrow keys. When you need to duplicate an element, Ctrl + D or Alt + drag are your go-to commands. Lastly, to undo or redo an action, Ctrl + Z and Ctrl + Y or Ctrl + Shift + Z are the shortcuts you’ll need.
Lastly, if you forget any of the keyboard shortcuts, you can also pull up this list with the hotkey Shift + /
.
👉 The above keyboard shortcuts are for Windows. If you are on a Mac, use Command
in place of Ctrl
and Option
in place of the Alt
key. The full list of these keyboard shortcuts is also given below for both Windows as well as Mac, along with a printable PDF.
Excalidraw has divided these keyboard shortcuts into various categories. Here’s a list of them:
Tools
Tool | Press This |
---|---|
Hand (panning tool) | H |
Selection | V or 1 |
Rectangle | R or 2 |
Diamond | D or 3 |
Ellipse | O or 4 |
Arrow | A or 5 |
Line | L or 6 |
Draw | P or 7 |
Text | T or 8 |
Insert image | 9 |
Eraser | E or 0 |
Frame tool | F |
Laser pointer | K |
Pick a color from the canvas | I or Shift + S or Shift + G |
Edit line/arrow points | Ctrl + Enter |
Edit text / add label | Enter |
Pick a color from canvas | Enter or Shift + Enter |
Finish editing (text editor) | Esc or Ctrl + Enter |
Curved arrow | A + click + click + click |
Curved line | L + click + click + click |
Add a new line (text editor) | Q |
Prevent arrow binding | Ctrl |
Add/ Update link for a selected shape | Ctrl + K |
View
To Do This | Press This |
---|---|
Zoom in | Ctrl + + |
Zoom out | Ctrl + - |
Reset zoom | Ctrl + 0 |
Zoom to fit all elements | Shift + 1 |
Zoom to selection | Shift + 2 |
Move page up/down | PgUp or PgDn |
Move page left/right | Shift + PgUp or Shift + PgDn |
Move the page up/down | F |
Zen mode | Alt + Z |
Snap to objects | Alt + S |
Show grid | Ctrl + ' |
View mode | Alt + R |
Toggle theme | Alt + Shift + D |
Stats for nerds | Alt + / |
Editor
To Do This | Press This |
---|---|
Move canvas | Space + drag or Wheel + drag |
Reset the canvas | Ctrl + Delete |
Delete | Delete |
Cut | Ctrl + X |
Copy | Ctrl + C |
Paste | Ctrl + V |
Paste as plaintext | Ctrl + Shift + V |
Select all | Ctrl + A |
Deep select within the box, and prevent dragging | Shift + click |
Deep select | Ctrl + click |
Deep select within box, and prevent dragging | Ctrl + drag |
Copy to clipboard as PNG | Shift + Alt + C |
Copy styles | Ctrl + Alt + C |
Paste styles | Ctrl + Alt + V |
Send to back | Ctrl + Shift + [ |
Bring to front | Ctrl + Shift + ] |
Send backward | Ctrl + [ |
Bring forward | Ctrl + ] |
Align top | Ctrl + Shift + Up |
Align bottom | Ctrl + Shift + Down |
Align left | Ctrl + Shift + Left |
Align right | Ctrl + Shift + Right |
Duplicate | Ctrl + D or Alt + drag |
Lock/unlock selection | Ctrl + Shift + L |
Undo | Ctrl + Z |
Redo | Ctrl + Y or Ctrl + Shift + Z |
Group selection | Ctrl + G |
Ungroup selection | Ctrl + Shift + G |
Flip horizontal | Shift + H |
Flip vertical | Shift + V |
Show stroke color picker | S |
Show background color picker | G |
Decrease font size | Ctrl + Shift + < |
Increase font size | Ctrl + Shift + > |
Excalidraw Keyboard Shortcuts for Mac
Tools
Tools | Press This |
---|---|
Hand (panning tool) | H |
Selection | V or 1 |
Rectangle | R or 2 |
Diamond | D or 3 |
Ellipse | O or 4 |
Arrow | A or 5 |
Line | L or 6 |
Draw | P or 7 |
Text | T or 8 |
Insert image | 9 |
Eraser | E or 0 |
Frame tool | F |
Laser pointer | K |
Add a new line (text editor) | I or Shift + S or Shift + G |
Edit line/arrow points | Cmd + Enter |
Edit text / add label | Enter |
Keep the selected tool active after drawing | Enter or Shift + Enter |
Finish editing (text editor) | Esc or Cmd + Enter |
Curved arrow | A + click + click + click |
Curved line | L + click + click + click |
Keep selected tool active after drawing | Q |
Prevent arrow binding | Cmd |
Add/ Update link for a selected shape | Cmd + K |
View
To Do This | Press This |
---|---|
Zoom in | Cmd + + |
Zoom out | Cmd + - |
Reset zoom | Cmd + 0 |
Zoom to fit all elements | Shift + 1 |
Zoom to selection | Shift + 2 |
Fullscreen | PgUp or PgDn |
Move page left/right | Shift + PgUp or Shift + PgDn |
Full screen | F |
Zen mode | Option + Z |
Snap to objects | Option + S |
Show grid | Cmd + ' |
View mode | Option + R |
Toggle theme | Option + Shift + D |
Stats for nerds | Option + / |
Editor
To Do This | Press This |
---|---|
Move canvas | Space + drag OR Wheel + drag |
Reset the canvas | Cmd + Delete |
Delete | Delete |
Cut | Cmd + X |
Copy | Cmd + C |
Paste | Cmd + V |
Paste as plaintext | Cmd + Shift + V |
Select all | Cmd + A |
Deep select within the box, and prevent dragging | Shift + click |
Deep select | Cmd + click |
Deep select within box, and prevent dragging | Cmd + drag |
Copy to clipboard as PNG | Shift + Option + C |
Copy styles | Cmd + Option + C |
Paste styles | Cmd + Option + V |
Send to back | Cmd + Option + [ |
Bring to front | Cmd + Option + ] |
Send backward | Cmd + [ |
Bring forward | Cmd + ] |
Align top | Cmd + Shift + Up |
Align bottom | Cmd + Shift + Down |
Align left | Cmd + Shift + Left |
Align right | Cmd + Shift + Right |
Duplicate | Cmd + D or Option + drag |
Lock/unlock selection | Cmd + Shift + L |
Undo | Cmd + Z |
Redo | Cmd + Shift + Z |
Group selection | Cmd + G |
Ungroup selection | Cmd + Shift + G |
Flip horizontal | Shift + H |
Flip vertical | Shift + V |
Show stroke color picker | S |
Show background color picker | G |
Decrease font size | Cmd + Shift + < |
Increase font size | Cmd + Shift + > |
Printable PDF of Excalidraw hotkeys
You can also download these shortcuts in a printable PDF for quick reference:
Wrapping up
Using keyboard shortcuts can make using Excalidraw much faster. The shortcuts allow you to do things with a couple of key presses instead of clicking around with the mouse. This saves a lot of time and effort.
This article listed many useful Excalidraw shortcuts for both Windows and Mac computers. Things like zooming in and out, copying, pasting, and aligning objects can all be done using the keyboard within a second. The printable PDF lets you print out the shortcuts to keep next to your computer.
Also, remember that you can’t learn all the shortcuts but it’s worth learning some of the major ones. With some practice, you can use Excalidraw much faster using the keyboard. Refer back to the lists here and in the PDF to start using shortcuts for your diagrams and drawings. It will speed up your work and allow you to get more done.
I hope the pdf file containing the Excalidraw Keyboard shortcuts helped you in some way. If it did, don’t forget to share that with others.
Thanks for reading.
Further reading on Excalidraw: