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
Go from Code to Production URL in Seconds Icon
Go from Code to Production URL in Seconds

Cloud Run deploys apps in any language instantly. Scales to zero. Pay only when code runs.

Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
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

4 hours ago