Install
html2canvas
Screenshots with JavaScript
1.4.1Latest, 22 Jan 2022
114MDownloads, last month
0Advisories on the latest
0Advisories, all versions
MITLicence
32KStars
2.7/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
In the news
- Why html2canvas Makes Blurry PDF Invoices (And How to Render 19 KB Vector PDFs in 200ms with WeasyPrint) dev.to, 24 Nov 2026
- Sending an invoice PDF to WhatsApp from a web app (Web Share API, html2canvas, jsPDF) dev.to, 21 Nov 2026
- Exporting Crisp 1080x1920 Story PNGs & Unbiased 78-Card Shuffles in Vanilla JS (Skip html2canvas) dev.to, 17 Nov 2026
- Fix html2canvas 'Attempting to parse an unsupported color function "oklch"' (Tailwind CSS v4) dev.to, 15 Nov 2026
- I Tested html2canvas, html-to-image and modern-screenshot on the Same Card dev.to, 1 Nov 2026
On Hacker News
- Html2canvas - Webpages Screenshots with JavaScript 120 points, 28 comments, 27 Jul 2011
- Benchmark: snapDOM vs html2canvas 47 points, 16 comments, 18 Jun 2025
- HTML2Canvas 38 points, 7 comments, 10 Mar 2012
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.