Skip to content
Alternivo
Sign in
SnapDOM logo

SnapDOM

Developer Tools

SnapDOM is an open-source, zero-dependency JavaScript library that captures a DOM element in the browser and exports it as PNG, JPEG, WebP, SVG or canvas.

Open sourceMIT LicenseWeb Verified

SnapDOM
SnapDOM

About SnapDOM

SnapDOM captures a rendered DOM element, including its styles, images and fonts, and exports it as an image or canvas with a single call such as snapdom.toPng(element). It installs from npm as @zumer/snapdom or loads from a CDN, and it is MIT licensed.

Official plugins add searchable paginated PDF output, editable SVG and Figma clipboard export, self-contained HTML snapshots, and GIF, MP4 or WebM recording of a live element. The project publishes a live benchmark against html2canvas and similar libraries, and a Chrome extension called SnapStudio builds on it.

Key features of SnapDOM

Image and canvas export
PNG, JPEG, WebP, canvas or Blob from any element.
PDF plugin
Searchable, paginated PDFs with selectable text and links.
Vector plugin
Editable SVG or a copy to the Figma clipboard.
HTML snapshots
A self-contained HTML file with styles and resources.
GIF and video
Record a live element as GIF, MP4 or WebM.
Plugin hooks
Write your own output formats.

What SnapDOM is used for

  • Saving charts or dashboards as images
  • Generating invoices or reports as PDF in the browser
  • Sharing UI components as images

Who it suits

  • Front-end developers
  • Product teams building export features

SnapDOM pros and cons

Strengths

  • Open source under MIT
  • No dependencies
  • Public benchmark against html2canvas

Limitations

  • Runs in the browser, so it needs a JavaScript environment

Editorial summary based on the product's official information.

Alternatives to SnapDOM

The closest matches by category, features and platforms.

No alternatives have been mapped for SnapDOM yet.

Frequently asked questions about SnapDOM

Is SnapDOM free?

Yes, it is MIT licensed.

How do I install it?

npm i @zumer/snapdom, or load it from a CDN.

Can it make PDFs?

Yes, through the official PDF plugin.

What platforms does SnapDOM support?

SnapDOM is available on Web.

Is SnapDOM open source?

Yes. SnapDOM is open source under the MIT License license.

What kind of software is SnapDOM?

SnapDOM is listed under Developer Tools. SnapDOM is an open-source, zero-dependency JavaScript library that captures a DOM element in the browser and exports it as PNG, JPEG, WebP, SVG or canvas.

Reviews

Used SnapDOM? Share what worked and what didn't to help others decide.

Similar software

  • Flagsmith logo

    Flagsmith

    Open source feature flag and remote config service for rolling out, segmenting and A/B testing features across web, mobile and server apps, self-hosted or in the cloud.

  • Knock logo

    Knock

    Knock is a customer messaging infrastructure platform that sends product, marketing and transactional messages across email, in-app, push, SMS and chat from one set of workflows.

  • Novu logo

    Novu

    Novu is an open-source notification and agent communication platform for sending product notifications and connecting AI agents to users across many channels.

  • OpenFeature logo

    OpenFeature

    OpenFeature is a CNCF open specification and set of SDKs that give feature flag code one vendor-neutral API, so flag tools can be swapped without refactoring.

  • Unleash logo

    Unleash

    Unleash is an enterprise feature management platform for feature flags, progressive rollouts and kill switches, available as a cloud service or self-hosted.

  • LaunchDarkly logo

    LaunchDarkly

    Runtime control platform for feature flags, progressive delivery, experimentation and AI agent control, with automated rollback and monitoring in production.