Skip to content

How to Set Custom Zoom Levels in Firefox

It is possible to change the zoom level of web pages in Firefox browser in a couple of different ways. They include:

  1. Using Ctrl+Mouse Wheel
  2. Using the keyboard shortcuts Ctrl++ to zoom in, Ctrl+- to zoom out and Ctrl+0 to restore the default zoom
  3. Using the zoom controls available in the hamburger menu or the shortcuts under the View option in the menu bar.
  4. By setting a default zoom level inside the Settings / Preferences. The zoom level set here affects all pages.

In all the cases above, the available zoom levels are fixed to a handful of preset values with steps of between 10% and 100%. The maximum allowable zoom level is fixed to 500% and the minimum to 30%.

While these presets should suffice for most users, there are situations where you may want to define a custom zoom level with lower step values or that’s beyond the defined limits.

Fortunately, there are a couple of ways of achieving with or without using add-ons. Let’s check them out.

1. How to Add Custom Zoom Values

You can add a custom zoom values by going to about:config in the address bar and searching for the option: toolkit.zoomManager.zoomValues.

This option holds the zoom values that are set through the default zoom option in the Settings, the keyboard shortcuts, the hamburger zoom controls and the View menu shortcuts. It does not affect the zoom values set through the Ctrl+Mouse Wheel, which unfortunately cannot be overridden as it’s step value of 10% is defined in the source code.

The default values in this option are:


These values correspond to the zoom levels 30%, 50%, 67%, 80%, 90%, 100%, 110%, 120%, 133%, 150%, 170%, 200%, 240%, 300%, 400%, and 500% respectively.

Edit this option and add the custom zoom value you need in the sequence. For example, to add a zoom of 95%, just insert .95 between .9 and .1 and for 105% you’ll insert 1.05 between 1 and 1.1. Don’t forget to add the commas, then save the option.

To add 75%, 85% and 95% to the list use these values:


If you want zoom levels with a step value of 1% use the following values:


The above values define zoom levels of between 1% and 200% however you’ll not be able to use any of the values below the default minimum zoom level of to 30%. You can however override this by searching for the option zoom.minPercent and setting its value to 1.

You can also define a value beyond the maximum 500% zoom level using the option zoom.maxPercent.

For example, if you want a max zoom level of 1000%, then set it to 1000 then add your zoom preset values as follows:


This will add the zoom values 600%, 700%, 800%, 900%, and 1000%.


  • These min and max values will also apply to the Ctrl+Mouse Wheel zoom values, however the step value remains fixed at 10%.
  • You can have the zoom apply to only the text by using the Default Zoom option available in the settings and checking the option Zoom text only.

2. How to Set a Custom Global Zoom Level

A global zoom level affects all the elements of the browser, including web pages and the size of the tabs, menu and toolbars.

We can override this global zoom using the layout.css.devPixelsPerPx option inside about:config. The default value of -1.0 corresponds to a global zoom level of 100%. To increase it to let’s say 105% set its value to 1.05.

You can also decrease the global zoom level by using a value below 0. For example, use 0.9 to set the zoom level to 90%.

These changes are immediate, so you don’t have to restart the browser.

3. Using Add-ons to Set Custom Zoom Values

There are plenty of Firefox add-ons available for controlling the browser’s zoom level. A popular one that’s recommended by Firefox is Zoom Page WE.

This extension however is only suitable if you want to stick to the default preset zoom levels. I only include it here because it includes a host of useful features such as full or text only zoom modes, per site or tab zoom modes, font size override and a handy fit-to-width (auto) zoom option.

Comparatively, there are add-ons like Zoom for Firefox which allows us to define custom zoom values. This extension for example adds an icon to the toolbar which you can use to set zoom levels of between 1% and 400% using a slider or plus/minus buttons.

In the extension’s options, you can also define a zoom step value instead of the default 10%. Other options include choosing between the built-in or a CSS zoom engine, setting a default zoom level, and a list to define zoom levels per site.

Hopefully, one of these three methods will suffice for you to set custom zoom values.


Leave a Reply

Feel free to share your comments or questions with me. I may not be able to respond immediately so please check later once I've approved your comment.

Your email address will not be published. Required fields are marked *

Kelvin Kathia

Kelvin Kathia is a writer that's passionate about sharing solutions to everyday tech problems. He's the founder and editor of Journey Bytes, a tech blog and web design agency. Feel free to leave him comments or questions regarding this post, or by leaving him a message on the contact page. If you found his content helpful, a donation is much appreciated.