Keyboard shortcuts

Most editor actions have a key: undo, zoom, flip, layer order and the view toggles all run from the keyboard. Press ? to see the full list under Keyboard shortcuts in Help, which shows Ctrl on Windows and Linux and Cmd on Mac. A key runs only where its action allows it, such as undo, which does not run in view mode.

On this page

Open the list of shortcuts

Press ? to open Help, which lists the shortcuts under Keyboard shortcuts.

Each key shows as Ctrl on Windows and Linux, and as Cmd on Mac.

Undo and redo

Shortcut

Keys

What it does

Undo

Keys

Ctrl/Cmd+Z

What it does

Undoes the last change. It does not run in view mode.

Redo

Keys

Ctrl/Cmd+Shift+Z, or Ctrl/Cmd+Y

What it does

Redoes the change you undid.

Undo does nothing while you draw a shape, drag, resize, type text, or drag a selection box. Finish that step, then press undo again.

Zoom and move around

Zoom keys work in view mode too.

Shortcut

Keys

What it does

Zoom in

Keys

= or the number pad +, with Ctrl/Cmd or Shift

What it does

Zooms in by 10% each press.

Zoom out

Keys

- or the number pad -, with Ctrl/Cmd or Shift

What it does

Zooms out by 10% each press.

Reset zoom

Keys

0 or the number pad 0, with Ctrl/Cmd or Shift

What it does

Sets the zoom to 100%, or to the locked minimum zoom when a zoom lock is set.

Zoom to fit all elements

Keys

Shift+1

What it does

Fits all elements on the screen. Under a viewport lock, it fits the locked box.

Fit selection without zooming past 100%

Keys

Shift+2

What it does

Fits the selection, or everything when nothing is selected, and does not zoom past 100%.

Zoom to selection

Keys

Shift+3

What it does

Fits the selection, or everything when nothing is selected, and can zoom past 100%.

The zoom-in button turns off at 3,000%, and the zoom-out button at 10%.

Select and move shapes

Shortcut

Keys

What it does

Select all

Keys

Ctrl/Cmd+A

What it does

Selects every shape on the canvas, except locked shapes and text inside a shape. It does not run in view mode.

Deselect

Keys

Escape

What it does

Clears the selection and returns to the selection tool. Inside a group, it steps up to the group around it.

Move

Keys

Arrow keys

What it does

Moves the selected shapes.

Flowchart

Keys

Ctrl/Cmd with an arrow key, and Alt with an arrow key

What it does

Builds a flowchart from a box, and moves between its boxes. See Flowcharts.

An arrow key moves the selection by one grid step while the grid is on, and by 1 with Shift. With the grid off, an arrow key moves it by 1, and with Shift by 5.

In view mode, arrow keys move nothing.

Escape only takes effect when something is selected, a shape is being drawn, or a tool other than selection is on. It does nothing while you type in a text box.

Flip, layer, group and edit shapes

Shortcut

Keys

What it does

Flip horizontally

Keys

Shift+H

What it does

Flips the selection left to right.

Flip vertically

Keys

Shift+V

What it does

Flips the selection top to bottom.

Bring forward

Keys

Ctrl/Cmd+]

What it does

Moves the selection up one layer.

Send backward

Keys

Ctrl/Cmd+[

What it does

Moves the selection down one layer.

Bring to front

Keys

Ctrl/Cmd+Shift+] on Windows and Linux, Ctrl/Cmd+Alt+] on Mac

What it does

Moves the selection to the top layer.

Send to back

Keys

Ctrl/Cmd+Shift+[ on Windows and Linux, Ctrl/Cmd+Alt+[ on Mac

What it does

Moves the selection to the bottom layer.

Group and ungroup

Keys

Ctrl/Cmd+G and Ctrl/Cmd+Shift+G

What it does

Groups or ungroups the selection. See Groups and frames.

Hyperlink

Keys

Ctrl/Cmd+K

What it does

Opens the link box when exactly one shape is selected. See Align and element links.

Wrap

Keys

W

What it does

Wraps or unwraps the selection, when something is selected. See Text.

Auto-resize

Keys

Alt+W

What it does

Turns auto-resize on or off for the selected text. See Text.

Lock

Keys

Q

What it does

Locks or unlocks the selection. See Align and element links.

Flipping a selection made only of arrows that are attached at an end swaps their arrowheads instead of mirroring them.

Copy, cut, save and open

Shortcut

Keys

What it does

Cut

Keys

Ctrl/Cmd+X

What it does

Copies the selection, then deletes it. The shapes inside a cut frame go with it.

Copy and paste

Keys

Ctrl/Cmd+C and Ctrl/Cmd+V

Copy as PNG

Keys

Shift+Alt+C

What it does

Copies the selection as an image, or the whole canvas when nothing is selected. It is offered only where the browser can write images to the clipboard.

Save

Keys

Ctrl/Cmd+S

What it does

Saves into the file you opened. It does not run in view mode.

Save as

Keys

Ctrl/Cmd+Shift+S

What it does

Saves the drawing to a file, and runs in view mode too.

Open

Keys

Ctrl/Cmd+O

What it does

Opens a file. It does not run in view mode.

Show and hide panels and modes

Shortcut

Keys

What it does

Grid

Keys

Ctrl/Cmd+'

What it does

Shows or hides the grid. Each press also turns object snapping off.

Object snapping

Keys

Alt+S

What it does

Turns object snapping on or off, and turns the grid off.

Zen mode

Keys

Alt+Z

What it does

Turns zen mode on or off.

View mode

Keys

Alt+R

What it does

Turns view mode on or off. In view mode, only zoom and navigation actions run, and only the hand and laser tools can be picked.

Stats

Keys

Alt+/

What it does

Opens or closes the stats panel. See Stats.

Dark or light theme

Keys

Alt+Shift+D

What it does

Switches between dark and light theme.

Search

Keys

Ctrl/Cmd+F

What it does

Opens search in the sidebar, or moves the cursor to its box when it is already open. It does nothing while a dialog is open. See Charts and search.

If a shortcut does nothing

  • In view mode most keys do nothing. Press Alt+R to turn view mode off.
  • Undo does nothing while a shape is being drawn, dragged, resized, or typed into. Finish that step, then press undo again.
  • Escape does nothing while you type in a text box. Click the canvas, then press Escape.
  • When two shortcuts match the same key, neither runs. Use the menu or the toolbar for that action instead.

Sources