Skip to content
html2canvas

Self-hosted alternatives to html2canvas

No self-hosted apps like html2canvas yet.

About html2canvas

H

html2canvas

Take screenshots of any part of your web page using Javascript

html2canvas is a JavaScript library that takes screenshots of a web page, or part of one, directly in the user's browser. It does not capture the screen. Instead it reads the DOM and the styles applied to each element and draws the result onto a canvas, so the output is built from the page's information rather than a true capture. The project says that this means the image may not match the real rendering in every detail. Because the image is built on the client, no rendering happens on the server, but the library depends heavily on the browser, and the README notes that browser compatibility is limited. It is useful for features such as saving a view of a dashboard, creating a shareable image of a part of a page, or generating a preview on the client. The project provides a homepage with downloads, a list of questions, and a browser compatibility section, and its source is on GitHub under niklasvh.

Made by
niklasvh
Category
UI Libraries
Website
github.com/niklasvh/html2canvas