That little green padlock icon means your connection to the website is encrypted—without it, your passwords and credit card numbers would travel across the internet as plain text, readable by anyone watching the network.

Full name: Hypertext Transfer Protocol Secure · Standard port: 443 · Predecessor: HTTP · Encryption protocol: TLS · Wikipedia entry: HTTPS

Quick snapshot

1Confirmed facts
2What’s unclear
  • Exact rates of successful hacks on HTTPS sites
  • Detection rates for malware hidden in HTTPS traffic
3Timeline signal
4What’s next
  • HTTPS adoption continues to grow among remaining holdouts
  • Browser vendors intensify pressure on HTTP-only sites
  • HTTP/3 gaining ground with built-in encryption advantages

These specifications define how HTTPS operates as an extension of HTTP.

Attribute Value
Protocol HTTP extension
Security layer TLS/SSL
Default port 443
Visual cue Padlock icon

What is HTTPS?

HTTPS is the secure version of HTTP, the original protocol for transferring web pages across the internet. Where HTTP sends data as readable plain text, HTTPS wraps that traffic in encryption using TLS (Transport Layer Security), formerly known as SSL (Cloudflare). This encryption means that even if someone intercepts the data traveling between your browser and a website, they cannot read it without the proper decryption keys (Cloudflare).

The protocol was first introduced on Netscape Navigator in 1994, when the web was still primarily a research and hobbyist environment (Timeline of HTTPS adoption). Tim Berners-Lee and his team had developed the original HTTP between 1989 and 1991 at CERN, establishing the foundational language that HTTPS would later extend with security features (DEV Community).

What does HTTPS mean?

HTTPS stands for Hypertext Transfer Protocol Secure. The “S” is the entire point: it signals that the connection uses encryption to protect the data being exchanged. When you visit a site via HTTPS, your browser and the server perform a TLS handshake, exchanging digital certificates that verify identity and establish encryption keys before any actual content transfers.

The upshot

SSL 3.0, the predecessor to TLS, was released in 1996 and deprecated by June 2015 due to accumulating vulnerabilities (DEV Community). Modern HTTPS exclusively uses TLS 1.2 or 1.3, both of which offer substantially stronger protection than anything that came before.

HTTPS example

Consider what happens when you log into your email. With HTTP, your username and password travel across the network in plain text—anyone with access to the same WiFi network could potentially capture and read them. With HTTPS, that same login information is encrypted into what looks like random characters, readable only by the intended server that holds the correct decryption key. Your bank, your social media accounts, and your workplace’s internal tools all rely on this same mechanism to keep your credentials private.

Bottom line: The implication: without encryption, any network observer on a shared WiFi network can intercept sensitive credentials.

Why is HTTP not secure?

HTTP transmits data in plain text, making it vulnerable to interception and man-in-the-middle attacks (Hostinger). If you’re on the same coffee shop WiFi as someone running a packet sniffer, they can potentially see every page you visit, every form you submit, and every piece of sensitive information you type. This isn’t theoretical—it’s a documented attack vector that has been exploited in real-world scenarios (Hostinger).

Beyond interception, HTTP offers no authentication. There’s no mechanism to verify that you’re actually connecting to your bank’s website and not an imposter site running on the same IP address. Attackers can redirect your traffic through their servers, capturing credentials and sensitive data before forwarding it onward—a technique called DNS spoofing or ARP poisoning.

HTTP vs HTTPS

The operational difference is fundamental: HTTP operates at the Application Layer of the network stack, while HTTPS operates at the Transport Layer with encryption added (Rublon). HTTP uses port 80 by default; HTTPS uses port 443 (Rublon). Both protocols handle the same types of requests and responses, but the encrypted variant wraps everything in a protective tunnel.

Modern browsers now actively warn visitors when they land on HTTP sites, marking them as “Not Secure” in the address bar (Hostinger). This discourages visitors, increases bounce rates, and signals to search engines that the site may be less trustworthy (Hostinger). Google and other search engines give preference to HTTPS websites in search rankings, meaning HTTP sites face lower visibility as a consequence of their insecurity (Hostinger).

