{
 "kind": "tool",
 "slug": "html-to-image",
 "path": "tools/html-to-image/",
 "name": "html-to-image",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Files, images and media",
   "tools/files-media/"
  ]
 ],
 "lead": "Convert DOM elements to images using canvas and SVG with client-side rendering.",
 "chips": [
  {
   "label": "Files, images and media",
   "path": "tools/files-media/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install html-to-image"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/bubkoo/html-to-image"
  },
  {
   "label": "Website",
   "href": "https://github.com/bubkoo/html-to-image#readme"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/bubkoo/html-to-image"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 24, 2026",
   "note": "Latest GitHub release Feb 14, 2025. ",
   "src": "https://github.com/bubkoo/html-to-image"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "37 projects",
   "status": "info",
   "sub": "#23 of 281 in its category",
   "note": "Dependency in 37 public GitHub projects set up for AI coding agents that we scanned (0.6%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What html-to-image does",
   "parts": [
    {
     "t": "prose",
     "text": "Convert DOM elements to images using canvas and SVG with client-side rendering."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "html-to-image popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "67",
       "of": "/ 100",
       "l": "Gid Score, #528 overall"
      },
      {
       "n": "13.6M",
       "l": "downloads a week, npm"
      },
      {
       "n": "7,274",
       "l": "GitHub stars"
      },
      {
       "n": "37",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How html-to-image is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "html-to-image is a dependency in 37 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.8% of the 4,867 JavaScript/TypeScript ones), #23 of 281 in files, images and media.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 107; those are left out of every share on this page.",
      "The most used alternative in our scan is jsPDF (132 projects).",
      "Projects that use it most often also use Lucide React (78.4%), React (91.9%), Recharts (62.2%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "25 projects, 0.8%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "17 projects, 0.6%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "15 projects, 0.6%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "6 projects, 1.3%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 78.4% of its projects",
       "v": "Lucide React",
       "path": "tools/lucide-react/"
      },
      {
       "l": "In 91.9% of its projects",
       "v": "React",
       "path": "tools/react/"
      },
      {
       "l": "In 62.2% of its projects",
       "v": "Recharts",
       "path": "tools/recharts/"
      },
      {
       "l": "In 59.5% of its projects",
       "v": "date-fns",
       "path": "tools/date-fns/"
      },
      {
       "l": "In 67.6% of its projects",
       "v": "clsx",
       "path": "tools/clsx/"
      },
      {
       "l": "In 86.5% of its projects",
       "v": "Tailwind CSS",
       "path": "tools/tailwindcss/"
      },
      {
       "l": "In 64.9% of its projects",
       "v": "Tailwind Merge",
       "path": "tools/tailwind-merge/"
      },
      {
       "l": "In 54.1% of its projects",
       "v": "Framer Motion",
       "path": "tools/framer-motion/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about html-to-image",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Files, images and media",
       "path": "tools/files-media/",
       "items": [
        {
         "text": "Sharp",
         "path": "tools/sharp/"
        },
        {
         "text": "Pillow",
         "path": "tools/pillow/"
        },
        {
         "text": "Nodemailer",
         "path": "tools/nodemailer/"
        },
        {
         "text": "SheetJS",
         "path": "tools/xlsx/"
        },
        {
         "text": "qrcode (JavaScript)",
         "path": "tools/qrcode-npm/"
        },
        {
         "text": "JSZip",
         "path": "tools/jszip/"
        },
        {
         "text": "PDF.js",
         "path": "tools/pdfjs-dist/"
        },
        {
         "text": "openpyxl",
         "path": "tools/openpyxl/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "html-to-image",
       "me": true,
       "facts": [
        "MIT",
        "Gid 67",
        "13.6M/wk"
       ]
      },
      {
       "name": "jsPDF",
       "why": "Generate PDF documents directly from JavaScript in browsers and Node.js.",
       "path": "tools/jspdf/",
       "facts": [
        "MIT",
        "Gid 79",
        "22.2M/wk"
       ]
      },
      {
       "name": "html2canvas",
       "why": "JavaScript library for taking screenshots of web pages and rendering HTML to canvas.",
       "path": "tools/html2canvas/",
       "facts": [
        "MIT",
        "Gid 79",
        "26.6M/wk"
       ]
      }
     ],
     "more": "Compare html-to-image with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install html-to-image"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for html-to-image yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm html-to-image"
  ],
  [
   "Category",
   "Files, images and media"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "67.3"
  ],
  [
   "Rank in category",
   "#23 of 281"
  ],
  [
   "GitHub",
   "bubkoo/html-to-image"
  ],
  [
   "Last change",
   "Nov 24, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/bubkoo.png"
}