Fat-free hardenable opportunistic encryption

What is HTTPZ?
HTTPZ is a Firefox add-on that provides fat-free hardenable opportunistic encryption. It automatically redirects HTTP requests to HTTPS and adds known insecure sites to a block list. It is unobtrusive, lightweight, respects privacy, and defends against SSL-stripping attacks.
Users: 243 ▲ 1
Rating: 4.95 (37)
Version: 0.12.0 (Last updated: 2019-12-11)
Creation date: 2018-12-29
Weekly download count: 11
Firefox on Android: Yes
Risk impact: High risk impact
Risk likelihood: Low risk likelihood
Manifest version: 2
  • idle
  • storage
  • tabs
  • webRequest
  • webRequestBlocking
  • <all_urls>
Size: 26.07K
URLs: Website
Stats date:

Other platforms

Not available on Chrome
Not available on Edge
Want to check extension ranking and stats more quickly for other Firefox add-ons? Install Chrome-Stats extension to view Chrome-Stats data as you browse the Firefox Browser Add-ons.
Chrome-Stats extension

There are numerous similar extensions out there, but HTTPZ is different because it is not smart: it is Zmart. The following summarizes how it works with the default settings:

  • When you are about to navigate to a site over HTTP, that request is aborted and a new one is started over HTTPS. If that new request results in an error, it is automatically redirected back to HTTP. If navigating to the site over HTTP throws an error too, HTTPZ does nothing more then. Otherwise, that host is added to the list of known insecure sites, and all subsequent requests to it are ignored by the extension for seven days
  • When you navigate to a site over HTTPS by yourself, or because of some external factor (like HSTS preloading), HTTPZ does not do anything to that request, regardless of the outcome.
  • When you navigate to a site over HTTPS and *the server* downgrades the request to HTTP, the extension notices this and allows it. It adds that site to the list of known insecure sites, and does not try to load it over HTTPS for the next seven days
HTTPZ is meant to be unobtrusive and lightweight, it respects your privacy, and is free of trans fats. Additionally, it is very configurable, and should be slightly more secure than some of the alternatives out there, since it has a couple of built-in defenses against SSL-stripping attacks.

It also gets along well with extensions that I recommend for managing contextual identities (containers), such as Containerise and Temporary Containers


  • When the initial request over HTTPS results in an error, Firefox starts loading an internal page that describes the error. HTTPZ does not wait for Firefox to finish loading those error pages, it immediately retries the request over HTTP, which causes them to load partially, and it does not look good. This is only a cosmetic issue, and a negligible one at that.
  • Unlike HTTPS Everywhere, this extension does not take care of sub-requests triggered from HTTP-only sites. For now, it outright ignores those requests, because using the same approach with those (retrying on error) is very complicated and has significant drawbacks.
Interested in more recommendations? Head over to the ghacks-user.js GitHub repository. It is an amazing project for hardening Firefox that I have contributed to, and a great source of information (including extension recommendations).

Acknowledgments HTTPZ would not be what it is if not for its testers' feedback on GitHub.

User reviews
by haikal, 2024-01-20
View all user reviews
Risk impact

HTTPZ is risky to use as it requires a number of sensitive permissions that can potentially harm your browser and steal your data. Exercise caution when installing this add-on. Review carefully before installing. We recommend that you only install HTTPZ if you trust the publisher.

Risk likelihood

HTTPZ has earned a fairly good reputation and likely can be trusted.

Upgrade to see risk analysis details