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
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
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