Why this matters

Of the top 100 sites ranked by Google, 90 default to HTTPS (Okta). The minority still running HTTP are increasingly outliers, often operating legacy systems or niche applications where the migration cost has not yet been justified.

How does HTTPS protect you?

HTTPS provides three core protections that HTTP cannot offer. First, encryption ensures that data in transit cannot be read by eavesdroppers. Second, authentication verifies that you’re connecting to the legitimate website through digital certificates issued by trusted Certificate Authorities. Third, data integrity checks detect any tampering with the content during transmission—if an attacker tries to modify the encrypted data, the receiving end will detect the mismatch and reject the content.

The encryption mechanism works through asymmetric cryptography. When your browser connects to an HTTPS site, the server sends its public certificate. Your browser verifies this certificate against a list of trusted Certificate Authorities. If verification passes, your browser and the server exchange encryption keys and establish a protected session. From that point forward, all HTTP requests and responses travel through this encrypted tunnel.

Can hackers see HTTPS?

Hackers cannot read the content of HTTPS traffic without the encryption keys. However, they can often see metadata that the encryption doesn’t hide: which IP addresses are communicating, which domain names are being accessed (through Server Name Indication, or SNI), how much data is being transferred, and the timing patterns of that traffic. A sophisticated network observer might not see your password, but they could potentially identify that you visited a particular healthcare or financial website, how long you stayed, and how much data you downloaded.

This is a meaningful distinction. Total privacy from network observers is not what HTTPS provides—it’s protection for the actual content of your communications. Government agencies and sophisticated corporate surveillance tools may not need the content to draw conclusions about your activity, especially when combined with other data sources.

The pattern: HTTPS shields your data from eavesdroppers, but network observers can still profile your activity through visible metadata.

Can a HTTPS site be hacked?

Yes. HTTPS protects data in transit, but it does not protect the endpoints. If a server is compromised due to a bug, misconfiguration, or unpatched vulnerability, HTTPS does not help—the attacker already has access to the decrypted data as it arrives at the server (text/plain). Similarly, if your device is infected with malware, the encryption protects you only from network eavesdroppers, not from local keyloggers or browser extensions that capture your data before it’s encrypted (text/plain).

HTTPS does not make server code magically secure. Vulnerabilities in server-side applications, databases, or infrastructure are completely independent of HTTPS (text/plain). SQL injection attacks, cross-site scripting, insecure direct object references, and countless other application-layer vulnerabilities can be exploited regardless of whether the site uses HTTPS. An HTTPS certificate tells you the connection is encrypted—it does not tell you anything about the security practices of the organization running the site.

How Secure is HTTPS?

HTTPS is highly effective at its specific job: protecting data in transit between your browser and the server. It prevents man-in-the-middle attacks, blocks eavesdropping on public networks, and authenticates the server’s identity. The TLS protocol itself is robust when properly implemented, and TLS 1.3, the current standard, offers improved security and performance over its predecessors.

However, the protocol has documented limitations. Client Certificate Authentication is technically supported by HTTPS but is rarely used in practice, meaning that while servers can authenticate clients through certificates, almost no websites implement this feature (text/plain). Users can also trivially manipulate their outbound traffic from a browser or application despite HTTPS—installing browser extensions or proxy software that intercepts traffic before encryption (text/plain). In corporate environments, security appliances can perform SSL inspection by terminating and re-establishing connections, effectively decrypting traffic for security scanning purposes.

The catch

HTTPS does not stop malware. If a website serves malicious content, HTTPS encrypts that content as it travels to your browser (text/plain). Security appliances that rely on scanning unencrypted HTTP traffic for malware signatures may miss threats delivered over HTTPS, creating a potential blind spot in organizational security monitoring.

Should I turn on HTTPS?

