HTTP vs HTTPS: What’s the Difference and Does It Matter?

The difference between HTTP and HTTPS is encryption. HTTP sends data between your browser and a website as readable plain text, while HTTPS wraps that same data in TLS encryption, checks the website’s identity with a certificate, and stops anyone in the middle from changing what you send or receive. HTTP uses port 80. HTTPS uses port 443.
That’s the short answer. Below you’ll find a side-by-side table, a plain-English look at how HTTPS works, what it protects and what it doesn’t, whether that “Not secure” warning means you should leave a site, and how HTTP and HTTPS behave when your traffic goes through a proxy.
HTTP vs HTTPS at a glance
| HTTP | HTTPS | |
| Full name | Hypertext Transfer Protocol | Hypertext Transfer Protocol Secure |
| Encryption | None. Data travels as plain text | Encrypted with TLS (today usually TLS 1.3) |
| Identity check | None | Server shows a certificate signed by a trusted certificate authority |
| Tamper protection | None. Data can be changed in transit | Changes are detected and the connection fails |
| Default port | 80 | 443 |
| Browser label | “Not secure” in Chrome since July 2018 | Padlock or tune icon |
| SEO | No ranking boost | Light Google ranking signal since 2014 |
| Speed | Not faster in practice | Same or faster, because HTTP/2 and HTTP/3 need it |
| Use today | Local testing, some internal tools | Almost every public website |
What is HTTP?
HTTP is the set of rules a browser and a web server use to talk. Your browser sends a request (“give me the page at /pricing”), and the server sends back a response with a status code such as 200 (OK) or 404 (not found), some headers, and the page itself.
The problem is that all of this is readable. Anyone who sits on the network path, such as someone on the same café Wi-Fi, a compromised router, or a provider in between, can read the request and the reply. They can see the password you typed into a login form. They can also change the page on its way to you, for example by injecting an ad or a malicious script. The usual analogy is a postcard: every hand it passes through can read it.
What is HTTPS?
HTTPS is HTTP sent inside an encrypted connection. The “S” stands for secure. Nothing about the request and response changes; they are simply sealed before they leave your device and opened only by the real server.
The sealing is done by TLS (Transport Layer Security). TLS adds three things HTTP doesn’t have:
- Encryption. Nobody between you and the server can read the data.
- Authentication. The server proves it owns the domain with a certificate, so you are talking to the real site and not an impostor.
- Integrity. If anyone changes a single byte in transit, the connection detects it and breaks.
If HTTP is a postcard, HTTPS is a sealed envelope that only the named recipient can open, with a seal that shows if anyone tampered with it.
How does HTTPS work?
Every HTTPS connection starts with a short TLS handshake. With TLS 1.3, the current version, it takes one round trip and looks like this:
- Hello. Your browser contacts the server on port 443, lists the encryption methods it supports, and sends its half of a key exchange.
- Certificate. The server picks a method, sends its half of the key exchange, and shows its certificate. The certificate is signed by a certificate authority (CA) that your browser or operating system already trusts.
- Check. Your browser confirms the certificate is valid, not expired, and issued for the exact domain you typed. If it isn’t, you get a full-page warning.
- Encrypted session. Both sides now share a session key that nobody else has. Every request and response from here on is encrypted with it.
This happens in milliseconds, before the first byte of the page loads. Returning visitors often skip most of it through session resumption.
What HTTPS protects, and what it doesn’t hide
HTTPS is good at what it does, but people often assume it does more. Here’s the honest split.
HTTPS hides:
- The full URL path and query string (the part after the domain, such as /account?id=123)
- Form data, passwords and card numbers
- Cookies and request headers
- The content of every page you load
HTTPS does not hide:
- The domain you visit. Your network can usually still see “example.com” through DNS lookups and the server name your browser sends at the start of the handshake (called SNI). Encrypted DNS and a newer feature called Encrypted Client Hello reduce this, but neither is everywhere yet.
- The server’s IP address. Packets still need an address on the outside.
- Timing and size. An observer can see when you connect and roughly how much data moves.
- What the website itself does with your data. HTTPS protects the trip, not the destination. Once your data reaches the server, the site’s own security and privacy policy take over.
So HTTPS keeps your content private from the network. It doesn’t make you anonymous, and it doesn’t make the site trustworthy.
Does the padlock mean a site is safe?
No. The padlock means your connection to that site is encrypted and the site controls the domain in the address bar. It says nothing about who runs the site or whether they are honest.
Certificates are free and automatic today, so phishing sites use HTTPS just like banks do. A fake login page at “paypa1-secure.com” can show a perfectly valid padlock. Chrome changed its padlock to a neutral “tune” icon in 2023 partly because so many people read it as “this site is safe”.
What to check instead: the domain name itself, letter by letter, before you enter anything sensitive.
“Not secure” warning: should you leave the site?
The “Not secure” label in your address bar means the page loaded over plain HTTP. It doesn’t mean the site is infected or that something bad is happening right now. It means anything you send could be read or changed on the way.
A simple rule:
- Just reading? Usually fine. A recipe blog or an old documentation page on HTTP is low risk.
- About to type something? Stop if it’s a password, card number, personal detail or anything you wouldn’t write on a postcard. Look for an HTTPS version of the site or leave.
- Full red warning page (“Your connection is not private”)? That’s different and more serious. The site claims HTTPS but its certificate failed the check. Don’t click through unless it’s your own test server.
A related case is mixed content: an HTTPS page that loads some images or scripts over HTTP. Modern browsers upgrade or block these automatically, but it’s why some site owners see a broken padlock after switching.
Is HTTPS slower than HTTP?
Not in any way you’d notice, and often it’s faster. The “HTTPS is slower” idea comes from the 2000s, when encryption was costly for servers and the handshake took two round trips. Three things changed:
- TLS 1.3 (published in 2018) cut the handshake to one round trip, and to zero for returning visitors.
- HTTP/2, which loads many files over one connection, is only supported by browsers over HTTPS. A site stuck on HTTP is stuck on the older HTTP/1.1.
- HTTP/3 runs on a protocol called QUIC that has TLS 1.3 built in. It’s encrypted by design and handles poor mobile connections better.
People sometimes search “HTTP/2 vs HTTPS” as if they were rivals. They aren’t. HTTP/2 is a newer version of HTTP, and in browsers it always runs inside HTTPS. Encryption costs on modern CPUs are tiny, so the speed winner is almost always the HTTPS site.
Which ports do HTTP and HTTPS use?
- Port 80 is the default for HTTP.
- Port 443 is the default for HTTPS. When you type https://example.com, your browser connects to port 443 without you writing it.
- Port 8080 and 8443 are common alternatives for HTTP and HTTPS on test servers, admin panels and proxies.
HTTP/3 also uses port 443, but over UDP instead of TCP. If a firewall blocks UDP 443, browsers quietly fall back to HTTP/2.
SSL vs TLS: are they the same thing?
TLS is the modern version of SSL. SSL was the original encryption layer from Netscape in the 1990s. Every SSL version is now broken and retired, and SSL 3.0 was formally deprecated in 2015. TLS 1.0 and 1.1 followed in 2021. Today, real HTTPS connections use TLS 1.2 or TLS 1.3.
The name “SSL certificate” stuck around in marketing, so you’ll still see it everywhere. A “TLS certificate” and an “SSL certificate” are the same product.
Do you have to pay for a certificate?
No. Let’s Encrypt and many hosting providers and CDNs issue certificates for free and renew them automatically. Paid certificates still exist, mostly for organization validation or support contracts, but the encryption is the same.
Automatic renewal matters more each year. Since March 15, 2026, publicly trusted TLS certificates are limited to 200 days. This drops to 100 days from March 15, 2027, and 47 days from March 15, 2029. The change comes from CA/Browser Forum Ballot SC-081v3.
The same ballot also shortens domain validation reuse. Before a certificate authority issues a certificate, it checks that you control the domain (domain control validation, or DCV). It used to be able to reuse that check for over a year. That reuse period is shrinking in steps and reaches just 10 days by 2029, so in practice your domain will be re-validated almost every time a certificate is issued. If your site still renews certificates or completes validation by hand, now is the time to automate both, for example with an ACME client such as Certbot.
Does HTTPS help SEO?
A little, directly, and a lot, indirectly. Google announced HTTPS as a lightweight ranking signal in August 2014. On its own it won’t lift a weak page.
The bigger effect is on people. Since July 2018 (Chrome 68), every HTTP page shows “Not secure”, and visitors leave pages that look unsafe. HTTPS is also the default expectation now: Google’s Transparency Report put HTTPS at about 98% of Chrome page loads in the US as of April 2025. An HTTP site stands out, and not in a good way.

