keyboard shortcut to inspect element macbook code example Example: inspect shortcut mac Mac: Cmd + Opt +J. // Windows: Ctrl + Shift + J.