Yes, unambiguously. If you run any website that handles user data, accepts payments, or simply wants to be taken seriously in 2024, HTTPS is not optional—it’s foundational. Many APIs, browser features, and payment gateways now require HTTPS to function at all (Hostinger). HTTP-only sites lose access to critical integrations, modern browser APIs, and the trust of their visitors. If you’re concerned about specific payment types, you can Comprova el pagament per fred.

Let’s Encrypt, launched in 2015, made SSL/TLS certificates free and the migration to HTTPS substantially easier for site operators of all sizes (Timeline of HTTPS adoption). This initiative, combined with pressure from Google, Mozilla, and privacy-focused organizations, drove HTTPS from minority adoption to the dominant protocol by 2019 (Timeline of HTTPS adoption). The cost and complexity barriers that once justified delaying HTTPS migration have largely disappeared.

How do I connect to an HTTPS site?

Most modern browsers connect to HTTPS by default for sites that support it. When you type a URL, your browser attempts an HTTPS connection first; if the server doesn’t support it, the browser typically falls back to HTTP with a prominent security warning. You can verify the connection is secure by checking for the padlock icon in the address bar, clicking it to view the site’s certificate details, and ensuring the displayed domain matches the site you intended to visit.

What to watch

A padlock icon alone does not guarantee a site is legitimate. Attackers can obtain valid certificates for convincing fake domains. Always verify the URL spelling, especially for banking, email, and shopping sites where phishing is most common.

Is HTTPS good or bad?

HTTPS is unambiguously good for internet security. Its limitations are important to understand, but they don’t diminish the fundamental value of encrypting web traffic. The protocol protects billions of transactions daily, prevents credential theft on public networks, and authenticates server identity. The trade-offs—slight performance overhead, certificate costs (though largely solved by Let’s Encrypt), and the false sense of security some users derive from the padlock icon—are worth accepting for the protection HTTPS provides.

Bottom line: The implication: HTTPS is a non-negotiable foundation for any site that handles sensitive data or wants visitor trust.

HTTP vs HTTPS Comparison

Six factors separate these protocols, with HTTPS winning decisively on every security dimension.

Feature HTTP HTTPS
Encryption None (plain text) TLS encryption
Default port 80 443
Authentication None Server certificates
Data integrity No protection Tamper detection
Browser status Marked “Not Secure” Padlock indicator
Search ranking Lower priority Positive signal

Upsides

  • Encrypts data in transit, preventing eavesdropping
  • Authenticates server identity to prevent impersonation
  • Protects against man-in-the-middle attacks on public networks
  • Required for modern APIs and browser features
  • Positive signal for search engine rankings
  • Free certificates available through Let’s Encrypt

Downsides

  • Does not protect compromised servers or endpoints
  • Slight performance overhead (negligible with modern hardware)
  • Cannot prevent malware or phishing attacks
  • Metadata like domain names remains visible in some cases
  • Certificate management adds operational complexity
  • Valid certificates can be obtained for phishing domains

How to Enable HTTPS on Your Website

Migrating to HTTPS involves several distinct steps, each straightforward but requiring attention to detail.

  1. Obtain an SSL/TLS certificate. Purchase one from a Certificate Authority or get one free from Let’s Encrypt. Certificates verify your domain ownership and enable the encrypted connection.
  2. Install the certificate on your web server. Configuration varies by server software—Apache, Nginx, IIS, and others each have their own procedures for installing and configuring certificates.
  3. Update internal links from HTTP to HTTPS. Any hardcoded HTTP URLs in your content, databases, or applications need to point to HTTPS. Mixed content (HTTP resources on an HTTPS page) triggers browser warnings.
  4. Configure 301 redirects. Set up permanent redirects from HTTP to HTTPS so that users and search engines automatically use the secure version. This preserves your search rankings during the transition.
  5. Update external integrations. Payment gateways, API endpoints, analytics services, and CDN configurations all need to point to HTTPS. Test thoroughly before declaring the migration complete.
  6. Monitor for issues post-migration. Check browser console for mixed content warnings, verify that all subdomains are covered by your certificate, and ensure search engine crawlers can access the HTTPS version of your site.

