html2svg is a Chromium-based renderer that converts web pages and HTML canvas content into vector or bitmap files. It can generate SVG, PDF, PNG, JPEG, and WebP output while using Chromium for accurate browser-style rendering. The command-line interface accepts a URL and allows developers to control viewport dimensions, output format, capture timing, and full-page rendering. An included HTTP server exposes the same conversion capabilities for network-based workflows. Docker images provide a straightforward way to run the tool without compiling its customized Chromium environment locally. The project modifies Chromium and Electron components to support its rendering pipeline. html2svg also served as the original foundation from which the Carbonyl terminal browser evolved.

Features

  • HTML and canvas rendering
  • SVG and PDF vector output
  • PNG, JPEG, and WebP image export
  • Full-page and custom viewport capture
  • Command-line conversion interface
  • Built-in HTTP rendering server

Project Samples

Project Activity

See All Activity >

Categories

HTML/XHTML

Follow html2svg

html2svg Web Site

Other Useful Business Software
Build Agents and Models on One Platform Icon
Build Agents and Models on One Platform

Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of html2svg!

Additional Project Details

Operating Systems

Linux, Mac

Programming Language

TypeScript

Related Categories

TypeScript HTML XHTML

Registered

2026-09-15