html-to-image alternatives
8 packages that do the same job as html-to-image: dom-to-image, canvg, node-vibrant, wmf, vega-canvas, zrender, panzoom, satori. Figures below are from npm, GitHub and Bundlephobia.
| Package | Weekly downloads | 12-month change | Gzip | Dependencies | Last release | Module | Types | Runtimes |
|---|---|---|---|---|---|---|---|---|
| html-to-image This package | 4.8m | +421% | - | 0 | 1 year ago | ESM + CommonJS | Bundled | - |
| dom-to-image | 227.9k | +17% | - | 0 | 8 years ago | CommonJS | None | - |
| canvg | 9.7m | +261% | - | 5 | 1 year ago | ESM + CommonJS | Bundled | - |
| node-vibrant | 552.1k | +528% | - | 6 | 7 months ago | ESM + CommonJS | Bundled | - |
| wmf | 9.4m | +210% | - | 0 | 6 years ago | CommonJS | Bundled | - |
| vega-canvas | 670.9k | +230% | - | 0 | 1 year ago | ESM only | None | - |
| zrender | 3.7m | +237% | - | 1 | 4 months ago | ESM + CommonJS | Bundled | - |
| panzoom | 107.7k | +55% | - | 3 | 6 months ago | CommonJS | Bundled | - |
| satori | 2.7m | +628% | - | 13 | 2 days ago | ESM + CommonJS | Bundled | - |
12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package (Bundlephobia). Runtimes are taken from each package's own documentation; "-" means not recorded.
Generates an image from a DOM node using HTML5 canvas and SVG
Compared with html-to-image
- 21x fewer weekly downloads (227.9k vs 4.8m)
- CommonJS vs ESM + CommonJS
- No types vs bundled types
- Last release 4 Oct 2017 vs 14 Feb 2025
- 1.5x more GitHub stars (10.8k vs 7.2k)
JavaScript SVG parser and renderer on Canvas.
Compared with html-to-image
- 2.0x more weekly downloads (9.7m vs 4.8m)
- 5 dependencies vs 0
- Declares Node.js >=12.0.0 vs none declared
- Last release 12 Mar 2025 vs 14 Feb 2025
- 1.9x fewer GitHub stars (3.8k vs 7.2k)
Extract prominent colors from an image. Supports both node and browser environment.
Compared with html-to-image
- 8.7x fewer weekly downloads (552.1k vs 4.8m)
- 6 dependencies vs 0
- Last release 27 Jan 2026 vs 14 Feb 2025
- 3.0x fewer GitHub stars (2.5k vs 7.2k)
Windows MetaFile (WMF) parser
Compared with html-to-image
- 2.0x more weekly downloads (9.4m vs 4.8m)
- CommonJS vs ESM + CommonJS
- Declares Node.js >=0.8 vs none declared
- Last release 16 Mar 2020 vs 14 Feb 2025
- 426x fewer GitHub stars (17 vs 7.2k)
Canvas and Image utilities.
Compared with html-to-image
- 7.1x fewer weekly downloads (670.9k vs 4.8m)
- ESM only vs ESM + CommonJS
- No types vs bundled types
- Last release 27 Mar 2025 vs 14 Feb 2025
- 1.7x more GitHub stars (12k vs 7.2k)
A lightweight graphic library providing 2d draw for Apache ECharts
Compared with html-to-image
- 1.3x fewer weekly downloads (3.7m vs 4.8m)
- 1 dependency vs 0
- Last release 4 May 2026 vs 14 Feb 2025
- 1.1x fewer GitHub stars (6.3k vs 7.2k)
Extensible, mobile friendly pan and zoom framework (supports DOM and SVG).
Compared with html-to-image
- 44x fewer weekly downloads (107.7k vs 4.8m)
- 3 dependencies vs 0
- CommonJS vs ESM + CommonJS
- Last release 26 Mar 2026 vs 14 Feb 2025
- 3.6x fewer GitHub stars (2k vs 7.2k)
Enlightened library to convert HTML and CSS to SVG.
Compared with html-to-image
- 1.8x fewer weekly downloads (2.7m vs 4.8m)
- 13 dependencies vs 0
- Declares Node.js >=16 vs none declared
- Last release 22 Sept 2026 vs 14 Feb 2025
- 1.9x more GitHub stars (14k vs 7.2k)
Indexability: Indexed.