There’s also a data reason. When a visitor moves from an HTTPS site to an HTTP site, the referrer is usually stripped, so analytics on the HTTP site lose track of where that traffic came from.
Why did the web move from HTTP to HTTPS?
Three pushes happened at once. Public Wi-Fi made snooping easy, and tools that hijacked logins on shared networks were widely available around 2010. Then Google started rewarding HTTPS in search and Chrome started warning on HTTP. Finally, Let’s Encrypt launched in 2015 and made certificates free and automatic, which removed the cost excuse.
HTTP still exists. You’ll see it on local development servers, some internal company tools, and old pages nobody has updated. For anything public, HTTPS is the baseline.
How to switch a website from HTTP to HTTPS
If you run a site still on HTTP, the switch is mostly a checklist:
- Get a certificate. Use your host’s free option or Let’s Encrypt with automatic renewal.
- Redirect every HTTP URL to HTTPS with a 301 (permanent) redirect, page to page, not everything to the home page.
- Fix mixed content. Update images, scripts and stylesheets that still load from http:// addresses.
- Update internal links, canonical tags and your XML sitemap to the HTTPS URLs.
- Add HSTS. The Strict-Transport-Security header tells browsers to always use HTTPS for your domain, even if someone types http://.
- Check Search Console. Add the HTTPS property and watch for crawl errors in the first few weeks.
How HTTP and HTTPS work through a proxy
This is where the difference gets practical for developers, data teams and anyone who routes traffic through a proxy server.
A forward proxy is a server you choose to send your own requests through. You add its address and login to your own client, such as curl, a browser or a scraping script, and your requests leave from the proxy’s IP address instead of yours. How it handles a request depends on whether the target site is HTTP or HTTPS:
- HTTP target. The proxy receives the full request in plain text, forwards it, and passes back the response. It can read and log everything, including headers and content.
- HTTPS target. Your client sends the proxy a short CONNECT request (“open a tunnel to example.com on port 443”). The proxy opens the connection and replies “200 Connection established”. From then on, your client runs the TLS handshake directly with the website through that tunnel. The proxy only passes encrypted bytes along. It sees the domain, the port and the amount of data, not the pages, cookies or passwords.
You can watch this happen with curl. Replace the proxy address and credentials with your own:
curl -v -x http://USERNAME:PASSWORD@proxy.example.com:PORT https://example.com
In the verbose output you’ll see the CONNECT line, the 200 reply from the proxy, and then the TLS handshake with example.com.
Two points clear up most confusion:
- An “HTTP proxy” can carry HTTPS traffic. The name describes how you talk to the proxy, not which sites you can reach. Through CONNECT, an HTTP proxy tunnels HTTPS without decrypting it.
- An “HTTPS proxy” isn’t automatically the secure version. The term usually means a proxy you connect to over TLS, which also protects your proxy login on its way to the proxy. It doesn’t change what happens inside the tunnel: the TLS session still runs between your own client and the website, and only that website’s certificate and keys can open it.
Teams that collect publicly available web data for lawful purposes, such as checking localized search results or monitoring prices in different countries, use this same CONNECT flow all day. They configure the proxy on their own clients, HTTPS keeps the page content private between the client and the website, and the proxy provides an exit IP in the right location. Thordata offers residential proxies that work over HTTP and HTTPS, with IPs in 190+ countries, and reviews every account through a KYC (know your customer) check before it can use the network. If you’re comparing proxy protocols more broadly, our guide to what a SOCKS5 proxy is explains how SOCKS5 differs from HTTP proxies.
Frequently asked questions
What is the main difference between HTTP and HTTPS?
HTTPS encrypts the connection between your browser and the website with TLS, proves the site’s identity with a certificate, and detects tampering. HTTP does none of these, so anything sent over it can be read or changed by someone on the network. HTTP uses port 80 and HTTPS uses port 443.
What is the port for HTTPS?
HTTPS uses port 443 by default. HTTP uses port 80. Test servers and some admin tools also use 8443 for HTTPS and 8080 for HTTP. HTTP/3 runs on UDP port 443.
Is HTTPS 100% safe?
No. HTTPS protects your data while it travels, but it doesn’t vouch for the website. Phishing sites can have valid certificates and a padlock. HTTPS also doesn’t hide which domain you visit from your network.
Is Google HTTPS or HTTP?
Google uses HTTPS on all its main services, and Chrome warns on HTTP pages. Google also uses HTTPS as a light ranking signal in search.
Can an HTTP proxy handle HTTPS websites?
Yes. Your client asks the proxy to open a tunnel with the CONNECT method, then runs the TLS handshake directly with the website through it. The proxy forwards the encrypted data without reading the pages, cookies or passwords inside.
Should I use HTTP or HTTPS?
Use HTTPS for any public website or any page where people log in, pay or share personal details. Plain HTTP only makes sense for local testing or closed internal tools, and even there HTTPS is easy to add.
