Home / Technologies / CodeMirror vs DOMPurify
CodeMirror vs DOMPurify: who uses which
DOMPurify is on more sites: 421,276 against 6,350 for CodeMirror, about 66.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 | CodeMirror | DOMPurify |
|---|---|---|
| .com on .com | 2,604 | 177,784 |
| .de in Germany | 240 | 31,391 |
| .org on .org | 643 | 17,331 |
| .jp in Japan | 26 | 13,388 |
| .fr in France | 94 | 13,168 |
| .uk in the UK | 92 | 11,115 |
| .au in Australia | 53 | 9,282 |
| .pl in Poland | 47 | 9,257 |
100 sites run both at once.
Questions
Which is more popular, CodeMirror or DOMPurify?
DOMPurify is on more sites: 421,276 against 6,350 for CodeMirror, about 66.3 times as many, across the sites StackGrep has indexed.
Do sites use CodeMirror and DOMPurify together?
100 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 CodeMirror or DOMPurify as a spreadsheet and see new ones as they appear. 200 free credits to start. No card needed.