Skip to content
html2canvas

Open source alternatives to html2canvas

200 open source apps like html2canvas, closest match first.

Top picks

  1. S

    Snapdom

    Launch

    SnapDOM is a browser capture engine that turns the rendered HTML of a web interface into an image, a canvas, or other outputs. You capture an element, component, report or dashboard as it currently looks, including its styles, fonts, images

    FreeOpen source

  2. B

    browserless.js.org

    Launch

    Browserless is a Node.js library that drives headless Chrome or Chromium from code, built on top of Puppeteer. You create a browser factory, then open browser contexts that behave like separate tabs with their own cookies and caches. From t

    FreeOpen source

  3. T

    Takumi

    Launch

    Takumi renders JSX, HTML and CSS components into images, animations, SVG, paged PDFs and paint data, without a browser. The rendering engine is written in Rust and compiled to WebAssembly, so it runs as a library. Layout uses flexbox and gr

    FreeOpen source

  4. A

    Awesome Screenshot & Screen Recorder

    Launch

    Capture your screen with Awesome Screenshot & Screen Recorder, a powerful tool for screen sharing. Save screen recordings & screenshots to awesomescreenshot.com and share your videos and images instantly with unique shareable links. The pop

    FreeOpen source

  5. S

    ScreenshotOne

    Launch

    Turn websites into screenshots via API - ScreenshotOne is a scalable and performant platform for rendering websites, HTML, or Markdown in any image format,...

    FreeOpen source

  6. S

    Svg2pdf.js

    Launch

    A javascript-only SVG to PDF conversion utility that runs in the browser. Brought to you by yWorks - the diagramming experts

    FreeOpen source

More like html2canvas

7
S

Screenshot Studio

Frames screenshots inside realistic 3D mockups

Launch
8
S

Sone

A layout engine for image generation in JavaScript

Launch
9
U

URL-to-PNG

URL to PNG generator over HTTP

Launch
10
S

ScreenCapture

A feature-rich screen capture software with just a single executable file

Launch
11
S

server-dom-shim

A simple shim for the server-side DOM API

Launch
12
P

Paper.js

Open source vector graphics scripting framework

Launch
13
S

Screenshot.Rocks

Free online tool for beautiful screenshots

Launch
14
B

Broz

A simple, frameless browser for screenshots

Launch
15
U

URL-to-PNG

URL to PNG utility featuring parallel rendering

Launch
16
S

Signature Pad

HTML5 canvas based smooth signature drawing

Launch
17
N

Node Pureimage

Pure JS implementation of the HTML Canvas 2D drawing API

Launch
18
C

Chromeless

The browser that isn't there — zero-chrome macOS browser for clean…

Launch
19
A

AutoScreenshot

Automatic screenshot maker for Windows and Linux

Launch
20
L

Lost Pixel

Holistic Visual Regression Testing cloud

Launch
21
G

Gowitness

A golang, web screenshot utility using Chrome Headless

Launch
22
M

Moocup

Visual editor for stunning screenshots

Launch
23
T

Tokokino

In-browser editor for device framing and mockups

Launch
24
J

Jsoup

The Java HTML parser, built for HTML editing, cleaning, scraping

Launch
25
R

Recorder

Open-source web app to record screen

Launch
26
H

Happy Dom

A JavaScript implementation of a web browser without its graphical user

Launch
27
B

BetterShot

Screen recorder featuring cursor zoom and captions

Launch
28
B

BackstopJS

Catch CSS curve balls

Launch
29
T

Two.js

A renderer agnostic two-dimensional drawing api for the web

Launch
30
Z

zoom-image

A little yet powerful framework agnostic headless library

Launch
31
I

Image-to-Text-OCR

Image to Text is a web tool to extract text from any image using OCR

Launch
32
C

Canvas UI

GPU-accelerated liquid physics and canvas shaders

Launch
33
D

Diva.js

IIIF-compatible document image viewer

Launch
34
S

SVG To PNG

Convert SVGs to PNGs right in your browser, reliably and correctly

Launch
35
D

d3-node

Server-side D3 with ease

Launch
36
M

mischief-ui

A playful, high-utility shadcn registry: PDF, DOCX and JSON viewers

Launch
37
P

PhearJS

Render dynamic Javascript pages to JSON with PhantomJS

Launch
38
P

Puppeteer

JavaScript API for Chrome and Firefox

Launch
39
E

Epub.js

Enhanced eBooks in the browser

Launch
40
K

Kaleido

Fast static image export for web-based visualization libraries

Launch
41
C

capcap

Native menu bar screenshot tool

Launch
42
D

DGM.js

An infinite canvas with smart shapes

Launch
43
P

Photoswipe

Open-source JavaScript image gallery and lightbox

Launch
44
P

PDF-LIB

Create and modify PDF documents in any JavaScript environment

Launch
45
R

react-canvas-draw

A simple yet powerful canvas-drawing component for React

Launch
46
O

One Agent One Browser

One from scratch browser built by one human and one agent, working hand in hand

Launch
47
O

Odd Snap

Your new favorite, free, and open source screenshot tool

Launch
48
F

Flameshot

Powerful yet simple to use screenshot software

Launch
49
L

loadersz

Framework-agnostic, dependency-free Canvas loaders for the browser

Launch
50
S

Stage.js

2D HTML5 rendering and layout engine for game development

Launch

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