Description
SnapDOM is a browser capture engine that turns the rendered HTML of a web interface into an image, a canvas, or other outputs. You capture an element, component, report or dashboard as it currently looks, including its styles, fonts, images, layout and control values, and the capture reflects the live DOM rather than a screenshot. The core can save PNG, JPEG and WebP images, or a canvas, which can be used as a WebGL texture. Plugins add more outputs: PDF documents with text, links and page breaks, self-contained HTML snapshots that reopen without your app, GIF and MP4 or WebM recordings of a live element, text or JSON descriptions and annotated images for AI agents, and SVG or Figma output from captured text and shapes. The engine has no dependencies and is MIT licensed. You can install it from npm or load it from a CDN. The site has documentation, recipes and framework guides, a comparison with html2canvas, and a showcase of live demos and plugins. It is listed on the site as a project used in production by several other projects.…
Highlights
- Captures rendered HTML in the browser
- PNG, JPEG, WebP and canvas output
- PDF, HTML, GIF and video plugins
- Context for AI agents
- Zero core dependencies
Ratings & Reviews
No ratings yet
Be the first to rate Snapdom.
People also visit
Snapdom FAQ
What does SnapDOM capture?
The rendered HTML of an element, with its styles, fonts, images, layout and control values.
Is it a screenshot?
The site says it captures the live DOM rather than taking a screenshot.
Which outputs need a plugin?
PDF, HTML snapshots, GIF and video, text and JSON context, and SVG or Figma output are plugins. Images and canvas are in the core.
How do I install it?
Use npm install @zumer/snapdom, or load it from a CDN.
What license is it under?
MIT, and the site says the core has zero dependencies.
How does it compare with html2canvas?
The site has a comparison page for SnapDOM against html2canvas and other tools.
What are the best Snapdom alternatives?
Popular alternatives to Snapdom include SnapCanvas - screenshot app, PhantomJsCloud and Tokokino. See all Snapdom alternatives









