Login/Register

HTTP/2 Checker

Enter a domain and see whether its server speaks HTTP/2. We check the protocol the server chooses in the TLS handshake and send a real request over HTTP/2.

Why HTTP/2 makes a website faster

With HTTP/1.1 a browser opens up to six connections per domain and each one loads one file at a time. A page with 80 files waits in line. HTTP/2 sends all requests at once over a single connection and compresses the headers. Pages with many images, scripts and stylesheets load noticeably faster, most of all on mobile networks.

How to switch it on

  • Nginx 1.25.1 and newer: http2 on; in the server block. Older versions: listen 443 ssl http2;
  • Apache 2.4.17 and newer: a2enmod http2 and Protocols h2 http/1.1.
  • IIS: on by default since Windows Server 2016.
  • HAProxy: alpn h2,http/1.1 on the bind line.

Browsers use HTTP/2 only over HTTPS, so the website needs an SSL certificate first.

Questions and answers

Does HTTP/2 help my Google ranking?
Not directly. It makes pages load faster, and loading speed is part of the Core Web Vitals that Google measures.
The test says no HTTP/2, but my server has it enabled.
Something in front of the server answers instead: a load balancer, a CDN or a firewall that only speaks HTTP/1.1 to the outside. HTTP/2 has to be enabled where the TLS connection of the visitor ends.
Do I still need HTTP/1.1?
Yes, as a fallback. Every server that offers HTTP/2 keeps HTTP/1.1 for old clients and tools; the browser picks the best one both sides support.