HTTPS vs VPN: What Each One Protects
HTTPS secures the connection between your browser and a website. A VPN secures the path between your device and the VPN server. They overlap less than most people think.
9 min readUpdated Oct 15, 2026By XPASS Editorial Team

People often ask whether a VPN is still useful now that most websites use HTTPS. The honest answer is that they protect different parts of the journey. HTTPS protects the conversation between your browser and one specific website. A VPN protects the path between your device and a VPN server, for every app. Knowing the boundary of each helps you decide what to rely on and what not to expect.
This article compares them side by side, shows what an observer on the same network can still see in each case, and explains why neither replaces careful habits such as spotting phishing websites.
What HTTPS does
HTTPS is the ordinary web protocol, HTTP, running inside an encrypted connection created with TLS. When your browser opens https://example.com, it and the server agree on keys and set up a private channel. The current version, TLS 1.3, is defined in RFC 8446.
That channel gives you three things:
- Confidentiality: anyone watching the network cannot read the page, the form fields or the cookies being exchanged.
- Integrity: the data cannot be altered in transit without detection, so a network operator cannot quietly inject content into the page.
- Authentication of the site's name: the server proves, with a certificate issued by a trusted authority, that it is entitled to use the domain name in the address bar. Free authorities such as Let's Encrypt have made this standard for small sites too.
The padlock icon reflects exactly this and nothing more.

What a VPN does
A VPN creates an encrypted tunnel from your device to a VPN server. Everything your device sends, from browsers, mail apps and games, is wrapped inside that tunnel, and the VPN server forwards it to the internet. If you need the fundamentals, read what a VPN is.
Consequences:
- The local network, such as a café router or hotel Wi-Fi, sees an encrypted stream to the VPN server instead of your individual connections.
- Websites see the VPN server's IP address instead of the one your internet provider assigned.
- Protection covers apps that do not use HTTPS at all.
The encryption ends at the VPN server. From there to the destination, the traffic travels on the normal internet, which is why HTTPS is still valuable inside a VPN.
Side-by-side comparison
| Question | HTTPS only | VPN only (site uses plain HTTP) | HTTPS and VPN |
|---|---|---|---|
| Can the local Wi-Fi owner read page contents? | No | No, but the VPN operator and anyone between the VPN server and the site can | No |
| Can the local network see which domain you visit? | Yes, usually through the DNS lookup and the connection | No, only the VPN server address | No |
| Can the website see your real IP address? | Yes | No, it sees the VPN server | No |
| Is the site's identity checked? | Yes, by its certificate | No | Yes |
| Does it cover apps other than the browser? | Only apps that use TLS | Yes | Yes |
| Does it stop malware or fake sites? | No | No | No |
A worked example: a café and two logins
You are in a café and log in to your bank, which uses HTTPS.
- HTTPS alone. Another customer on the same Wi-Fi who is running a packet capture sees that your phone connected to your bank's domain, and a stream of encrypted data. They cannot read your password or balances. If a fake hotspot tries to impersonate the bank, your browser warns you because the certificate will not match.
- Adding a VPN. The café network now sees only an encrypted connection to the VPN server. The domain name of your bank is hidden from it. The bank itself sees the VPN server's address, which can sometimes trigger extra security checks on your account.
Now picture an old device, such as a smart-home gadget or a legacy app, that talks plain HTTP. HTTPS offers it nothing, since it is not used. A VPN protects that traffic from the local network, but only up to the VPN server. The public Wi-Fi guide goes through that scenario in detail.
What HTTPS leaves visible
Even with a valid HTTPS connection, observers on the network can usually learn:
- The domain you connect to. It appears in the DNS lookup, and in the setup of the TLS connection, although newer techniques can hide parts of it. See how DNS works.
- The IP address of the server, and when you connected.
- Roughly how much data moved, which can hint at what you did, for example streaming rather than reading.
The website itself, plus any advertisers and trackers embedded in the page, also still see your IP address and whatever you send them.
What a VPN leaves visible
With a VPN, the local network learns almost nothing except that you use a VPN and how much data flows. In exchange:
- The VPN operator can see the destination addresses your traffic is going to, because it forwards them. HTTPS limits what it can read inside the content.
- The website still sees your login, your cookies and everything you submit. A VPN does not remove the account-based tracking that sites do.
- Your device can still be tracked through browser features and fingerprinting, regardless of the tunnel.
For a full list of what is and is not protected, see what a VPN protects.
Common misunderstandings
- "The padlock means the site is safe." It means the connection is encrypted. A phishing page can have a valid certificate for its own address.
- "A VPN makes HTTPS unnecessary." The tunnel stops at the VPN server, so the stretch beyond it is only protected if the site uses HTTPS.
- "HTTPS hides what sites I visit." It hides what you do on them, not which domains you connect to.
- "With both, I am fully protected." Neither stops you from entering a password on a fake page, installing a malicious app, or reusing a leaked password.
Practical steps
- Check the address bar for
https://before entering any password or payment detail, and read the domain itself carefully. - Do not click through browser certificate warnings. They mean the connection or the site's identity cannot be trusted.
- On public Wi-Fi, use a VPN for apps that you cannot inspect, and still prefer HTTPS sites.
- Turn on two-factor authentication for important accounts, so a stolen password alone is not enough. See what two-factor authentication is.
- Keep your operating system and browser updated, as that is where most real-world fixes for TLS and certificate problems arrive.

