Retool keyboard shortcuts for Windows and Mac

Retool keyboard shortcuts for its three editors: the classic app IDE, the workflow IDE and the app builder, with the Windows (Retool’s “PC”) and Mac keys Retool Docs print for each row. The same chord changes meaning between editors: Ctrl + B toggles the sidebar in a classic app, split view in a workflow and the Chat tab in the app builder. Ctrl + K opens the Command Palette anywhere. Custom per-app shortcuts are left out.

60 shortcuts in 9 sections. Checked row by row against Retool Docs on . Edited by Jay.

Global 1

ActionWindowsMac
Command PaletteWorks anywhere in Retool, including the classic app and workflow IDEs; searches apps, components and queries and runs editor commands.Ctrl+KCmd+K

Classic app components 12

ActionWindowsMac
Cancel drag or deselectOne key, two jobs: cancels a drag or resize mid-way, and deselects components otherwise.EscEsc
Copy componentsCtrl+CCmd+C
Cut componentsCtrl+XCmd+X
Paste componentsCtrl+VCmd+V
Duplicate componentsCtrl+DCmd+D
Delete componentsDeleteDelete
Move componentsCursor keys are the arrow keys; they reposition whatever is selected on the canvas.Cursor keysCursor keys
Resize componentsHold the modifier and press an arrow key to change the size of the selection instead of its position.Ctrl+Cursor keyCmd+Cursor key
Fit fixed containers to contentSizes fixed containers to match what is inside them.Alt+Shift+Ctrl+ROption+Shift+Cmd+R
Select all componentsCtrl+ACmd+A
Select multiple or without interactingAdds components to the selection one by one, and selects interactive components without triggering them.Ctrl+ClickCmd+Click
Toggle Hidden ComponentsMakes hidden components visible in the editor, or conceals them again.Ctrl+/Cmd+/

Classic app editor 16

The shortcut list is the one classic binding that is not a plain Ctrl-for-Cmd swap: Windows has no Ctrl in it, the Mac adds Cmd.

ActionWindowsMac
Save appCtrl+SCmd+S
UndoCtrl+ZCmd+Z
RedoShift+Ctrl+ZShift+Cmd+Z
Inspector SearchSearches the Inspector, the right-hand panel that holds app and component settings.Shift+Ctrl+KShift+Cmd+K
Keyboard ShortcutsOpens the in-product shortcut list; the Mac binding adds Cmd.Shift+/Shift+Cmd+/
Pin SidebarKeeps the sidebar pinned open, or releases it when pressed again.Ctrl+PCmd+P
Toggle SidebarShows or hides the sidebar; in the workflow IDE and the app builder the same keys toggle other panels.Ctrl+BCmd+B
Toggle InspectorShows or hides the right-hand panel with app and component settings.Ctrl+UCmd+U
Toggle Add ComponentsShows or hides the Add Components panel.Shift+Ctrl+AShift+Cmd+A
Toggle Component TreeShows or hides the hierarchical list of components; the app builder uses these keys for its debug console.Shift+Ctrl+DShift+Cmd+D
Toggle All PanelsCollapses or restores every panel of the IDE with one chord.Ctrl+.Cmd+.
Toggle CodeShows or hides the code editor.Shift+Ctrl+EShift+Cmd+E
Toggle Code SearchOpens or closes the search across queries, JavaScript, event handlers and other code in the app.Shift+Ctrl+FShift+Cmd+F
Toggle Preview ModeSwitches the editor between editing and a view-only preview of the app.Alt+Ctrl+EnterOption+Cmd+Return
Toggle User ModeSwitches to user mode, the mode a viewer link opens the app in, and back.Shift+Ctrl+PShift+Cmd+P
Open Debug ToolsDoes the same as clicking the error text at the right end of the status bar.Ctrl+`Ctrl+`

Classic app canvas 4

ActionWindowsMac
Pan CanvasHold Space and drag with the mouse to move around the app canvas.Space+DragSpace+Drag
Toggle GridShows or hides the layout grid.Shift+Ctrl+GShift+Cmd+G
Zoom InCtrl++Cmd++
Zoom OutCtrl+-Cmd+-

Workflow editor 5

ActionWindowsMac
Run WorkflowRuns the whole workflow; without Shift the same keys run only the selected block.Shift+Ctrl+EnterShift+Cmd+Return
Add SplitOpens another split view pane in the workflow IDE.Ctrl+\Cmd+\
Toggle Split ViewHides or shows the pane in which a selected block opens for editing.Ctrl+BCmd+B
Toggle CanvasHides or shows the workflow canvas itself rather than the split view.Ctrl+Alt+BCmd+Option+B
Search workflow codeUses the same keys as code search in the classic app IDE.Shift+Ctrl+FShift+Cmd+F

Workflow blocks 4

ActionWindowsMac
Run BlockRuns only the selected block, not the whole workflow.Ctrl+EnterCmd+Return
Delete BlockRemoves the block that is selected on the canvas.DeleteDelete
Format CodeTidies the code selected in a block.Shift+Alt+FShift+Option+F
Toggle CommentComments out the selected code, or removes the comment markers again.Ctrl+Shift+/Cmd+Shift+/

Workflow canvas 5

The Zoom controls in the lower-right corner and a trackpad pinch change the zoom level as well.

ActionWindowsMac
Pan workflow canvasHold Space and drag to move around the workflow.Space+DragSpace+Drag
Select Multiple BlocksHold Shift while dragging to pick up more than one block.Shift+DragShift+Drag
Zoom in on workflow canvasCtrl++Cmd++
Zoom out on workflow canvasCtrl+-Cmd+-
Zoom with the mouse wheelDouble-clicking the canvas returns the zoom level to 100%.Ctrl+ScrollCmd+Scroll

