# svg2pdf.js — card for AI agents

Convert SVG to PDF in the browser using jsPDF.

Category: Files, images and media · npm package `svg2pdf.js` · latest version 2.9.0 (checked 2026-11-03)
Install: `npm install svg2pdf.js`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 37.1 (#3473 of all tools, 232 of 281 in its category)
- Downloads last week: 708,112 (as of 2026-11-24), +57.7% over 4 weeks
- GitHub stars: 840 (as of 2026-11-24)
- Last push: 2026-10-29

## Often used with
jsPDF 100.0%, React 100.0%, React Three Fiber 60.0%, react-markdown 60.0%, Sonner 60.0%, Three.js 60.0%

## Checked alternatives (same job)
- html2canvas: https://agentgid.com/tools/html2canvas/agent.md
- pdf-lib: https://agentgid.com/tools/pdf-lib/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/svg2pdf-js/
- Homepage: https://github.com/yWorks/svg2pdf.js#readme
- Repository: https://github.com/yWorks/svg2pdf.js

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
