Documentation

HTML to Image API Documentation

Overview

The HTML to Image API renders web pages and HTML documents as PNG, JPEG, WebP, or GIF images. Supply a URL, upload an HTML file, or send an HTML string.

Rendering runs on PDFCrowd’s servers, with options for the capture area, viewport, image dimensions, and output format.

HTML to Image API product overview

Guides, Examples, and Reference

Choose HTTP, an official SDK, or the command line. Start with the guide for setup and your first conversion. Examples cover specific tasks; the reference describes methods, parameters, and accepted values.

Shared Resources

Client Libraries
Installation guides for official PDFCrowd client libraries.
Playground
Try the HTML to Image API in a browser.
JavaScript Library
Use the HTML conversion API directly from a browser.
Template Rendering
Render HTML templates with structured data.
Method Index
Find methods and parameters for this converter.
Status Codes
Understand HTTP status and PDFCrowd reason codes.
Versioning
Review API and converter version compatibility.