Node.js vs PHP
- 16,319
- 536,650
Loading comparison
Loading comparison
PHP is the more common of the two in our index: it runs on 536,650 websites against 16,319 for Node.js, and 3,983 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 146 and PHP on 2,289; across the top million it is 10,650 against 329,346. Within the programming languages sites we have indexed, Node.js holds 2.5% and PHP 83%.
Node.js: 16,319 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 | 686 | 36,397 |
| Germany | 541 | 32,677 |
| Russia | 608 | 24,803 |
| France | 217 | 17,251 |
| Netherlands | 250 | 12,571 |
| United Kingdom | 220 | 12,033 |
3,983 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 | 11,010 |
|---|
| Poland | 158 | 8,143 |
|---|
Export all 16,319 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.