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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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

5 hours ago