Confirmed vs Unclear

Understanding what HTTPS definitively does and does not protect helps set realistic expectations for both site operators and end users.

Bottom line: For developers and site operators, HTTPS is necessary but not sufficient—application security, server hardening, and endpoint protection remain independent responsibilities that HTTPS cannot fulfill. For everyday users, the padlock icon signals a private connection, but it says nothing about the trustworthiness of the organization on the other end.

Confirmed facts

  • HTTPS encrypts data in transit using TLS (Cloudflare)
  • HTTP transmits data in plain text (Hostinger)
  • HTTPS uses port 443 by default (Rublon)
  • SSL 3.0 was deprecated in June 2015 (DEV Community)
  • HTTPS provides server authentication (Hostinger)
  • Google uses HTTPS as a search ranking signal (Hostinger)
  • Let’s Encrypt launched in 2015, accelerating adoption (Timeline of HTTPS adoption)
  • HTTPS became the dominant protocol by 2019 (Timeline of HTTPS adoption)

What’s unclear

  • Exact rates of successful server breaches on HTTPS sites versus HTTP sites
  • Quantified impact of HTTPS on malware detection rates when security appliances cannot inspect encrypted traffic
  • Geographic breakdown of HTTPS adoption beyond China’s censorship response

HTTPS provides authentication, ensuring that users are actually connecting to the real website and not a fake version created by attackers.

— Hostinger (Web hosting industry publication)

HTTPS only protects bytes in transit; if a server is compromised due to a bug or configuration error, HTTPS does not help.

— text/plain (Web security blog)

For website operators, the decision is settled: HTTPS is mandatory. For users, the protocol provides meaningful protection against network eavesdropping and impersonation attacks, but the padlock icon should not be mistaken for a blanket security guarantee. Understanding what HTTPS does and does not do is essential for making informed decisions about your online activity, your own site’s security architecture, and how much trust to place in any given website.

Related reading: What is cloud computing · Windows 10 end of life

Frequently asked questions

Does HTTPS still exist?

HTTPS is not just surviving—it’s dominant. By 2019, HTTPS accounted for more web traffic than plain HTTP, driven by Google, Mozilla, and Let’s Encrypt. Chrome marks all HTTP sites as “Not Secure,” and HTTPS is now the default for virtually all major websites.

Why is SSL no longer used?

SSL (Secure Sockets Layer) was the predecessor to TLS. SSL 3.0, released in 1996, accumulated vulnerabilities over time and was deprecated in June 2015 via RFC 7568. TLS, its replacement, has gone through several iterations (1.0, 1.1, 1.2, and now 1.3), each addressing security weaknesses found in earlier versions. Modern browsers and servers exclusively use TLS.

What is SSL?

SSL (Secure Sockets Layer) was an early encryption protocol for securing web communications. It established the pattern of encrypting HTTP traffic that TLS continues today. Though the term “SSL certificate” persists in common usage, actual SSL is deprecated—all modern encrypted connections use TLS.

How do I connect to an HTTPS site?

Modern browsers connect to HTTPS automatically when available. Type the URL or click a link; your browser attempts HTTPS first and falls back to HTTP only if the server doesn’t support it. You can verify a secure connection by checking for the padlock icon in your browser’s address bar.

Can HTTPS be broken?

TLS has known vulnerabilities in older versions (TLS 1.0 and 1.1 are being phased out), but a properly configured TLS 1.2 or 1.3 connection is considered computationally infeasible to break with current technology. However, the protocol protects only the connection itself—servers can still be hacked, endpoints can still be compromised, and users can still be tricked into revealing information through phishing.

Is HTTPS faster than HTTP?

HTTP is technically faster because it skips the encryption overhead, but the difference is negligible on modern hardware and networks—typically measured in milliseconds. The security benefits of HTTPS vastly outweigh any performance cost, and HTTP/2 and HTTP/3, which require HTTPS, offer performance improvements that more than compensate for the encryption handshake.