54

I've a little problem with chromium 19.0.1058.0 (124615). I've been in the console on the "new tab" tab. Then i wrote a function in the console, then i typed "}" (with alt-gr). It zoomed my console.

What can i do to reset the zoom in DevTools?

Gary Sheppard
  • 4,764
  • 3
  • 25
  • 35
Extaze
  • 1,117
  • 2
  • 10
  • 18

13 Answers13

63

On Mac with a keyboard layout where you cannot do shift++ (since you need shift to do a +, like on the French keyboard layout) you have to "Undock into seperate window", and only then can use Command+0, Command++ or Command+- like you would in a normal window.

Sunny
  • 5,825
  • 2
  • 31
  • 41
35

I have the same problem when typing ] with AltGr++ key the console interprets as zoom in. (More info on AltGr key here)

To zoom out try pushing AltGr+- or Ctrl+-.

To type } try its Ascii code, which is 125: AltGr+125

Nate Anderson
  • 18,334
  • 18
  • 100
  • 135
matteo466
  • 366
  • 3
  • 2
29

Reset chrome zoom to default inside console/devtools:

MAC version: command(⌘) + 0

WINDOWS version: ctrl + 0

Type of keyboard might influence the result. In this case, just go to your machine's settings and set temporarily US keyboard.

jack
  • 443
  • 4
  • 6
19

https://developer.chrome.com/devtools/docs/shortcuts

enter image description here

  1. Click inside the dev console, this puts it in focus.
  2. Press the key combination specific to your operating system. 'Ctrl' & '-' to Zoom out on Windows/Linux
Rory McCrossan
  • 331,213
  • 40
  • 305
  • 339
Udesh
  • 1,919
  • 3
  • 20
  • 26
  • 1
    Thanks, but I got the answer looong ago ! Something like 5 years ago ! – Extaze Jul 23 '15 at 09:31
  • 1
    Still valuable for me! I thought I was getting old. – flipdoubt Jun 07 '16 at 19:30
  • 2
    Doesn't work for me. shift with + or - zooms in and out on the page, but after clicking on the console only zooming out works. However cmd + 0 worked to restore the size to normal. – Bemmu Apr 12 '17 at 14:15
  • 3
    With my laptop french keyboard (lenovo yoga 700 14-isk) no minus is available ! only the dash key is. Thus only "ctrl" + "0" allowed me to unzoom ... – user1767316 Aug 26 '18 at 22:15
14

if that doesnt work, try clicking ctrl + alt and scroll with the mouse or touchpad scroller up or down to change zoom level

GabrieleMartini
  • 1,665
  • 2
  • 19
  • 26
Lena Bru
  • 13,521
  • 11
  • 61
  • 126
13

Updating the answer from the newest Chrome dev tools hotkey's documentation:

enter image description here

Found at: https://developer.chrome.com/devtools/docs/shortcuts

Dylan Pierce
  • 4,313
  • 3
  • 35
  • 45
  • I've mistakenly zoomed in my devtools panel and this `Ctrl` + `0` shortcut, takes it back to default zoom level. Thank you for pointing it out. – Amoo Hesam Jul 02 '20 at 21:01
6

I am using brave (a chrome based browser). None of the shortcut above worked for me. To reset the zoom, I clicked on "Run command"

enter image description here

Then I searched for the "Reset zoom level" command.

enter image description here

4

At least with my french keyboard, unlike documented within chrome, one should use

  • ctrl+= and
  • ctrl+0

to zoom and unzoom

instead of ctrl++ ctrl+-

user1767316
  • 3,276
  • 3
  • 37
  • 46
4

On Windows, press Ctrl + 0. On Mac, press Cmd + 0.

doncadavona
  • 7,162
  • 9
  • 41
  • 54
2

I had the same problem and the solutions suggested above didn't work for me. To fix the issue, I had to (I am on a mac):

  1. Close Chrome
  2. Navigate to ~/Library/Application\ Support/Google/Chrome/Default
  3. Open the Preferences file
  4. Locate the devtoolskey and switch its zoom level to 0.

Hope that helps!

Mr Washington
  • 1,295
  • 14
  • 15
2

Sometimes on a japanese keyboard to zoom in you may need CMD + ^ instead

user3821178
  • 353
  • 6
  • 15
1

For anyone struggling with this on Mac (tested on Mac 10.14.6 aka Mojave) Go to System Preferences -> Keyboard -> Enable Show keyboard and emoji viewers in menu bar

enter image description here

This will show a new icon in the menu bar, open the Keyboard Viewer. Now press CMD + 0 (on the number pad):

enter image description here

kiru
  • 119
  • 1
  • 2
  • 9
0

On my laptop (azerty keyboard) with my version of Chrome (with Ubuntu), only Ctrl+Fn+0 seems to work to reset to default zoom (using the light-blue 0 associated with, ?)

tarulen
  • 2,070
  • 9
  • 14