Open Source

Turn HTML into pixel-perfect screenshots

Openkova converts HTML snippets, uploaded files, or any website URL into pixel-perfect screenshots — PNG, JPEG, WebP, or PDF — powered by Puppeteer and headless Chromium, self-hostable in minutes.

3
Input modes
MIT
License
0
Dependencies on cloud
SSE
Real-time progress

Everything you need to capture HTML

No SaaS subscription. No rate limits. Just open-source tooling that runs wherever you deploy it.

Three input modes

Paste an HTML snippet, upload .html files, or point at any URL — Openkova handles all three.

🌐
Full-site crawling

Automatically discover and screenshot every page of a website, 10 at a time, with configurable crawl depth.

📐
Viewport control

Capture at Mobile (390px), Desktop (1280px), or Wide (1920px) — or enable full-page mode to grab the entire scroll height.

🔒
Self-hostable

Run it on your own infrastructure. No accounts, no API keys, no data sent to third parties.

📦
Session-based gallery

Screenshots are grouped by session and downloadable individually or as a ZIP archive.

🖼️
Multiple output formats

Export as PNG, JPEG, WebP, or PDF — choose per request. PDF uses Chromium's print engine with full CSS support.

💻
CLI

Screenshot URLs, local HTML files, and inline snippets from the terminal or CI/CD pipelines — no web app required. Install via npm.

🤖
MCP server

Give Claude Desktop, Cursor, or Windsurf a screenshot tool. Everything runs on your own machine — no API keys, no external service.

🛠️
Open source & extensible

MIT-licensed core library with a clean adapter interface — swap in S3-compatible storage in minutes.

HTML to Image or PDF

Convert HTML snippets, files, or websites to PNG, JPEG, WebP, or PDF — instantly.

Built in public, for everyone

Openkova is MIT-licensed and actively developed. Star the repo, open an issue, or contribute — all welcome.