Excalidraw keyboard shortcuts
Excalidraw's official shortcut map covers file actions, clipboard and layer operations, canvas modes, zoom, selection, and tool locking. Most commands use Ctrl on Windows and Linux or Command on macOS.
Windows, macOS, Linux · 38 shortcutsFile and command actions
Save, load, clear, export, or open the command palette from the canvas.
| Action | Windows | macOS | Linux |
|---|---|---|---|
| Save the drawing | CtrlS | CmdS | CtrlS |
| Open a drawing | CtrlO | CmdO | CtrlO |
| Clear the canvas | CtrlDelete | CmdDelete | CtrlDelete |
| Export the drawing as an image | CtrlShiftE | CmdShiftE | CtrlShiftE |
| Open the command palette | Ctrl/orCtrlShiftP | Cmd/orCmdShiftP | Ctrl/orCtrlShiftP |
| Show the keyboard shortcuts | ? | ? | ? |
| Search the menu | CtrlF | CmdF | CtrlF |
Clipboard and selection
Clipboard and selection commands work on the focused canvas selection.
| Action | Windows | macOS | Linux |
|---|---|---|---|
| Cut the selection | CtrlX | CmdX | CtrlX |
| Copy the selection | CtrlC | CmdC | CtrlC |
| Paste | CtrlV | CmdV | CtrlV |
| Copy styles | CtrlAltC | CmdOptionC | CtrlAltC |
| Paste styles | CtrlAltV | CmdOptionV | CtrlAltV |
| Select all elements | CtrlA | CmdA | CtrlA |
| Delete the selected elements | Delete | Delete | Delete |
| Duplicate the selection | CtrlD | CmdD | CtrlD |
Layers and grouping
Change stacking order, grouping, and locking for selected elements.
| Action | Windows | macOS | Linux |
|---|---|---|---|
| Send the selection backward | Ctrl[ | Cmd[ | Ctrl[ |
| Bring the selection forward | Ctrl] | Cmd] | Ctrl] |
| Send the selection to the back | CtrlShift[ | CmdOption[ | CtrlShift[ |
| Bring the selection to the front | CtrlShift] | CmdOption] | CtrlShift] |
| Group the selection | CtrlG | CmdG | CtrlG |
| Ungroup the selection | CtrlShiftG | CmdShiftG | CtrlShiftG |
| Lock or unlock the selection | CtrlShiftL | CmdShiftL | CtrlShiftL |
Canvas modes and view
Toggle canvas modes, change the view, and fit the drawing without changing its elements.
| Action | Windows | macOS | Linux |
|---|---|---|---|
| Toggle the theme | ShiftAltD | ShiftOptionD | ShiftAltD |
| Toggle grid mode | Ctrl' | Cmd' | Ctrl' |
| Toggle zen mode | AltZ | OptionZ | AltZ |
| Toggle snap mode | AltS | OptionS | AltS |
| Toggle statistics | Alt/ | Option/ | Alt/ |
| Toggle view mode | AltR | OptionR | AltR |
| Flip the selection horizontally | ShiftH | ShiftH | ShiftH |
| Flip the selection vertically | ShiftV | ShiftV | ShiftV |
| Reset zoom | Ctrl0 | Cmd0 | Ctrl0 |
| Zoom out | Ctrl- | Cmd- | Ctrl- |
| Zoom in | Ctrl+ | Cmd+ | Ctrl+ |
| Fit the selection to the viewport | Shift3 | Shift3 | Shift3 |
| Fit all elements to the viewport | Shift1 | Shift1 | Shift1 |
| Center the selection in the viewport | Shift2 | Shift2 | Shift2 |
Tools
Lock a drawing tool or add a hyperlink to the selected element.
| Action | Windows | macOS | Linux |
|---|---|---|---|
| Add or edit a hyperlink | CtrlK | CmdK | CtrlK |
| Lock the active tool | Q | Q | Q |