Technology & Digital Life · Explainer
What is HTTPS? How the padlock keeps your browsing private
The "s" in HTTPS stands for secure. It encrypts the connection between your browser and a website, but a padlock alone doesn't prove a site is trustworthy.

Short answerHTTPS (Hypertext Transfer Protocol Secure) is the secure version of HTTP, the protocol browsers use to load websites. It uses TLS encryption to scramble data travelling between your browser and the website, so others on the network can't read or alter it, and it uses certificates to confirm you are connected to the real domain. The padlock shows the connection is encrypted, not that the website itself is safe or honest.
Key takeaways
- HTTPS encrypts data between your browser and a website.
- It uses TLS, the successor to SSL.
- Certificates prove a site controls its domain name.
- The padlock means a secure connection, not a trustworthy website.
- Most of the web now uses HTTPS by default.
HTTP vs HTTPS
| HTTP | HTTPS | |
|---|---|---|
| Encryption | None; data sent as plain text | Encrypted with TLS |
| Identity check | None | Certificate confirms the domain |
| Tamper protection | Data can be altered in transit | Changes are detected |
| Browser display | Often marked "Not secure" | Padlock or tune icon |
| Default port | 80 | 443 |
What HTTPS protects
- Privacy: passwords, messages, card details and the pages you view on a site are encrypted.
- Integrity: nobody on the network can secretly change the page, such as injecting adverts or malware.
- Authentication: your browser checks you are talking to the real domain, not an impostor on the network.
What HTTPS doesn't protect
HTTPS doesn't hide which website you are visiting from your internet provider or network, because the domain name is usually still visible. It doesn't make a dishonest website honest, stop malware hosted on the site, or protect data once it reaches the website's servers. It also doesn't protect your device if it is already infected.
How HTTPS works, step by step
- Your browser connects to the website and asks for a secure session.
- The server sends its certificate, containing its public key and domain name.
- Your browser checks the certificate was issued by a trusted authority, is valid and matches the domain.
- They agree session keys using a secure key-exchange method.
- Data is encrypted with fast symmetric encryption for the rest of the session.
This "TLS handshake" takes a fraction of a second.
Public and private keys
HTTPS uses public-key cryptography to set up the connection. A website has a public key, which anyone can see, and a private key, kept secret on its server. Data scrambled with the public key can only be unscrambled with the private key. Modern TLS uses this to agree a shared session key securely, even over a network that strangers can watch.
What is a certificate?
A TLS certificate is a digital document that links a domain name to a public key. It is signed by a certificate authority (CA), an organisation your browser and operating system trust. If a certificate is expired, issued for a different domain, or signed by an untrusted authority, your browser shows a warning.
SSL vs TLS
SSL (Secure Sockets Layer) was the original protocol, developed in the 1990s. It was replaced by TLS (Transport Layer Security) because of security flaws. People still say "SSL certificate" out of habit, but modern websites use TLS, ideally version 1.2 or 1.3.
Types of certificate
| Type | What is checked |
|---|---|
| Domain validated (DV) | Control of the domain only; issued automatically, often free |
| Organisation validated (OV) | Domain plus basic details of the organisation |
| Extended validation (EV) | Stricter checks on the organisation's identity |
Browsers display all three with the same padlock today, so the type isn't a reliable trust signal for visitors.
Why phishing sites use HTTPS too
Certificate warnings: what to do
If your browser shows a warning such as "Your connection is not private", don't enter passwords or payment details. The cause may be harmless, such as an expired certificate or wrong device clock, but it could also signal an attack on the network. Check your device's date and time, try another network, and avoid clicking "proceed anyway" on sites where you log in.
HTTPS on public Wi-Fi
On cafe and hotel Wi-Fi, HTTPS stops other users on the network from reading your traffic to secure sites. It is one reason public Wi-Fi is much safer than it used to be. Still, avoid ignoring certificate warnings on public networks, and keep your devices updated. See securing your home Wi-Fi router for network basics at home.
HTTPS and search rankings
Google announced in 2014 that HTTPS is a ranking signal, and Chrome began labelling HTTP pages as "Not secure" in 2018. Combined with free certificate authorities such as Let's Encrypt, launched in 2016, this pushed most of the web to switch. Today the large majority of pages loaded in major browsers use HTTPS.
How website owners switch to HTTPS
- Get a certificate, often free from the host or an automated authority.
- Install it and enable HTTPS on the server.
- Redirect HTTP to HTTPS with permanent (301) redirects.
- Update internal links and resources to HTTPS to avoid "mixed content".
- Set up automatic renewal, because certificates expire.
- Consider HSTS, which tells browsers to always use HTTPS.
What is mixed content?
Mixed content happens when an HTTPS page loads images, scripts or styles over plain HTTP. Browsers may block these files or show a warning, because they could be tampered with. Fixing it means updating every resource link to HTTPS.
HTTPS and your privacy
HTTPS protects the content of your browsing, but combine it with other habits for better privacy: use a reputable browser, keep software updated, enable encrypted DNS (see what DNS is), and use strong, unique passwords with a password manager.
How to check a website's certificate
Click the padlock or site-information icon next to the address bar to see whether the connection is secure and view certificate details, including the domain it was issued for, the issuer and expiry date. This is useful if a site behaves oddly, though for most browsing the browser's automatic checks are enough.
HTTPS for apps and devices
HTTPS isn't just for websites. Phone apps, smart TVs and home devices use the same TLS encryption to talk to their servers. Keeping devices and apps updated matters, because updates can fix weaknesses in how they handle encryption and certificates.
Quick safety checklist
- Check the domain carefully before logging in.
- Look for the secure connection icon, but don't rely on it alone.
- Never ignore certificate warnings on sites where you enter personal details.
- Type important addresses yourself rather than clicking links.
- Keep your browser updated.
A short history of HTTPS
Netscape introduced SSL in the mid-1990s to enable online shopping. For years, HTTPS was mainly used on login and payment pages because certificates were costly and encryption was thought to slow sites down. Faster computers, free certificates and pressure from browsers and search engines made HTTPS the default for nearly every page by the 2020s.
What end-to-end encryption adds
HTTPS encrypts data between your device and a company's server, but the company can still read it once it arrives. End-to-end encryption, used by some messaging apps, encrypts messages so only the sender and recipient can read them, not the service provider. Both are useful: HTTPS protects you on the network, while end-to-end encryption also protects your messages on the provider's servers. Turning on two-factor authentication adds another layer for your accounts.
HTTPS and speed
Early on, encryption added noticeable delay, which is one reason many sites avoided HTTPS. Modern TLS 1.3 needs fewer round trips to set up a connection, and HTTP/2 and HTTP/3, which browsers generally use only over secure connections, can make pages load faster than plain HTTP. Today, HTTPS has little or no speed cost for most websites.
Final thoughts
HTTPS encrypts your connection, protects data from tampering and checks you are reaching the real domain. It is essential, but it doesn't vouch for a website's honesty, so keep checking addresses before entering personal details. Explore more in Technology & Digital Life on All Informations.
Sources and further reading
These official and reference pages support the key facts in this guide and are good places to read more. All Informations checked every link on 25 November 2026.
Frequently asked questions
What does HTTPS stand for?
Hypertext Transfer Protocol Secure.
Does the padlock mean a website is safe?
It means the connection is encrypted, not that the website is trustworthy.
What is the difference between SSL and TLS?
TLS is the modern, more secure successor to SSL.
Is HTTPS safe on public Wi-Fi?
It encrypts your traffic so others on the network can't read it; heed any certificate warnings.
Why do some sites say "Not secure"?
They use plain HTTP, so data isn't encrypted.




