Web language popularity: what websites are built with, 2015 to 2026

In briefAn animated look at which programming languages power websites, from PHP and ASP.NET to Node.js, Ruby and JavaScript, using W3Techs data from 2015 to 2026.

PHP still powers most websites, but its lead is shrinking. According to W3Techs, PHP ran on 80.6% of websites with a known server-side language in January 2015 and 69.0% on November 8, 2026. Over the same period JavaScript on the server (Node.js) grew from 0.1% to 8.4%, Ruby from 0.9% to 7.1%, and ASP.NET fell from 16.7% to 4.2%. In the browser, JavaScript is close to universal at 98.9% of all websites, while Flash, once on 12.1% of sites, is effectively gone.

The animation below shows the whole race year by year.

Server-side language share, January 2015 to November 2026, followed by JavaScript and Flash in the browser. Data: W3Techs historical yearly trends, accessed November 8, 2026. Animation by Irmo Web Design.

The numbers behind the animation

W3Techs scans the top 10 million websites and reports which technologies it can detect. The server-side figures are the share of sites where the server-side language is known, and a site can use more than one language, so columns can add up to slightly more than 100%.

Server-side languageJan 2015Jan 2020Nov 2026Change since 2015
PHP80.6%78.9%69.0%-11.6 pts
JavaScript (Node.js)0.1%0.8%8.4%+8.3 pts
Ruby0.9%3.0%7.1%+6.2 pts
Java2.8%3.7%5.5%+2.7 pts
Scala0.2%1.6%5.0%+4.8 pts
ASP.NET16.7%10.6%4.2%-12.5 pts
Static filesnot listed1.8%2.1%
Python1.6%1.3%1.1%-0.5 pts

Source: W3Techs, server-side languages, yearly trends.

In the browser (share of all websites)Jan 2015Jan 2020Nov 2026
JavaScript88.1%95.0%98.9%
Flash12.1%2.8%2.8%

Source: W3Techs, client-side languages, yearly trends.

What is driving the changes

PHP: carried by WordPress

PHP's staying power is mostly a WordPress story. WordPress is written in PHP, and our companion animation of website platform popularity shows WordPress growing from 23.3% to 39.4% of all websites over the same years. As long as WordPress runs that much of the web, PHP will stay on top. The slow decline reflects sites moving to hosted builders and newer frameworks, not people abandoning PHP for its own sake.

JavaScript on the server: the fastest riser

JavaScript started as the language of the browser in 1995. Node.js, released in 2009, let developers run it on the server too. Since then, frameworks such as Next.js have made it practical to build a whole site, front end and back end, in one language. That convenience is a big reason Node.js went from almost nothing to 8.4%. It is also the stack we use for many custom builds; see why we use Next.js for business websites.

Ruby and Scala: riding on hosted platforms

Ruby's growth lines up with hosted platforms. Shopify, for example, is built on Ruby on Rails, so every Shopify store W3Techs detects can count toward Ruby. Scala's rise is likely similar: it is used behind the scenes by large website builders rather than chosen by individual site owners. In other words, many business owners "use" Ruby or Scala without ever writing a line of it. Our guide to Shopify for growing brands covers that platform in detail.

ASP.NET: the biggest decline

ASP.NET was a common choice for custom business sites in the 2000s, especially for companies already on Microsoft servers. Its share fell by about three quarters between 2015 and 2026. The data does not explain why, but the pattern matches what we see in redesign projects: older custom .NET sites are often replaced with WordPress, a site builder or a modern framework when they come up for a rebuild.

Flash: from everywhere to end of life

Flash once powered intros, animations and whole websites. Browsers dropped support, and Adobe ended Flash Player support on December 31, 2020. Its share fell from 12.1% of sites in 2015 to 1.0% in January 2025. W3Techs shows a small uptick to 2.8% in late 2026, which most likely reflects leftover embed code on old pages rather than anything that still plays. Every browser effect Flash once handled is now done with HTML, CSS and JavaScript.

Platforms and languages are linked

Most site owners never pick a programming language directly. They pick a platform, and the platform brings its language with it. That is why this chart and our website platform chart tell the same story from two angles.

Our companion post on website platform popularity has the matching animation for WordPress, Shopify, Wix and the rest.

If you chooseYou are mostly using
WordPress, Joomla, DrupalPHP
ShopifyRuby (on Shopify's servers)
Next.js or another JavaScript frameworkJavaScript or TypeScript
Wix, Squarespace and other buildersWhatever the vendor runs; you never touch it
A static siteHTML, CSS and JavaScript, built ahead of time

Curious what a competitor's site runs on? Our guide on how to find out what platform a website is built on walks through the tools and clues.

What this means for your next website

  • Don't choose a language, choose a platform. The language matters to your developer; the platform decides your costs, flexibility and how easily you can make changes. Start with how to choose a website platform.
  • PHP is not a red flag. A well-built, well-hosted WordPress site is a solid choice for most small and mid-size businesses. Hosting matters more than the language; see the best WordPress hosting.
  • JavaScript frameworks suit custom needs. If you want top speed, a unique design or a headless CMS, a framework like Next.js is worth the higher build cost.
  • Old ASP.NET or Flash-era sites are due. If your site still depends on technology from the decline lines on this chart, plan a rebuild before something breaks.

About the data

All figures come from W3Techs historical yearly trends, which record usage on January 1 each year, plus a snapshot on November 8, 2026, when we accessed the pages. W3Techs measures the top 10 million sites by traffic, not every site on the internet, and its numbers can shift when its detection methods change. Use it for direction and scale, not exact counts. The launch years in the animation's intro (JavaScript 1995, PHP 1995, Java 1995, ASP 1996, ASP.NET 2002, Ruby on Rails 2004, Node.js 2009) are widely documented release dates.

Want help picking the right platform, or moving off an aging one? Talk to us.

Questions people ask

What is the most popular programming language for websites?
On the server, PHP. W3Techs found PHP on 69.0% of websites whose server-side language it could detect as of November 8, 2026, down from 80.6% in January 2015. Much of that share comes from WordPress, which is written in PHP. In the browser, JavaScript runs on 98.9% of all websites.
Is PHP dying?
No, but its share is shrinking. PHP still runs roughly two out of three websites with a known server-side language. It has lost about 11.6 points since 2015, mostly to JavaScript (Node.js), Ruby, Java and Scala, often through hosted platforms and newer frameworks.
Why did ASP.NET decline so much?
W3Techs shows ASP.NET falling from 16.7% in 2015 to 4.2% in November 2026. The data does not say why. Likely factors include businesses moving off Windows-hosted custom sites to WordPress, site builders and hosted platforms, and Microsoft's newer .NET versions being used more for apps and APIs than for public websites.
Are HTML and CSS programming languages?
HTML is a markup language that structures a page and CSS is a style sheet language that controls how it looks. Every website uses both, so popularity charts usually leave them out and track the languages that run on the server or add behavior in the browser.
Which language should my business website use?
Usually the one your platform chooses for you. If you use WordPress you get PHP, Shopify runs on Ruby, and modern custom builds such as Next.js use JavaScript and TypeScript. Pick the platform that fits your goals, budget and team first; the language follows.

Planning a website?

Get a platform recommendation and a fixed quote within one business day.

Start a project

Tell us what the site needs to do.

Share a few details and a budget range. We reply within one business day with a plan, a platform recommendation and a fixed quote.