JSON Editor FreeOpen the JSON editor

Docs/Keyboard shortcuts

JSON editor keyboard shortcuts

Every action has a key. On macOS the shortcuts use ⌘ Command; on Windows and Linux they use Ctrl.

Updated

Open this page in the editor

The JSON editor shortcuts you will use most

These keys cover everyday work in JSON Editor Free. The tables below list every action, grouped by task.

  • Format (pretty-print) JSON: ⌘I on macOS, Ctrl+I on Windows and Linux.
  • Repair broken JSON: ⌘⌥R on macOS, Ctrl+Alt+R on Windows and Linux.
  • Search keys and values: ⌘F on macOS, Ctrl+F on Windows and Linux.
  • Search and replace: ⌘⌥F on macOS, Ctrl+H on Windows and Linux.
  • Undo: ⌘Z on macOS, Ctrl+Z on Windows and Linux.
  • Redo: ⌘⇧Z on macOS, Ctrl+Y on Windows and Linux.
  • Switch to tree mode: ⌘⌥2 on macOS, Ctrl+Alt+2 on Windows and Linux.
  • Switch to text mode: ⌘⌥1 on macOS, Ctrl+Alt+1 on Windows and Linux.
  • Compare two JSON documents: ⌘⌥K on macOS, Ctrl+Alt+K on Windows and Linux.

In the editor, press ⌘/ on macOS, Ctrl+/ on Windows and Linux to open this list without leaving your document.

Panels
ActionmacOSWindows and Linux
Move focus to the other panelF6F6
Copy to right⌘⇧.or⌥⇧→CtrlShift.orAltShift→
Copy to left⌘⇧,or⌥⇧←CtrlShift,orAltShift←
Modes
ActionmacOSWindows and Linux
Text mode⌘⌥1or⌥1CtrlAlt1orAlt1
Tree mode⌘⌥2or⌥2CtrlAlt2orAlt2
Table mode⌘⌥3or⌥3CtrlAlt3orAlt3
Fold the block at the cursor (text)⌘⌥[CtrlShift[
Unfold the block at the cursor (text)⌘⌥]CtrlShift]
Fold all (text)⌃⌥[CtrlAlt[
Unfold all (text)⌃⌥]CtrlAlt]
Go to the next errorF8F8
Tree editing
ActionmacOSWindows and Linux
Insert after the selected row⌘EnterCtrlInsertorCtrlEnter
Edit the valueEnterEnter
Rename the keyF2F2
Duplicate the row⌘DCtrlD
Remove the row⌘⌫or⌘⌦or⌦CtrlDeleteorDelete
Move the row up⌥⇧↑or⌥↑AltShift↑orAlt↑
Move the row down⌥⇧↓or⌥↓AltShift↓orAlt↓
Expand or collapse (also → and ←)⌘ECtrlE
Expand all⌘⇧ECtrlShiftE
Collapse all⌘⌥ECtrlAltE
Select the previous row↑↑
Select the next row↓↓
Open the row actions menu⇧F10ShiftF10
Format, compact, repair
ActionmacOSWindows and Linux
Format⌘Ior⌥⇧FCtrlIorAltShiftF
Compact⌘⇧Ior⌥⇧CCtrlAltIorAltShiftC
Repair⌘⌥Ror⌥⇧RCtrlAltRorAltShiftR
Compare
ActionmacOSWindows and Linux
Compare on or off⌘⌥Kor⌥⇧DCtrlAltKorAltShiftD
Next differenceF7or⌥⇧NF7orAltShiftN
Previous difference⇧F7or⌥⇧PShiftF7orAltShiftP
Sort and transform
ActionmacOSWindows and Linux
Sort⌘⌥Sor⌥⇧SCtrlAltSorAltShiftS
Transform⌘⌥Qor⌥⇧TCtrlAltQorAltShiftT
Search and replace
ActionmacOSWindows and Linux
Search⌘FCtrlF
Next match (Enter in the search box)⌘GF3orCtrlG
Previous match (Shift+Enter in the search box)⌘⇧GShiftF3orCtrlShiftG
Search and replace⌘⌥FCtrlH
Replace all (in the replace box)⌘⌥EnterCtrlAltEnter
Undo and redo
ActionmacOSWindows and Linux
Undo⌘ZCtrlZ
Redo⌘⇧ZCtrlYorCtrlShiftZ
Open and save
ActionmacOSWindows and Linux
Open file⌘OCtrlO
Open from URL⌘⌥Oor⌥⇧OCtrlAltOorAltShiftO
Paste into the panel⌘VCtrlV
Save .json⌘SCtrlS
Export CSV⌘⇧SCtrlShiftS
Import CSV⌘⇧OCtrlShiftO
JSON Schema
ActionmacOSWindows and Linux
JSON Schema⌘⌥Vor⌥⇧VCtrlAltVorAltShiftV
General
ActionmacOSWindows and Linux
Open the documentationF1F1
Keyboard shortcuts⌘/Ctrl/
Close a dialog or search, cancel an editEscEsc
Pause or play the 3D view motion⌥⇧MAltShiftM
PreviousPrivacy and adsBack toGetting started