Node.js vs PHP
- 16,092
- 528,422
Loading comparison
Loading comparison
PHP is the more common of the two in our index: it runs on 528,422 websites against 16,092 for Node.js, and 3,940 sites use both. Counts come from real scans of each site's home page, not vendor claims, and cover the sites in TechLookup.app's index rather than the whole web.
Node.js is an open-source, cross-platform, JavaScript runtime environment that executes JavaScript code outside a web browser.
PHP is a general-purpose scripting language used for web development.
Among sites in the Tranco top 10,000, Node.js appears on 148 and PHP on 2,282; across the top million it is 10,392 against 319,590. Within the programming languages sites we have indexed, Node.js holds 2.5% and PHP 83%.
Node.js: 16,092 sites, on 2.5% of Programming languages sites
Indexed sites in the countries where the two are most used. A site's country is read from its domain ending, or from its own server for .com and other generic endings. Sites behind a shared CDN or cloud on a generic ending have no country and are not counted here.
| Country | Node.js | PHP |
|---|---|---|
| United States | 689 | 35,944 |
| Germany | 532 | 32,031 |
| Russia | 606 | 24,458 |
| France | 215 | 16,944 |
| Netherlands | 250 | 12,410 |
| United Kingdom | 218 | 11,891 |
3,940 sites run both Node.js and PHP. That is 24% of the sites using Node.js, the smaller of the two.
Want to know which one a particular site uses? Look it up and see its whole stack, or compare two sites side by side.
| Japan | 55 | 10,805 |
|---|
| Poland | 158 | 7,925 |
|---|
Export all 16,092 Node.js sites as CSV on the Pro plan, $49 a month. Export on Pro → or download a free 5-row sample CSV.
Export up to 500,000 PHP sites a month as CSV on the Business plan, $99 a month. Export on Business → or download a free 5-row sample CSV.