How VPN and HTTPS work together as layers
The easiest way to picture VPN and HTTPS is as two envelopes. Your browser first seals the message in the HTTPS envelope, addressed to one website. The VPN app then drops that sealed envelope into a second, outer envelope addressed to the VPN server. Someone who intercepts the outer envelope on the café Wi-Fi can see that it is going to the VPN server, and nothing more. The VPN server opens the outer envelope and forwards the inner one. It still cannot open the inner envelope unless the site is not using HTTPS at all.
This layering explains most of the practical questions people ask about VPN and HTTPS:
- Does stacking both make everything much slower? Not by much. Both layers add a little overhead, but modern devices handle encryption easily. Most of the time you notice distance and congestion, not the extra encryption.
- Why can the VPN operator not read my bank session? Because the inner HTTPS layer is between you and the bank. The operator forwards encrypted data. It can still see which server addresses the traffic goes to.
- Why do I still get certificate warnings with a VPN on? The warning comes from the HTTPS layer, which the VPN does not replace. A warning means the site's certificate does not match its name, and you should stop.
Newer browser features also help on the HTTPS side. Many browsers can be set to prefer or require HTTPS and will warn you before opening a plain HTTP page. Some can encrypt DNS lookups using DNS over HTTPS, described in RFC 8484. These reduce what a local network sees even without a VPN, but they only cover the browser, not every app on the device.
Three scenarios where the difference matters
A hotel room on a shared network
Hotel networks are shared by many guests and often use a login page. HTTPS protects your webmail and shopping sessions on that network. A VPN adds cover for the apps you cannot easily inspect, such as a calendar, a cloud-storage client or a messaging app that may make plain requests in the background. Neither tool protects you from typing your password into a fake "hotel login" page, so check the address first.
Working remotely from home
On your own home network there is usually less risk from other users, so HTTPS does most of the work. A VPN can still be useful if you want your internet provider to see less detail about which services you use. If your employer provides a work VPN, that is a separate tunnel with its own rules, and you should follow your employer's instructions rather than replace it with a personal VPN.
Mobile apps on mobile data
Mobile apps usually use HTTPS for their servers, but not every app does and you cannot see inside them. On mobile data your carrier carries the traffic instead of a café router, so the main exposure is different: the carrier sees destination addresses. A VPN shifts that visibility to the VPN operator instead. That is a trade of who can see the metadata, not a removal of it, so think about which party you trust more.
Quick guide: which protection answers which worry
| Your worry | What helps most | Notes |
|---|---|---|
| Someone reading my passwords on café Wi-Fi | HTTPS, with a VPN as extra cover | HTTPS already protects the content of the session |
| The Wi-Fi owner seeing which sites I open | VPN | HTTPS alone leaves the domain visible |
| A fake website that looks like my bank | Neither | Check the address, use two-factor authentication |
| An old app sending plain HTTP | VPN, up to the VPN server | The stretch after the VPN server is still unencrypted |
| Websites knowing my IP address | VPN | Sites still see your account and cookies |
| A leaked or reused password | Neither | Use a unique password and two-factor authentication |
Checklist before relying on either
- Read the address, not the padlock. The padlock only tells you the connection is encrypted.
- Treat warnings as stop signs. If the browser shows a certificate error, close the page.
- Know what your VPN is covering. Open your VPN app and confirm it is connected before you use shared Wi-Fi. If you need to confirm it is working, follow the guide on how to check if your VPN is working.
- Do not stack up assumptions. A VPN with HTTPS is a good combination, but both can be defeated by a careless click.
- Keep devices updated. Browsers update their trusted certificate lists and TLS settings regularly.
Summary
HTTPS encrypts and authenticates the connection to a specific website, and the padlock only confirms that. A VPN encrypts everything between your device and a VPN server, hides your activity from the local network and swaps your visible IP address. They complement each other and neither replaces judgement about which site you are on. If you would like to try a VPN without a subscription that renews itself, see how a prepaid pass works.
Frequently asked questions
If a website uses HTTPS, do I still need a VPN?
HTTPS already protects the content exchanged with that website from being read or changed on the way. A VPN adds protection for traffic that is not HTTPS and hides which sites you visit from the local network. Whether you need it depends on your situation, for example public Wi-Fi.
Does the padlock mean a website is safe?
No. The padlock means the connection to the site is encrypted and the site presented a valid certificate for its name. Fraudulent sites can have it too, so it says nothing about whether the site's owner is trustworthy.
What can someone on public Wi-Fi see if I use HTTPS?
They cannot read page contents, form data or passwords sent over HTTPS. They can still see the domain names you connect to and the volume and timing of your traffic.
Can HTTPS and a VPN be used together?
Yes, and it is the normal situation. The page content is encrypted by HTTPS between your browser and the site, and the whole connection is then also carried inside the VPN tunnel.
Does using a VPN and HTTPS together slow down my connection a lot?
Only slightly in most cases. Both add a small overhead, but what you usually notice is distance to the server and network congestion. If it feels slow, the VPN server or your own network is more likely the cause than the extra layer of encryption.
References
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Need a VPN for a short trip or a busy month?
XPASS sells prepaid passes for a set number of days. You pay once and nothing renews automatically.
See passesKeep reading

VPN Basics
What Does a VPN Actually Protect?
A VPN protects specific things well: traffic on untrusted networks, what your local network can see and the IP address websites record. This article maps those protections and their limits.
9 min read

VPN Security
How to Stay Safer on Public Wi-Fi
Public Wi-Fi is not a disaster, but it is a network you do not control. Here are the real risks, the habits that matter most, and where a VPN fits in.
8 min read

VPN Security
What Is VPN Encryption?
VPN encryption scrambles your data between your device and the VPN server. Here is how keys, ciphers and the handshake work, and what encryption cannot do.
10 min read