Create an animated lesson
On requestThis article is free to read. Creating a lesson uses your daily or stored credits; review the language and settings before starting.
How does HTTPS work?
Quick answer
HTTPS secures the connection between your browser and a website. When you connect, the two sides exchange keys and agree on a shared secret, then encrypt everything sent afterward — so passwords and card numbers travel as scrambled data nobody in between can read.
Step by step
- It encrypts traffic between your browser and a site.
- A TLS 'handshake' sets up shared secret keys.
- A certificate proves the site is who it claims to be.
- The padlock icon means the page is using HTTPS.
People also ask
How does HTTPS work?
Your browser and the server perform a TLS handshake to agree on secret keys, then encrypt all data exchanged so it can't be read or altered in transit.
What does the padlock in the browser mean?
It shows the connection is encrypted with HTTPS and the site presented a valid security certificate.
Is HTTPS completely safe?
It protects data in transit and verifies the site's identity, but it can't guarantee the site itself is trustworthy or malware-free.
Part of the guide: How the Internet Works →

