TidyToolsTech Stack Index · detected

Comparison · Programming language

PHP vs Ruby: which do popular websites use?

As of 2026-11-16, PHP is detected on 1,744 of 7,702 popular websites (23%) and Ruby on 90 (1.2%): PHP is 19x as common. 4 sites use both.

Adoption at a glance

PHPRuby
Sites using it1,74490
Share of 7,702 sites23%1.2%
Share of the top 1,000 sites (709 readable)14%1.4%
Only this one of the two1,74086

Both: 4 sites. Detected on 2026-11-16 from the home page; a technology that leaves no trace there is not counted.

By site sector

SectorSitesPHPRuby
Other6,18222%1.2%
News34223%0.3%
Entertainment30020%1.0%
Education24148%0.4%
Government23137%1.3%
Technology13713%0.7%
Finance9317%1.1%
E-commerce9212%1.1%

Share of the sector's sites using each technology; sectors with at least 50 sites.

By top-level domain

TLDSitesPHPRuby
.com4,07721%1.3%
.org42327%1.9%
.net32719%1.2%
.ru25118%0.4%
.io18014%1.1%
.jp18013%4.4%
.de17530%2.3%
.edu15656%<0.1%
.gov10758%0.9%

Top-level domains with at least 100 sites.

Most popular sites using only PHP

Most popular sites using only Ruby

Each technology

FAQ

Which is more popular, PHP or Ruby?
As of 2026-11-16, PHP is detected on 1,744 of 7,702 popular websites (23%) and Ruby on 90 (1.2%): PHP is 19x as common. 4 sites use both.
Which do the most popular websites prefer?
Among the 709 sites of the top 1,000 that we could read, 100 (14%) use PHP and 10 (1.4%) use Ruby.
Can a website use both PHP and Ruby?
Yes: 4 of the 7,702 sites show both (<0.1%); 1,740 show only PHP and 86 only Ruby.

Next step for technology research

Check the technology stack of your own website list.

Detect technology stacksUse TidyTools API credits