App builder 7

ActionWindowsMac
Toggle Chat tabApp builder only; the classic IDE uses these keys for its sidebar.Ctrl+BCmd+B
Toggle Change HistoryShows or hides the panel that lists recent edits to the app.Ctrl+Shift+YCmd+Shift+Y
Toggle debug consoleShows or hides the console used to inspect logs and errors.Ctrl+Shift+DCmd+Shift+D
Toggle selection modeWhile it is on, clicking a component scopes the agent's edits to that component.Ctrl+ECmd+E
Send message to agentApplies while you are typing a prompt in the Chat tab.EnterReturn
Insert line break in messageStarts another line in the prompt instead of sending it.Shift+EnterShift+Return
Switch Plan and Build modeFlips the agent from planning to building, or back, while you are in the Chat tab.Shift+TabShift+Tab

App builder code tab 6

Retool lists only these six; the Code tab also accepts the usual code-editor keys, such as Tab to indent.

ActionWindowsMac
Open file searchFinds a code file by its name and opens it.Ctrl+PCmd+P
Search in code filePuts a search bar above the editor; in editable files it expands to replace terms.Ctrl+FCmd+F
Undo code changesCtrl+ZCmd+Z
Redo code changesCtrl+Shift+ZCmd+Shift+Z
Close code fileCloses one file in the Code tab; the T variant closes every open file.Ctrl+Alt+WCmd+Option+W
Close all code filesCtrl+Alt+TCmd+Option+T

Notes

The Command Palette is the one key every editor shares

Ctrl + K (Cmd + K on a Mac) is the only shortcut Retool lists as available anywhere: the Command Palette searches the components and queries of the open app, jumps to other apps, resources and shared queries, and runs commands such as opening app settings or creating a query. For everything the palette doesn’t cover in the classic IDE, Shift + / pops the shortcut overlay — on a Mac that one is Shift + Cmd + /.

Three editors, three meanings for the same keys

Retool documents a separate keymap for each editor. In the classic app IDE Ctrl + B toggles the sidebar, in the workflow IDE it hides or shows split view, and in the app builder it toggles the Chat tab. Shift + Ctrl + D toggles the component tree in a classic app but the debug console in the app builder, and Ctrl + P pins the classic sidebar while it opens file search in the app builder’s Code tab. Zoom and pan keys are the same on the classic and workflow canvases.

Classic panel keys follow one pattern

Most classic panel toggles are Shift and Ctrl plus a letter: Shift + Ctrl + A for Add Components, Shift + Ctrl + D for the component tree, Shift + Ctrl + E for code and Shift + Ctrl + F for code search. The exceptions are Ctrl + U for the Inspector and Ctrl + ., which collapses every panel at once for a clean look at the canvas. Preview is two distinct ideas: Alt + Ctrl + Enter toggles preview mode inside the editor, while Shift + Ctrl + P toggles user mode — the mode a viewer link opens.

Components move from the keyboard, workflows run from it

With components selected in a classic app, the bare Cursor keys move them and Ctrl + Cursor key resizes them. Ctrl + Click earns a special mention: it both multi-selects and selects interactive components (buttons, dropdowns) without interacting with them. In a workflow, Ctrl + Enter runs the selected block and Shift + Ctrl + Enter runs the whole workflow. The Assist keys from older versions of this list are gone: Retool has deprecated Assist, and in the app builder you prompt the agent from the Chat tab, where Shift + Tab switches between Plan mode and Build mode.

Questions

Which key opens the Command Palette in Retool?

Ctrl + K on Windows and Cmd + K on a Mac. Retool lists it as available anywhere; it searches apps, components and queries and runs editor commands.

How do I preview my Retool app as an end user?

In the classic app IDE Shift + Ctrl + P toggles user mode, the mode a viewer link opens. Alt + Ctrl + Enter toggles preview mode, a view-only version of the app inside the IDE.

How do I resize components in Retool with the keyboard?

Select the component and press Ctrl (Cmd on a Mac) with any cursor key; the bare cursor keys move it instead. Alt + Shift + Ctrl + R resizes fixed containers to fit their content.

Why did clicking a button in the Retool editor trigger it?

Plain clicks interact. Hold Ctrl (Cmd on a Mac) while clicking to select an interactive component without interacting with it — the same combination also adds components to a multi-selection.

What does Ctrl + E do in Retool?

In the app builder Ctrl + E toggles selection mode, where clicking a component scopes the agent’s edits to it. The classic app IDE has no Ctrl + E binding: preview mode is Alt + Ctrl + Enter and user mode is Shift + Ctrl + P.

How do I clear the Retool editor for a clean canvas view?

In the classic app IDE Ctrl + . toggles every panel at once. Ctrl + B, Ctrl + U and Shift + Ctrl + D control the sidebar, Inspector and component tree individually.

How do I run a single block in a Retool workflow?

Select the block and press Ctrl + Enter (Cmd + Return on a Mac). Shift + Ctrl + Enter runs the whole workflow instead.

Why do Retool’s app builder docs say Mod instead of Ctrl or Cmd?

Mod is the placeholder the docs source uses for the platform modifier: the published page shows Ctrl to a Windows browser and Command to a Mac browser, so Mod + B is Ctrl + B on Windows and Cmd + B on a Mac.

Sources and checks

Every row on this page was matched to a line in the documentation above on . A binding that could not be found there is not listed.

3 rows from the earlier version of this page were removed in that check: duplicates, and bindings the documentation does not list or lists differently.

Found a wrong or missing key? Tell us and it gets checked against the source. How we verify describes the process and its limits.