html2canvas
This library allows web pages or certain HTML elements to be visualized on the browser by reading the DOM structure and the CSS styles applied. It runs entirely on the client side without the need for any processing on the server side. The project is in the experimental stage, and some CSS features are not yet supported.
niklasvh · Graphic Design & Vector
Common commercial products in this category: Adobe Photoshop, Adobe Illustrator, Canva
- You take a screenshot of the entire web page or a specific part of it on the browser.
- You convert DOM elements into a canvas image within the browser.
- You include cross-origin content in the visualization process using a proxy.
- • Last update 2 years ago
- • High number of open issues (1,055)
- • NeutralHacker News
Benchmark: snapDOM vs html2canvas
“Yes, the default capture output is a svg dataurl. But there many other export options. This lib was made as an internal tool for another project called Zumly that is zoomable engine and the svg format was the faster output I found. But then I realized that could be an…”
- • NeutralHacker News
Benchmark: snapDOM vs html2canvas
“For the 1st example, snapdom is not only faster, but actually correct, while html2canvas has some artifacts (on Linux/Firefox)”
Verified against README · Oct 26, 2026 · source
My note
Alternative pages
More in: Graphic Design & Vector
- PixiJS★ 48,602 · today
- Fabric.js★ 31,531 · today
- Rough.js★ 21,333 · 2 yr ago
- Signature Pad★ 12,076 · 2 days ago
- vectorcraft★ 11,082 · today
- Pixelorama★ 10,896 · 3 days ago