8 Best Vanilla JavaScript HTML-to-Image Libraries

List hand-picked by Openbase Experts
Learn More

dti

Generates an image from a DOM node using HTML5 canvas

177K
9.2K
DefinitelyTyped
MIT
hti

✂️ Generates an image from a DOM node using HTML5 canvas and SVG.

286K
3.6K
Built-in
MIT
bli

Load images provided as File or Blob objects or via URL. Retrieve an optionally scaled, cropped or rotated HTML img or canvas element. Use methods to parse image metadata to extract IPTC and Exif tags as well as embedded thumbnail images, to overwrite the Exif Orientation value and to restore the complete image header after resizing.

231K
4.3K
DefinitelyTyped
MIT
sha

Download the HTML (DOM) to Image (JPG, PNG)

491
25
No support
ISC
htm

convert html to image/pdf by phantomjs

48
10
No support
MIT
het

📷 Capture an image of any given HTML element.

32
11
Built-in
MIT
imagely

Convert any HTML, SVG, or JS to an image.

15
19
No support
MIT
htm

select a html node to convert to an image with all styles

14
7
No support
ISC
Description
Author
License
Type Definitions
ESM Support
Tree Shakeable
Popularity
Downloads/wk
GitHub Stars
Reviews
User Rating
Voted Good Docs
Voted Easy of Use
Voted Performant
Top Positive Review
Top Negative Review
Issues
Total Issues
Open Issues
Avg Time to Close
Pull Requests
Total Pull Requests
Open Pull Requests
Avg Time to Merge
Community
Maintainers
Contributors
Contributors with 3+ commits
Top Committers
GitHub Forks
Versions
# of Versions
Latest
Next
Beta
Newest
Oldest
Major Every
Minor Every
Patch Every
Dependencies
Dependencies
Dev Dependencies
Links
More Info
README
Tutorials
Install Command
There's Nothing Here
No packages are selected.
Select a few packages to compare.