---
canonical: 'https://htmlcsstoimage.com/features/url-to-pdf-for-marketing'
title: 'URL to PDF API for Marketing | HTML/CSS to Image'
description: 'Convert public landing pages, campaign reports, articles, and marketing webpages to PDF without rebuilding the layout.'
---

# Convert landing pages and reports to PDF

Create PDF versions of public landing pages, campaign reports, articles, and customer pages without maintaining another layout.

## Key capabilities

- Landing page conversion
- Campaign report PDFs
- Scheduled page archives

## How the URL to PDF API works

Send a public webpage URL to `POST https://hcti.io/v1/image` with `pdf_options`. HTML/CSS to Image (HCTI) loads it in Chromium before generating the PDF. Browser controls cover JavaScript-rendered content, capture timing, color scheme, timezone, and print media. The response includes the generated PDF URL.

The page must be reachable by HCTI. Pages that require a specific source network can use a saved proxy, but a site may still return a login, rate-limit, or browser-challenge page instead of its normal content.

If the content is not available as a public webpage, use the HTML-to-PDF API and send its HTML and CSS instead.

## Control the PDF layout

Set the PDF page width, height, scale, print backgrounds, and each margin in the same API request.

```json
{
  "pdf_options": {
    "page_width": "8.5in",
    "page_height": "11in",
    "margins": ["0.4in", "0.4in", "0.4in", "0.4in"],
    "print_background": true
  }
}
```

PDF output is available on supported plans. Check [pricing](https://htmlcsstoimage.com/pricing.md) for current availability.

## MCP Integration

Connect an MCP-compatible client to `https://mcp.hcti.io` with OAuth. The tools use the connected organization's HTML/CSS to Image account, permissions, and plan limits.

- The `create_url_image` tool accepts a webpage URL with `pdf_options` and returns the generated PDF URL. Include browser timing and print controls for JavaScript-rendered pages.

[Read the full MCP docs](https://docs.htmlcsstoimage.com/integrations/mcp/).

## Reuse marketing pages as PDF files

### Landing page PDFs

Create downloadable versions of published campaign pages for distribution and follow-up.

### Campaign reports

Convert browser-based results and dashboards into PDFs for clients and stakeholders.

### Content downloads

Turn articles and public resources into PDF downloads without maintaining another design.

### Campaign archives

Preserve the final rendered state of public pages for review and historical reference.

## Get started

REST API requests require an HTML/CSS to Image account and should be authenticated from trusted application code. Check the API docs and pricing for current setup instructions, limits, and feature availability.

- [View the full feature page](https://htmlcsstoimage.com/features/url-to-pdf-for-marketing)
- [Browse all features](https://htmlcsstoimage.com/features.md)
- [Start free](https://htmlcsstoimage.com/join)
- [View pricing](https://htmlcsstoimage.com/pricing.md)
- [Read the PDF docs](https://docs.htmlcsstoimage.com/parameters/pdf_options/)
- [Read the MCP docs](https://docs.htmlcsstoimage.com/integrations/mcp/)
