Home / Technologies / DOMPurify vs PDF.js
DOMPurify vs PDF.js: who uses which
DOMPurify is on more sites: 421,276 against 13,048 for PDF.js, about 32.3 times as many. Here's how they compare across the websites we've indexed, and where each one does best.
Where each one is used
| Domain | DOMPurify | PDF.js |
|---|---|---|
| .com on .com | 177,784 | 4,907 |
| .de in Germany | 31,391 | 828 |
| .org on .org | 17,331 | 875 |
| .jp in Japan | 13,388 | 217 |
| .fr in France | 13,168 | 384 |
| .uk in the UK | 11,115 | 211 |
| .pl in Poland | 9,257 | 148 |
| .au in Australia | 9,282 | 118 |
428 sites run both at once.
Questions
Which is more popular, DOMPurify or PDF.js?
DOMPurify is on more sites: 421,276 against 13,048 for PDF.js, about 32.3 times as many, across the sites StackGrep has indexed.
Do sites use DOMPurify and PDF.js together?
428 sites load both. That's often a switch in progress, or two teams picking different tools.
Want the whole list?
Sign up to download every site using DOMPurify or PDF.js as a spreadsheet and see new ones as they appear. 200 free credits to start. No card needed.