# Satori: 7.3 out of 10

A strong pick. 3rd of 9 in [Image processing libraries](https://elestia.ai/opensource/images/index.md).

Satori is Vercel's library that turns JSX or HTML with CSS into SVG. It is the standard engine for dynamic Open Graph and social card images, and it is the engine behind @vercel/og. It is a strong, well-maintained pick for that narrow job. It supports only a flexbox-based subset of CSS. Rust-based Takumi is now a faster rival with wider CSS support.

**Best for:** Teams that generate link-preview or social card images from JSX on servers or edge runtimes without a headless browser.

## Scores

- **Overall: 7.3** (likely 6.3 to 8.3)
  - Claude Opus 5.5 (7.0): It is the established, Vercel-backed choice for drawing social card images from JSX without a browser, and it is actively maintained. It is not a general image tool. Pair it with sharp or resvg for raster output and resizing. Its CSS gaps and the faster Takumi engine keep it from a higher score.
  - GPT-6.2 Sol (7.6): Satori is a strong pick for a new project that needs SVG cards from templates, especially on runtimes where launching a browser is impractical. Active maintenance and framework integration support that choice, while font setup, CSS differences, and the extra PNG step limit it. Sharp is the better general-purpose choice for resizing and converting existing raster images. The range reflects how much the recommendation depends on template complexity and whether the final output is SVG or PNG.
- **Needed by many: 3.9** (likely 2.8 to 5.0)
  - Claude Opus 5.5 (4.0): Many web apps want dynamic social card images, but that is a narrow slice of the image processing job. Satori does not resize or convert images. It only draws layouts to SVG. It does reach beyond one framework through wrappers for many of them.
  - GPT-6.2 Sol (3.7): Generating social cards and other template-based graphics is a clear niche within image processing. Satori runs in browsers, Node.js, and workers, with framework integrations that broaden its audience. Framework surveys give context for that audience, while demand for dynamic images is harder to measure directly.
- **Helps a lot: 7.2** (likely 6.1 to 8.2)
  - Claude Opus 5.5 (6.5): It does its core job well: it lays out flexbox JSX with custom fonts and emoji into clean SVG, with no browser. Its CSS support is partial, with no grid, calc or z-index. Fonts and weights must be registered by hand, and PNG output needs another library. Takumi claims 2–10x more speed and fuller CSS, and Nuxt now recommends it.
  - GPT-6.2 Sol (7.8): Version 0.63.2 combines Grid and Flexbox with custom fonts, typed inputs, and detailed CSS examples that help developers and coding agents write templates. An outside benchmark measured fast SVG layout, with PNG rasterization accounting for most of the time. Browser rendering differences and explicit font fallback still take work, especially for multilingual cards. The benchmark covered six templates on one machine, so performance across runtimes remains uncertain.
- **Holds up over time: 7.6** (likely 6.4 to 8.6)
  - Claude Opus 5.5 (7.5): Vercel owns it and @vercel/og depends on it. It had 145 commits and 86 releases in the last year, the latest a month ago. It is still at version 0.x, with 104 open issues and 65 open pull requests. Takumi is a credible rival that some frameworks are moving to.
  - GPT-6.2 Sol (7.6): Vercel maintains Satori, and 145 commits and 86 releases in a year show active development. Maintainers fixed reported HarfBuzz bundling and WOFF regressions within weeks, though both caused upgrade friction. Next.js integration supports continued maintenance, while Nuxt's preference for Takumi and limited visibility into long-term staffing widen the range.
- **Used widely: 5.6** (likely 4.3 to 6.9)
  - Claude Opus 5.5 (6.5): Downloads grew from 1.7M to 30.8M per four weeks, a ratio near 17.7 against a median of 4.1. resvg-js grew the same way at the same time, so much of the jump likely comes from another package that installs both. Next.js apps use it through a bundled @vercel/og copy, which npm does not count. Its 2,614 dependent repos are a moderate number for a niche tool.
  - GPT-6.2 Sol (4.6): Four-week npm downloads rose from 1.74 million to 30.78 million, about 17.7 times year over year against the catalog median of 4.1. That suggests momentum, with automated and indirect installs making it hard to estimate how many new projects actively chose Satori. Ecosyste.ms found 2,614 dependent repositories and 49 packages, well below sharp and node-canvas in repository count. The 14,209 stars and 20 Bluesky posts show interest, while partial repository coverage and bundled framework use leave direct adoption uncertain.
- **Vouched for: 7.1** (likely 6.0 to 8.2)
  - Claude Opus 5.5 (7.0): Vercel runs it in production as @vercel/og, which Next.js documents for OG images. Nuxt, SvelteKit and Astro tools build on it, and users on Bluesky praise that it needs no browser. Independent benchmarks are scarce. Nuxt OG Image now recommends a rival as its first choice.
  - GPT-6.2 Sol (7.1): Next.js uses Satori for ImageResponse, and Daleely documents using it to generate cards in production on Cloudflare Workers. Nuxt OG Image still supports it and prefers Takumi for new templates. An outside benchmark confirms that common layouts work well and shows limits in rendering and PNG throughput. The available survey evidence covers frameworks, leaving Satori-specific satisfaction and retention uncertain.
- **Safe: 7.3** (likely 6.1 to 8.4)
  - Claude Opus 5.5 (7.0): It has one moderate advisory: improper escaping in the SVG output, CVE-2026-94545, fixed in 0.33.5. Current versions are well past that fix. It pulls in 12 dependencies, and there is no Scorecard data. Its MPL-2.0 licence is weak, file-level copyleft that allows commercial use, but changes to Satori's own files must be shared.
  - GPT-6.2 Sol (7.5): The sole recorded advisory concerns moderate SVG escaping and was patched in 0.33.5 on the day the maintainer advisory appeared. GitHub Actions uses npm trusted publishing, though some actions are pinned only to major versions. MPL-2.0 permits commercial use and applies file-level copyleft when distributing covered code. Twelve direct dependencies, the missing OpenSSF Scorecard, and uncertainty about who can authorize a release widen the range.

## Good

- It renders JSX or HTML and CSS to SVG in pure JS/WASM, with no headless browser, so it runs on edge and serverless platforms.
- It is backed by Vercel and powers @vercel/og, with wrappers for Next.js, Nuxt, SvelteKit, Astro and Hono.
- It ships very often: 86 releases and 145 commits in the last year, with built-in TypeScript types.
- It handles custom fonts, emoji, line clamping and Tailwind-style props well enough for most card templates.

## Bad

- It supports only a subset of CSS: no grid, calc, z-index, media queries or 3D transforms, so layouts need workarounds.
- It outputs only SVG, so most users need a second step with resvg or sharp to get PNG.
- It does not resize or convert images at all, so it covers only the drawing part of the category's job.
- It is still pre-1.0 with frequent releases, and Nuxt OG Image now recommends the faster Takumi renderer instead.

## The numbers

- Downloads, 4 weeks: 31M
- In a year: ×18
- GitHub stars: 14k
- Commits, 12 months: 145
- Last npm release: Oct 2026
- Advisories, 24 months: 1
- Licence: MPL-2.0
- GitHub: https://github.com/vercel/satori
- npm: https://www.npmjs.com/package/satori

It turns HTML and CSS into an SVG image, often for link previews.

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
