| 1.8% |
| 34% |
| Rank | #3 | #1 |
|---|
| Median DR | 37 | 26 |
|---|
| Average DR | 40 | 28 |
|---|
| Median keywords | 817 | 891 |
|---|
| Median referring domains | 419 | 329 |
|---|
| Median domain age | 20 yrs | 13 yrs |
|---|
| Average domain age | 19 yrs | 14 yrs |
|---|
| Average monthly traffic | 169,538 | 122,074 |
|---|
| Combined monthly traffic | 2,253,669,212 | 47,654,894,148 |
|---|
Monthly snapshots of each segment, 2026-06 to 2026-07. Website counts move when our catalog grows; the share of tracked sites is normalized, so it only moves when real prevalence changes.
Websites
Share of tracked sites
Combined monthly traffic
13,293 websites · rank #3
Top industries
Top markets
390,378 websites · rank #1
Top industries
Top markets
PHP is used by more websites in our catalog: 13,293 use Java and 390,378 use PHP.
Java sites have the higher median Ahrefs Domain Rating (Java: 37, PHP: 26).
Between 2026-06 and 2026-07, Java went from 1.7% to 1.5% of all tracked sites, while PHP went from 49% to 44%. Java is gaining ground faster in our index.
4,826 websites in our catalog use both Java and PHP.
Adoption is counted from Site Stats Database's own crawl; Domain Rating comes from Ahrefs and traffic from DataForSEO. Figures reflect the sites we track and refresh at least monthly.
Citation
Site Stats Database. "Java vs PHP." Site Stats Database, July 1, 2026. https://sitestatsdb.com/technologies/programming-languages/compare/java-vs-php
Site Stats Database tracks 13,293 websites using Java and 390,378 using PHP, each enriched with full monthly traffic history, authority, keywords, referring domains, and the complete detected tech stack. We detect every server-side language by crawling each site's HTML, response headers, and DNS; traffic and SEO metrics come from DataForSEO and Ahrefs. Everything refreshes at least monthly.
See plans & pricing| English |
| 89 |
| 3,771,049 |
| 112,318 |
| 32 yrs |
| 127,973,459 |
| Java |
| wordhippo.com | English | 73 | 2,155,207 | 12,827 | 17 yrs | 114,941,629 | Java |
| worldometers.info | English | 86 | 472,275 | 82,483 | 21 yrs | 113,278,446 | Java |
| walgreens.com | English | 85 | 1,738,607 | 67,299 | 31 yrs | 76,821,712 | Java |
| study.com | English | 85 | 4,953,237 | 123,063 | 30 yrs | 74,304,102 | Java |
| forbes.com | English | 94 | 5,061,816 | 1,192,610 | 33 yrs | 69,613,575 | Java |
| chase.com | English | 87 | 557,977 | 49,317 | 30 yrs | 57,348,032 | Java |
| pbs.org | English | 91 | 2,445,097 | 399,810 | 31 yrs | 46,728,148 | Java |
| foodnetwork.com | English | 90 | 2,320,576 | 180,804 | 30 yrs | 44,602,039 | Java |
| English |
| 100 |
| 130,296,472 |
| 37,387,092 |
| 29 yrs |
| 3,317,277,661 |
| PHP |
| instagram.com | English | 100 | 103,652,284 | 25,257,813 | 22 yrs | 2,566,799,220 | PHP |
| merriam-webster.com | English | 91 | 4,579,269 | 240,838 | 27 yrs | 1,467,281,883 | PHP |
| dictionary.com | English | 90 | 3,387,790 | 129,246 | 31 yrs | 242,622,664 | PHP |
| weather.gov | English | 91 | 1,098,961 | 132,221 | 27 yrs | 221,232,646 | PHP |
| unitconverters.net | English | 74 | 462,113 | 5,885 | 18 yrs | 216,506,436 | PHP |
| wiktionary.org | English | 91 | 3,062,929 | 213,267 | 23 yrs | 104,118,446 | PHP |
| harvard.edu | English | 93 | 3,845,102 | 714,396 | 41 yrs | 104,117,233 | PHP |
| calculator.net | English | 84 | 640,891 | 24,315 | 27 yrs | 101,280,794 | PHP |