10 Best JavaScript HTML-to-Image Libraries

List hand-picked by Openbase Experts
Learn More

hti

html-to-image

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.7/ 5
3
Top Feedback
1Great Documentation
1Easy to Use
1Performant
GitHub Stars
2K
Weekly Downloads
86K
Last Commit
2mos ago
dti

dom-to-image

Generates an image from a DOM node using HTML5 canvas

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
4
Top Feedback
2Great Documentation
1Easy to Use
1Performant
GitHub Stars
8K
Weekly Downloads
104K
Last Commit
5yrs ago
bli

blueimp-load-image

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.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
4K
Weekly Downloads
254K
Last Commit
3mos ago
nht

node-html-to-image

A Node.js module that generates images from HTML

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
475
Weekly Downloads
12K
Last Commit
7mos ago
sha

save-html-as-image

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

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
13
Weekly Downloads
330
Last Commit
4mos ago
wkh

wkhtmltoimage

A wrapper for the wkhtmltoimage HTML to Image converter using WebKit

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
17
Weekly Downloads
7K
Last Commit
5yrs ago
htm

html2image

convert html to image/pdf by phantomjs

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
9
Weekly Downloads
10
Last Commit
4yrs ago
het

html-element-to-image

📷 Capture an image of any given HTML element.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
11
Weekly Downloads
7
Last Commit
2yrs ago
htm

html2img

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

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
7
Weekly Downloads
4
Last Commit
5yrs ago

imagely

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
17
Weekly Downloads
2
Last Commit
3yrs ago